Basic HTML

Advance HTML

HTML Tags Reference

HTML Code Generator

HTML <!doctype> Tag

HTML <!doctype> tag refer to the document type declaration use to specifying which version of HTML the document is using.

HTML <!doctype> declaration is not an HTML tag. It's a information about which version of the markup language the page is written.

Doctypes Available in the W3C Recommendations:

HTML 4.01 Strict

All HTML tag and attributes are allow to supported document type.It's not allow to frame set and presentational.


HTML 4.01 Frameset

HTML 4.01 Transitional allows to use frameset.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" 

HTML 4.01 Transitional

HTML 4.01 Transitional allow to use presentational.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"