• 03:13 PM

HTML 5 the language that one should learn about

HTML 5 is known as a markup language which is used in organising the World Wide Web and also it is the hard-core technology for the Internet. The number five in the HTML denotes that it is the fifth version of it. Many improvements and features are added in this language. (more…)

  • 12:45 PM

A simple markup standard for HTML5

Here is a simple HTML5 coding standard:

  • Always add a lang attribute on html element, e.g.: <html lang=”en-US”>
  • No self close empty tags anymore, e.g.: wirte <br> instead of <br />
  • No style attribute for rel links for css or in the <script> tags, e.g.:
    Just <link media=”all” href=”_css/style.css” rel=”stylesheet”>
    or <script src=”_js/calendar.js”></script>
  • Make all tags in lowercase
  • Use double quotes for attribute value
  • Jusrt write the attribute indicate instead of the value and the attribute for boolean attributes, e.g.:
    <section hidden>xxx</section> instead of <section hidden=”hidden”>xxx</section>

What do you think? :)

last comments
Mims Wright
Mims Wright

I know HTML coding standards is a very hot topic these days and it's fair to say that there is…
David Adam

Ahah, thanks for the comment. Did you mean the tag "" which requires self closing? Yeah, I myself actually also…