Logo
  Thursday, July 31, 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 <details> Tag
The purpose of the HTML5 <details> tag is important if the author would like to add some more information which ...
The HTML5 <track> tag
The HTML5 <track> tag is capable of defining the succeeding track for the <audio> and <video> ...
The HTML5 <textarea> Tag
The HTML5 <textarea> tag is essential for HTML document because this specifies a multi-line text input control.
The HTML5 <section> Tag
The HTML5 <section> tag is used to clarify a particular section within the document so that users can see ...
The HTML5 <audio> Tag
The HTML5 <audio> tag is useful when it comes to providing sound like audio file or music streaming. Playing ...
The HTML5 <tbody> Tag
Grouping the body content for tables that are included within the HTML document is necessary. Hence the use of HTML5 ...
More