UrbanPro
true

Learn Web Designing from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

HTML5 Style Guide And Coding Conventions Part 2

Vikas
29/12/2016 0 0

Use Lower Case Element Names

HTML5 allows mixing uppercase and lowercase letters in element names.

We recommend using lowercase element names because:

  • Mixing uppercase and lowercase names is bad
  • Developers normally use lowercase names (as in XHTML)
  • Lowercase look cleaner
  • Lowercase are easier to write

Bad:

<SECTION>
  <p>This is a paragraph.</p>
</SECTION>

Very Bad:

<Section>
  <p>This is a paragraph.</p>
</SECTION>

Good:

<section>
  <p>This is a paragraph.</p>
</section>
0 Dislike
Follow 0

Please Enter a comment

Submit

Other Lessons for You

HTML5 Style Guide And Coding Conventions Part 3
Close All HTML Elements In HTML5, you don't have to close all elements (for example the <p> element). We recommend closing all HTML elements. Bad: <section> <p>This is a paragraph....

Some differences between HTML and DHTML
HTML is a mark-up language, while DHTML is a collection of technology. DHTML creates dynamic web pages, whereas HTML creates static web pages. DHTML allows including small animations and dynamic menus...

What is HTML5?
HTML5 will be the new standard for HTML. The previous version of HTML, HTML 4.01, came in 1999. The web has changed a lot since then. HTML5 is still a work in progress. However, the major browsers support...

HTML5 Style Guide and Coding Conventions Part 1
HTML Coding Conventions Web developers are often uncertain about the coding style and syntax to use in HTML. Between 2000 and 2010, many web developers converted from HTML to XHTML. With XHTML, developers...

15 Web Design Trends for 2013 from David King
Here’s one of my presentations for Computers in Libraries 2013 – great conference! I’m posting this one separately, since there’s some good stuff here. I poked around in Google,...
X

Looking for Web Designing Classes?

The best tutors for Web Designing Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn Web Designing with the Best Tutors

The best Tutors for Web Designing Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more