Last Update: 4 April 2000

Other Resources: [Overview] [CGI Info] [HTTP  Info] [HTML  Info] [SGML Info] [Official  Docs] [Working  Groups]

HTML and XHTML Document Type Definitions

This page lists and provides links to standard DTDs and SGML declarations for HTML and its successor language, XHTML. This is a local collection of resources: references are provided naming the original locations of this material.

This page also provides links to HTML documents describing the content rules defined by the DTDs. These links are named HTML Analysis of DTD. These resources were created using a modified version of Earl Hood's dtd2html package (any mistakes are, of course, mine).

DTD differences -- Please also note the useful DTD differences utiltity, which lets you select two different HTML DTDs and see a list of the differences between them. This is very useful for seeing how the HTML DTDs have evolved over time.

NOTE: -- Newer browser, such as Internet Explorer 5 or Navigator 6, will attempt to process the DTD files, and will not display them as plain text. If this happens to you, simply right click the mouse button and select "Save as..." to save the file to disk. YOu can then view the content using your local text editor.


HTML DTDs:     HTML 0-1 | HTML 2 | HTML 3.2 | Cougar HTML | HTML 4 | HTML 4.01 | XHTML 1.0
Related Pages:   References
See Also:   DTD Differences -- Displays differences between DTDs

1. HTML 0 through HTML 1.0: Specification of 15 June 1995 [1]

HTML Declaration
html.decl
DTDs (all require the base html.dtd in the entity catalog)
html-0.dtd   - Level 0
html-1.dtd - Level 1 - "normal"
html-1s.dtd - Level 1s - "strict"

2. HTML 2.0: 22 September 1995 [2] ~ RFC 1866

HTML Declaration
html.decl
DTDs
HTML2.dtd - Standard HTML 2.0 ( HTML Analysis of DTD)
HTML2-strict.dtd - HTML 2.0 "Strict" ( HTML Analysis of DTD)

3. HTML 3: from the expired draft of 24 March 1995 [3]

HTML Declaration
html.decl
DTDs
HTML3.dtd  -  Standard HTML 3 ( HTML Analysis of DTD )
HTML3-strict.dtd  - HTML 3 "strict" ( HTML Analysis of DTD )

4. HTML 3.2: 13 August 1996 [4]

HTML Declaration
html.decl (none included in standard)
Entity Catalog and Character Entity Definition Files
HTML3.2.catalog   |   ISOlat1.sgml
DTDs
HTML3.2.dtd   -   ( HTML Analysis of DTD )

5. "Cougar" HTML: 13 August 1996 [5]

HTML Declaration
html.decl (none included in standard)
Entity Catalog and Character Entity Definitions
HTML.catalog   |   ISOlat1.sgml
HTML DTD
HTML-cougar.dtd  -  ( HTML Analysis of DTD )

6. HTML 4.0: 8 December 1997 [6]

HTML Declaration
HTML.decl
Entity Catalog and Character Entity Definitions
HTML4.catalog   |   HTMLlat1.ent ~ HTMLsymbol.ent ~ HTMLspecial.ent
HTML DTDs
loose.dtd   -   ( HTML Analysis of DTD )
strict.dtd   -   ( HTML Analysis of DTD )
frameset.dtd; also need loose.dtd   -   ( HTML Analysis of DTD )

6.A Earlier Draft: 17 September 1997 [6]

HTML Declaration
HTML.decl
Entity Catalog and Character Entity Definitions
HTML4.catalog   |   ISOlat1.ent ~ HTMLsym.ent ~ HTMLmisc.ent
HTML DTDs
HTML4-loose.dtd   -   ( HTML Analysis of DTD )
HTML4-strict.dtd   -   ( HTML Analysis of DTD )
HTML4-frameset.dtd; also need HTML4-loose.dtd   -   ( HTML Analysis of DTD )

6.B Proposed Recomendation: 9 November 1997 [6]

HTML Declaration
HTML.decl
Entity Catalog and Character Entity Definitions
HTML4.catalog   |   HTMLlat1.ent ~ HTMLsymbol.ent ~ HTMLspecial.ent
HTML DTDs
loose.dtd   -   ( HTML Analysis of DTD)
strict.dtd   -   ( HTML Analysis of DTD)
frameset.dtd; also need loose.dtd   -   ( HTML Analysis of DTD )

7. HTML 4.01: 24 December 1999 [7]

HTML Declaration
HTML4.decl
Entity Catalog and Character Entity Definitions
HTML4.catalog - HTML 4.01 catalog file
HTMLlat1.ent - Latin 1 Entities
HTMLspecial.ent -- Special entities
HTMLsymbol.ent -- Symbol entities
HTML DTDs
strict.dtd - ( HTML Analysis of DTD )
frameset.dtd - ( HTML Analysis of DTD )
loose.dtd - ( HTML Analysis of DTD )

8. XHTML1.0 26 January 2000 [8]

SGML Declaration
xhtml1.dcl
Entity Catalog and Character Entity Definitions
xhtml1.soc - XHTML 1.0 Oasis entity catalog
xhtml-lat1.ent - Latin 1 Entities
xhtml-special.ent -- Special entities
xhtml-symbol.ent -- Symbol entities
HTML DTDs
xhtml1-strict.dtd - ( HTML Analysis of DTD )
xhtml1-frameset.dtd - ( HTML Analysis of DTD )
xhtml1-transitional.dtd - ( HTML Analysis of DTD )

Ian Graham <ian.graham@utoronto.ca>
Last Update: 4 April 2000