Diff between HTML DTD (revision 1.3 / 1993-01-06) and Document Type Definition for the HyperText Markup Language as used by the World Wide Web application (HTML DTD)

<!SGML  "ISO 8879:1986"
--
	Document Type Definition for the HyperText Markup Language 
	as used by the World Wide Web application (HTML DTD).

	NOTE: This is a definition of HTML with respect to
	SGML, and assumes an understaning of SGML terms.

	For a description of HTML in layman's terms, see

	"HTML: A Representation for Nodes in the World Wide Web"
		by Dan Connolly.

	aka

	http://info.cern.ch/hypertext/WWW/MarkUp/MarkUp.html
		by <connolly@convex.com>
--

CHARSET
         BASESET  "ISO 646:1983//CHARSET
                   International Reference Version (IRV)//ESC 2/5 4/0"
         DESCSET  0   9   UNUSED
                  9   2   9
                  11  2   UNUSED
                  13  1   13
                  14  18  UNUSED
                  32  95  32
                  127 1   UNUSED
     BASESET   "ISO Registration Number 100//CHARSET
                ECMA-94 Right Part of Latin Alphabet Nr. 1//ESC 2/13 4/1"
     DESCSET   128 32 UNUSED
               160 95 32
               255  1 UNUSED

CAPACITY	SGMLREF
		TOTALCAP	150000
		GRPCAP		150000
  
SCOPE    DOCUMENT
SYNTAX   
         SHUNCHAR CONTROLS 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
                           19 20 21 22 23 24 25 26 27 28 29 30 31 127 255
         BASESET  "ISO 646:1983//CHARSET
                   International Reference Version (IRV)//ESC 2/5 4/0"
         DESCSET  0 128 0
         FUNCTION RE          13
                  RS          10
                  SPACE       32
                  TAB SEPCHAR  9
         NAMING   LCNMSTRT ""
                  UCNMSTRT ""
                  LCNMCHAR ".-"
                  UCNMCHAR ".-"
                  NAMECASE GENERAL YES
                           ENTITY  NO
         DELIM    GENERAL  SGMLREF
                  SHORTREF SGMLREF
         NAMES    SGMLREF
         QUANTITY SGMLREF
                  NAMELEN  34
                  TAGLVL   100
                  LITLEN   1024
                  GRPGTCNT 150
                  GRPCNT   64                   

FEATURES
  MINIMIZE
    DATATAG  NO
    OMITTAG  NO
    RANK     NO
    SHORTTAG NO
  LINK
    SIMPLE   NO
    IMPLICIT NO
    EXPLICIT NO
  OTHER
    CONCUR   NO
    SUBDOC   NO
    FORMAL   YES
  APPINFO    NONE
>

<!DOCTYPE HTML [
<!--
 $Id: html.dtd,v 1.3 93/01/06 18:38:10 connolly Exp Locker: connolly $
 $Id: html.dtd,v 1.5 1994/03/30 02:28:06 connolly Exp $
-->

<!--	Regarding clause 6.1, SGML Document:

	[1] SGML document = SGML document entity,
	    (SGML subdocument entity |
	    SGML text entity | non-SGML data entity)*

	The role of SGML document entity is filled by this DTD,
	followed by the	conventional HTML data stream.
-->

<!-- DTD definitions -->

<!ENTITY % heading "H1|H2|H3|H4|H5|H6" >
<!ENTITY % list "UL|OL|DIR|MENU">
<!ENTITY % literal "XMP|LISTING">

<!ENTITY % headelement
	 "TITLE | NEXTID | ISINDEX" >

<!ENTITY % bodyelement
	 "P | A | %heading |
	 %list | DL | HEADERS | ADDRESS | PRE | BLOCKQUOTE
	| %literal">

<!ENTITY % oldstyle "%headelement | %bodyelement | #PCDATA">
<!ENTITY % URL "CDATA"
	-- The term URL means a CDATA attribute
	   whose value is a Universal Resource Locator,
	   as defined in ftp://info.cern.ch/pub/www/doc/url3.txt
	-->

<!ENTITY % linkattributes
	"NAME NMTOKEN #IMPLIED
	HREF %URL; #IMPLIED
	TYPE NAME #IMPLIED -- type of relashionship to referent data:
				PARENT CHILD, SIBLING, NEXT, TOP,
				 DEFINITION, UPDATE, ORIGINAL etc. --
	URN CDATA #IMPLIED -- universal resource number. unique doc id --
	TITLE CDATA #IMPLIED -- advisory only --
	METHODS NAMES #IMPLIED -- supported methods of the object:
					TEXTSEARCH, GET, HEAD, ... --
	">
<!-- Characters from various Latin alphabets. -->
<!ENTITY % ISOlat1 PUBLIC
	"ISO 8879:1986//ENTITIES Added Latin 1//EN">
%ISOlat1;


<!-- Document Element -->

<!ELEMENT HTML O O  ((HEAD | BODY | %oldstyle)*, PLAINTEXT?)>
<!ELEMENT HTML O O  (HEAD | BODY | %oldstyle)*>

<!ELEMENT HEAD - -  (TITLE? & ISINDEX? & NEXTID? & LINK*)>

<!ELEMENT HEAD - -  (TITLE? & ISINDEX? & NEXTID?)>
<!-- LINK element (from timbl) -->
<!ATTLIST HEAD
	EXPIRES NUMBER #IMPLIED -- expiration date 
				in ISO format: yyyymmddhhmmssZ --
	>

<!ELEMENT TITLE	- -  RCDATA
	  -- The TITLE element is not considered part of the flow of text.
	     It should be displayed, for example as the page header or
	     window title.
	  -->

<!ELEMENT ISINDEX - O EMPTY
	  -- WWW clients should offer the option to perform a search on
	     documents containing ISINDEX.
	  -->
 
<!ELEMENT NEXTID - O EMPTY>
<!ATTLIST NEXTID N NUMBER #REQUIRED
	  -- The number should be the highest number that appears in
	     any NAME attribute in the document.
	  -->

<!ELEMENT LINK - O EMPTY>
<!ATTLIST LINK
	%linkattributes>
	
<!ENTITY % inline "EM | TT | STRONG | B | I | U |
			CODE | SAMP | KBD | KEY | VAR | DFN | CITE "
	>

<!ELEMENT (%inline;) - - (#PCDATA)>

<!ENTITY % text "#PCDATA | %inline;">

<!ELEMENT BODY - -  (%bodyelement|%text;)*>

<!ENTITY % URL "CDATA"
	-- The term URL means a CDATA attribute
	   whose value is a Universal Resource Locator,
	   as defined in ftp://info.cern.ch/pub/www/doc/url3.txt
	-->

<!ELEMENT A	- -  (#PCDATA)>
<!ATTLIST A
	%linkattributes;
	NAME NMTOKEN #IMPLIED
	HREF %URL; #IMPLIED
	TYPE NAME #IMPLIED -- type of relashionship to referent data:
				PARENT CHILD, SIBLING, NEXT, TOP,
				 DEFINITION, UPDATE, ORIGINAL etc. --
	URN CDATA #IMPLIED -- universal resource number. unique doc id --
	TITLE CDATA #IMPLIED -- advisory only --
	METHODS NAMES #IMPLIED -- supported methods of the object:
					TEXTSEARCH, GET, HEAD, ... --
	>

<!ELEMENT P	- O EMPTY -- separates paragraphs -->

<!ELEMENT (%heading)	- -  (%text;|A)+>

<!ELEMENT HEADERS - - (DT | #PCDATA | DD | A)+>
<!ELEMENT DL	- -  (DT | DD | A | P | %text;)*>
<!--	Content should match ((DT,(A|%text;)+)+,(DD,(A|%text;)+))
	But mixed content is messy.
  -->
 
<!ELEMENT DT	- O EMPTY>
<!ELEMENT DD	- O EMPTY>

<!ELEMENT (%list) - -  (%text;|LI|A|P)+>
<!--	Content should match ((LI,(A|%text;)+)+)
	But mixed content is messy.
  -->
<!ATTLIST (%list)
	STYLE NAME #IMPLIED -- COMPACT, etc.--
	>

<!ELEMENT LI	- O EMPTY>

<!ELEMENT BLOCKQUOTE - - (%text;|A|P|ADDRESS)+
	-- for quoting some other source -->
<!ATTLIST BLOCKQUOTE
	SOURCE CDATA #IMPLIED
	>

<!ELEMENT ADDRESS - - (%text;|A|P)+>

<!ELEMENT PRE - - (#PCDATA|A|P)+>
<!ATTLIST PRE
	WIDTH NUMBER #implied
        >


<!-- Characters from various Latin alphabets. -->
<!ENTITY AElig "&#198" -- capital AE diphthong (ligature) -->
<!ENTITY Aacute "&#193" -- capital A, acute accent -->
<!ENTITY Acirc "&#194" -- capital A, circumflex accent -->
<!ENTITY Agrave "&#192" -- capital A, grave accent -->
<!ENTITY Aring "&#197" -- capital A, ring -->
<!ENTITY Atilde "&#195" -- capital A, tilde -->
<!ENTITY Auml "&#196" -- capital A, dieresis or umlaut mark -->
<!ENTITY Ccedil "&#199" -- capital C, cedilla -->
<!ENTITY ETH "&#208" -- capital Eth, Icelandic -->
<!ENTITY Eacute "&#201" -- capital E, acute accent -->
<!ENTITY Ecirc "&#202" -- capital E, circumflex accent -->
<!ENTITY Egrave "&#200" -- capital E, grave accent -->
<!ENTITY Euml "&#203" -- capital E, dieresis or umlaut mark -->
<!ENTITY Iacute "&#205" -- capital I, acute accent -->
<!ENTITY Icirc "&#206" -- capital I, circumflex accent -->
<!ENTITY Igrave "&#204" -- capital I, grave accent -->
<!ENTITY Iuml "&#207" -- capital I, dieresis or umlaut mark -->
<!ENTITY Ntilde "&#209" -- capital N, tilde -->
<!ENTITY Oacute "&#211" -- capital O, acute accent -->
<!ENTITY Ocirc "&#212" -- capital O, circumflex accent -->
<!ENTITY Ograve "&#210" -- capital O, grave accent -->
<!ENTITY Oslash "&#216" -- capital O, slash -->
<!ENTITY Otilde "&#213" -- capital O, tilde -->
<!ENTITY Ouml "&#214" -- capital O, dieresis or umlaut mark -->
<!ENTITY THORN "&#222" -- capital THORN, Icelandic -->
<!ENTITY Uacute "&#218" -- capital U, acute accent -->
<!ENTITY Ucirc "&#219" -- capital U, circumflex accent -->
<!ENTITY Ugrave "&#217" -- capital U, grave accent -->
<!ENTITY Uuml "&#220" -- capital U, dieresis or umlaut mark -->
<!ENTITY Yacute "&#221" -- capital Y, acute accent -->
<!ENTITY aacute "&#225" -- small a, acute accent -->
<!ENTITY acirc "&#226" -- small a, circumflex accent -->
<!ENTITY aelig "&#230" -- small ae diphthong (ligature) -->
<!ENTITY agrave "&#224" -- small a, grave accent -->
<!ENTITY amp "&#38" -- ampersand -->
<!ENTITY aring "&#229" -- small a, ring -->
<!ENTITY atilde "&#227" -- small a, tilde -->
<!ENTITY auml "&#228" -- small a, dieresis or umlaut mark -->
<!ENTITY ccedil "&#231" -- small c, cedilla -->
<!ENTITY eacute "&#233" -- small e, acute accent -->
<!ENTITY ecirc "&#234" -- small e, circumflex accent -->
<!ENTITY egrave "&#232" -- small e, grave accent -->
<!ENTITY eth "&#240" -- small eth, Icelandic -->
<!ENTITY euml "&#235" -- small e, dieresis or umlaut mark -->
<!ENTITY gt "&#62" -- greater than -->
<!ENTITY iacute "&#237" -- small i, acute accent -->
<!ENTITY icirc "&#238" -- small i, circumflex accent -->
<!ENTITY igrave "&#236" -- small i, grave accent -->
<!ENTITY iuml "&#239" -- small i, dieresis or umlaut mark -->
<!ENTITY lt "&#60" -- less than -->
<!ENTITY ntilde "&#241" -- small n, tilde -->
<!ENTITY oacute "&#243" -- small o, acute accent -->
<!ENTITY ocirc "&#244" -- small o, circumflex accent -->
<!ENTITY ograve "&#242" -- small o, grave accent -->
<!ENTITY oslash "&#248" -- small o, slash -->
<!ENTITY otilde "&#245" -- small o, tilde -->
<!ENTITY ouml "&#246" -- small o, dieresis or umlaut mark -->
<!ENTITY szlig "&#223" -- small sharp s, German (sz ligature) -->
<!ENTITY thorn "&#254" -- small thorn, Icelandic -->
<!ENTITY uacute "&#250" -- small u, acute accent -->
<!ENTITY ucirc "&#251" -- small u, circumflex accent -->
<!ENTITY ugrave "&#249" -- small u, grave accent -->
<!ENTITY uuml "&#252" -- small u, dieresis or umlaut mark -->
<!ENTITY yacute "&#253" -- small y, acute accent -->
<!ENTITY yuml "&#255" -- small y, dieresis or umlaut mark -->

<!-- deprecated elements -->

<!ELEMENT (%literal) - -  RCDATA>

<!ELEMENT PLAINTEXT - O EMPTY>

<!-- Local Variables: -->
<!-- mode: sgml -->
<!-- compile-command: "sgmls -s -p " -->
<!-- end: -->
]>

      
Properties
HTML DTD (revision 1.3 / 1993-01-06) Document Type Definition for the HyperText Markup Language as used by the World Wide Web application (HTML DTD)
author@:Dan Connolly
author_mail@:connolly@convex.com
charset@en:us-ascii
content_type@en:application/x-sgml-preamble
derived_from@:digest:0c635118f8e63a549e57c5cd27195774
content_type@en:application/x-sgml-entity
derived_from@:digest:50b15a81253bdb391bdf84e918923e16
documentation_uri@en:http://info.cern.ch/hypertext/WWW/MarkUp/MarkUp.html
documentation@:title@en:HTML: A Representation for Nodes in the World Wide Web;author:Dan Connolly;uri@en:http://info.cern.ch/hypertext/WWW/MarkUp/MarkUp.html;author_mail:connolly@convex.com
file_name@en:html.dtd
label@en:HTML DTD (revision 1.3 / 1993-01-06)
last_modified@:2004-02-15 02:48:53Z
last_modified@:2004-05-15 02:48:53Z
rcs_date@:93/01/06 18:38:10
rcs_revision@:1.3
last_modified@:2004-03-02 07:12:50Z
last_modified@:2004-03-31 07:12:50Z
rcs_date@:1994/03/30 02:28:06
rcs_revision@:1.5
rcs_user@:connolly
ref@:public_id@en:ISO 646:1983//CHARSET International Reference Version (IRV)//ESC 2/5 4/0
ref@:public_id@en:ISO Registration Number 100//CHARSET ECMA-94 Right Part of Latin Alphabet Nr. 1//ESC 2/13 4/1
src@:uri:news:1993Jan16.051234.29089@news.eng.convex.com;last_modified:1993-01-16T05:12:34Z
src@:uri:http://groups.google.co.jp/groups?selm=1993Jan16.051234.29089%40news.eng.convex.com;last_modified:1993-01-16T05:12:34Z
related@:digest:af0e66501b5c5c72fbdad5fcf3be62b0
tag@en:HTML
tag@en:Latin1
tag@en:SGML Declaration
tag@en:SGML DTD
tag@en:SGML declaration
tag@en:headers
title@en:Document Type Definition for the HyperText Markup Language as used by the World Wide Web application (HTML DTD)
Edit Edit