All type of DOCTYPES

Posted By : Deepak Insa | 28-Dec-2015

There is many types of doctype according to HTML version. Doctype is an instruction to the web browser, which tell that which version of HTML the page written in. It is first thing in your HTML page. We should always use doctype declaration in HTML documents, so that Browser knows what type of document to expect. 

For Example:-

HTML 4.01 Strict

<!doctype html="" public="" dtd=""></!doctype>








XHTML 1.0 Strict



<!doctype html="" public="" dtd=""><!doctype html="" public="" dtd="" xhtml="" 1.0=""></!doctype></!doctype>







XHTML 1.0 Transitional



<!doctype html="" public="" dtd=""><!doctype html="" public="" dtd="" xhtml="" 1.0=""><!doctype html="" public="" dtd="" xhtml="" 1.0=""></!doctype></!doctype></!doctype>







XHTML 1.1



<!doctype html="" public="" dtd=""><!doctype html="" public="" dtd="" xhtml="" 1.0=""><!doctype html="" public="" dtd="" xhtml="" 1.0=""><!doctype html="" public="" dtd="" xhtml=""></!doctype></!doctype></!doctype></!doctype>







HTML 5



<!doctype html="" public="" dtd=""><!doctype html="" public="" dtd="" xhtml="" 1.0=""><!doctype html="" public="" dtd="" xhtml="" 1.0=""><!doctype html="" public="" dtd="" xhtml=""><!doctype html=""></!doctype></!doctype></!doctype></!doctype></!doctype>

About Author

Author Image
Deepak Insa

Deepak is an experienced UI developer with experience and capabilities to build compelling UIs for Web and Mobile Applications.

Request for Proposal

Name is required

Comment is required

Sending message..