docs:programming:doctypes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
docs:programming:doctypes [2007/08/03 00:27] – created billhdocs:programming:doctypes [2008/08/03 00:25] (current) – external edit 127.0.0.1
Line 3: Line 3:
  
 There must be a DOCTYPE declaration in the document prior to the root element. The public identifier included in the DOCTYPE declaration must reference one of the three DTDs found in DTDs using the respective Formal Public Identifier. The system identifier may be changed to reflect local system conventions. There must be a DOCTYPE declaration in the document prior to the root element. The public identifier included in the DOCTYPE declaration must reference one of the three DTDs found in DTDs using the respective Formal Public Identifier. The system identifier may be changed to reflect local system conventions.
 +
  
 ===== HTML 4.01 ===== ===== HTML 4.01 =====
 +**Strict, Transitional, Frameset**
 <code xml> <code xml>
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
Line 13: Line 15:
    "http://www.w3.org/TR/html4/frameset.dtd">    "http://www.w3.org/TR/html4/frameset.dtd">
 </code> </code>
 +
  
 ===== XHTML 1.0 ===== ===== XHTML 1.0 =====
 +**Strict, Transitional, Frameset**
 <code xml> <code xml>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  • docs/programming/doctypes.1186122426.txt.gz
  • Last modified: 2008/08/03 00:25
  • (external edit)