Thursday, May 4, 2017

The DOCTYPE Declaration

Evening guys,in the tutorial i posted earlier today i talked about the basic structure of HTML. Now i wanna talk a little bit the <!DOCTYPE> declaration.

The <!DOCTYPE> declaration is used by the web browser to understand the version of the HTML used in the document. HTML has various versions but thats not what we discussing this evening. The current version of HTML is version 5 and uses the following declaration


<!DOCTYPE  html>

You can also read: Html Document Structure

There are many other types of declaration types which can be used with HTML. The declaration type used on a HTML document depends upon the version of HTML been used. We will see more details while talking about <!doctype> tag along with other tags. Bye for now


Post a Comment