| Start |
|---|
| Adding the Doctype The See HTML 5 Doctype (opens new window) for details on the HTML 5 Doctype. See HTML 4.01 Doctypes (opens new window) for details on how these types differ from each other. Strict Transitional Frameset |
| HTML 5 Doctype HTML5 is not based on SGML, and therefore does not require a reference to a DTD. HTML 5 Doctype declaration: Case InsensitivityPer the W3.org HTML 5 A DOCTYPE must consist of the following components, in this order:
therefore the following This SO article discusses the topic extensively: Uppercase or lowercase doctype? (opens new window) |
| HTML 4.01 Doctypes The HTML 4.01 specification provides several different types of doctypes that allow different types of elements to be specified within the document. HTML 4.01 StrictIncludes all HTML elements and attributes, but does not include presentational or deprecated elements and framesets are not allowed. HTML 4.01 TransitionalIncludes all HTML elements and attributes and presentational and deprecated elements, but framesets are not allowed. HTML 4.01 FramesetIncludes all HTML elements and attributes, presentational and deprecated elements. Framesets are allowed. |
Old Doctypes HTML 3.2HTML 3.2 is well supported by most browsers in use. However, HTML 3.2 has limited support for style sheets and no support for HTML 4 features such as frames and internationalization. HTML 2.0HTML 2.0 is widely supported by browsers but lacks support for tables, frames, and internationalization, as well as many commonly used presentation elements and attributes. Syntax
RemarksThe The
|
Read Article
https://develop.horje.com/learn/1434/reference