HTML5 Tutorial

HTML5 is the latest and most enhanced version of HTML. In HTML5, there are many new advance tags and attributes have been introduced and some old HTML tags and attributes have been removed. HTML5 new elements and attributes help to make web design easy, attractive and more meaningful.

In 2008, the first version of HTML5 has been released and it is still in development.

Usefull HTML Tips

  1. Mixing of uppercase and lowercase for element name is bad, lower is recommended
  2. Use Lower Case Attribute Names
  3. Use Lower Case for naming Files and directory
  4. Close All HTML container tags
  5. Spaces around equal signs is legal, But space-less is easier to read
  6. Make the title as meaningful as possible, it should be unique in all web pages
  7. To ensure proper interpretation, and correct search engine indexing, both the language and the character encoding should be defined as early as possible in a document
  8. <!DOCTYPE html>
    <html lang="en-US">
        <head>
            <meta charset="UTF-8">
            <title>HTML5 Syntax and Coding Style </title>
        </head>
    ...
    
  9. Place the opening bracket on the same line as the selector.
  10. Use colon plus one space between each property and its value.
  11. Use semicolon after each property-value pair, including the last.
  12. Only use quotes around values if the value contains spaces.
  13. Place the closing bracket on a new line, without leading spaces.
  14. There is no difference between the .htm and .html extensions.
  15. When a URL does not specify a filename (like http://www.ankitweblogic.com/html5/), the server returns a default filename like index.html, index.htm, default.html, and default.htm.

HTML Versions

YearVersion
1991Tim Berners-Lee invents HTML 1.0
1993HTML 1.0 is released
1995HTML 2.0 is published
1997HTML 3.2 was invented, improved new features and more powerful, It was the first version developed and standardized by the W3C
1999The widely-used HTML 4.1 comes out. It is very successful. HTML4 offers three variations: Strict, Transitional, Frameset
2014HTML 5.0 is released and used worldwide.
2016HTML 5.1
2017HTML 5.2
Advertisement
Related Topic:

Before reading HMTL5 topic, I must recommended you to read HTML4 topics.