Here's a little bit of history of HTML5: there are two versions of HTML5 draft , one created by
W3C and the other by WHATWG . The W3C is run by a group that is democratic in nature, but
super slow in practice. WHATWG is edited by one person, Ian Hickson (who is also working for
Google), and a group of people who are not public. As Ian does most of the decision making,
it makes WHATWG's version progress faster.
HTML5 and version number
You might be wondering why HTML5 is being so ambiguous by using a declaration without
even a version number. Well there are many reasons to justify this:
1. Version support of HTML doesn't matter much to browsers. What matters is the
feature support. In other words, if the browser supports the HTML5 feature you are
using, even if you declare the document as HTML4, it will still render the HTML5
element as expected.
2. It's easier to type!
One question you may ask is whether it is safe to use the HTML5 DTD <!doctype html>.
The answer is DTDs were made for validation, not browser rendering. Your next question might
be: what about quirks mode? <!doctype html> is the minimum information required to
ensure that a browser renders in standards mode. So you are pretty safe to use <!doctype
You may have noticed that we use <!doctype html> instead of <!DOCTYPE html>. The
reason is HTML5 is not case sensitive, but for consistency with other HTML tags, we will use
lowercase throughout the book.
Free resources to learn HTML5
There are many excellent and free books, and articles about basic HTML5 tags. If you are
unfamiliar with HTML5, you can check out one of the following:
HTML5 Doctor : http://html5doctor.com/
Dive Into HTML5 : http://diveintohtml5.org/
HTML5 Rocks : http://www.html5rocks.com/
For More Information: