Logo
  Monday, April 21, 2014
Sign-In  |  Sign-Up  |  Contact Us  | Bookmark |  RSS Feed

HTML5 Tutorial FeedBurner

The HTML5 <!DOCTYPE> Declaration  
The important thing about using the HTML5 <!DOCTYPE> Declaration is that it should be the first information that is indicated in your HTML5 document. It is placed before the <html> tag. In fact, it is a good thing to add the <!DOCTYPE> Declaration in all HTML documents so that the browser can easily identify the type of document used.

The <!DOCTYPE> Declaration is used differently in HTML5 and HTML4.01.

For HTML4.01, it is necessary to specify the reference to a DTD. That is because HMTL4.01 uses the SGML as basis. Aside from that, there are also three different ways on how to use the HTML4.01 <!DOCTYPE> Declaration.

On the other hand, reference to DTD is not longer required for HTML5 because it is not based on SGML.

It has to be noted that with HTML5 <!DOCTYPE> Declaration does not vary whether the lower or uppercase letters are used. It is also supported by the primary web browsers that are commonly used these days like the Google Chrome, Firefox, Safari, Opera and Internet Explorer.

Print HTML5 <!DOCTYPE> Declaration Bookmark HTML5 <!DOCTYPE> Declaration

Related Articles  
The HTML5 <button> tag
The HTML5 <button> tag is an element in HTML5 which defines a clickable button. The HTML5 <button> tag is ...
The HTML5 <br> tag
The HTML5 <br> tag is an element which inserts a single line break. The HTML5 <br> tag is important because ...
The HTML5 <aside> Tag
The HTML5 <aside> tag is useful if it is necessary to specify another content that is different from the ...
The HTML <dir> Tag
The HTML <dir> tag is not supported in HTML5. Before the HTML5 is introduced, the HTML4.01 <dir> tag is ...
The HTML5 <hr> Tag
The HTML5 <hr> tag is an integral part within the content of a document. HTML5 is mainly used so that the break ...
The HTML5 <samp> Tag
When it is necessary to place a sample output from a computer program or script, the HTML5 <samp> tag has to be ...
More