Friday, July 25, 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 <u> Tag
The HTML5 <u> tag is no longer functional in HTML5. Before, the purpose of using HTML <u> tag is to put an ...
The HTML5 <option> Tag
The purpose of adding HTML5 <option> tag is to indicate option within a list selected by the author. The HTML5 ...
The HTML5 <head> Tag
The main purpose of the HTML5 <head> tag is to serve as a container for all the elements for the head of a ...
The HTML5 <footer> Tag
The HTML5 <footer> tag is necessary for adding a footer for a particular document which serves as supplementary ...
The HTML5 <style> Tag
The HTML5 <style> tag has the capacity to determine the style information that has to be used for the document.
The HTML5 <sub> Tag
The HTML5 <sub> tag is used for making sure that the character will appear half a character below the baseline.