1 |
<!-- |
<!-- html.dtd |
|
$Id$ |
|
|
--> |
|
|
|
|
|
<!-- Regarding clause 6.1, SGML Document: |
|
2 |
|
|
3 |
[1] SGML document = SGML document entity, |
Document Type Definition for the HyperText Markup Language |
4 |
(SGML subdocument entity | |
as used by the World Wide Web application (HTML DTD). |
|
SGML text entity | non-SGML data entity)* |
|
5 |
|
|
6 |
The role of SGML document entity is filled by this DTD, |
$Id$ |
|
followed by the conventional HTML data stream. |
|
7 |
--> |
--> |
8 |
|
|
9 |
|
|
10 |
<!-- DTD definitions --> |
<!-- DTD definitions --> |
11 |
|
|
12 |
<!ENTITY % heading "H1|H2|H3|H4|H5|H6" > |
<!ENTITY % heading "H1|H2|H3|H4|H5|H6" > |
13 |
<!ENTITY % list "UL|OL|DIR|MENU"> |
<!ENTITY % list " UL | OL | DIR | MENU "> |
14 |
<!ENTITY % literal "XMP|LISTING"> |
<!ENTITY % literal " XMP | LISTING "> |
|
|
|
|
<!ENTITY % headelement |
|
|
"TITLE | NEXTID | ISINDEX" > |
|
15 |
|
|
16 |
<!ENTITY % bodyelement |
<!ENTITY % bodyelement |
17 |
"P | %heading | |
"P | HR | %heading | |
18 |
%list | DL | HEADERS | ADDRESS | PRE | BLOCKQUOTE |
%list | DL | ADDRESS | PRE | BLOCKQUOTE |
19 |
| %literal"> |
| %literal"> |
20 |
|
|
|
<!ENTITY % oldstyle "%headelement | %bodyelement | #PCDATA"> |
|
21 |
<!ENTITY % URL "CDATA" |
<!ENTITY % URL "CDATA" |
22 |
-- The term URL means a CDATA attribute |
-- The term URL means a CDATA attribute |
23 |
whose value is a Universal Resource Locator, |
whose value is a Uniform Resource Locator, |
24 |
as defined in ftp://info.cern.ch/pub/www/doc/url3.txt |
as defined. (A URN may also be usable here when defined.) |
25 |
--> |
--> |
26 |
|
|
27 |
<!ENTITY % linkattributes |
<!ENTITY % linkattributes |
28 |
"NAME NMTOKEN #IMPLIED |
"NAME NMTOKEN #IMPLIED |
29 |
HREF %URL; #IMPLIED |
HREF %URL; #IMPLIED |
30 |
TYPE NAME #IMPLIED -- type of relashionship to referent data: |
REL CDATA #IMPLIED -- forward relationship type -- |
31 |
|
REV CDATA #IMPLIED -- reversed relationship type |
32 |
|
to referent data: |
33 |
|
|
34 |
PARENT CHILD, SIBLING, NEXT, TOP, |
PARENT CHILD, SIBLING, NEXT, TOP, |
35 |
DEFINITION, UPDATE, ORIGINAL etc. -- |
DEFINITION, UPDATE, ORIGINAL etc. -- |
36 |
URN CDATA #IMPLIED -- universal resource number. unique doc id -- |
|
37 |
|
URN CDATA #IMPLIED -- universal resource number -- |
38 |
|
|
39 |
TITLE CDATA #IMPLIED -- advisory only -- |
TITLE CDATA #IMPLIED -- advisory only -- |
40 |
METHODS NAMES #IMPLIED -- supported methods of the object: |
|
41 |
|
METHODS NAMES #IMPLIED -- supported public methods of the object: |
42 |
TEXTSEARCH, GET, HEAD, ... -- |
TEXTSEARCH, GET, HEAD, ... -- |
43 |
|
|
44 |
"> |
"> |
45 |
|
|
46 |
|
|
47 |
<!-- Document Element --> |
<!-- Document Element --> |
48 |
|
|
49 |
<!ELEMENT HTML O O ((HEAD | BODY | %oldstyle)*, PLAINTEXT?)> |
<!ELEMENT HTML O O (HEAD, BODY)> |
50 |
|
|
51 |
<!ELEMENT HEAD - - (TITLE? & ISINDEX? & NEXTID? & LINK*)> |
<!ELEMENT HEAD O O ( TITLE? & ISINDEX? & NEXTID? & LINK* |
52 |
|
& BASE?)> |
53 |
|
|
54 |
<!ELEMENT TITLE - - RCDATA |
<!ELEMENT TITLE - - (#PCDATA) |
55 |
-- The TITLE element is not considered part of the flow of text. |
-- The TITLE element is not considered part of the flow of text. |
56 |
It should be displayed, for example as the page header or |
It should be displayed, for example as the page header or |
57 |
window title. |
window title. |
61 |
-- WWW clients should offer the option to perform a search on |
-- WWW clients should offer the option to perform a search on |
62 |
documents containing ISINDEX. |
documents containing ISINDEX. |
63 |
--> |
--> |
|
|
|
|
<!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. |
|
|
--> |
|
64 |
|
|
65 |
<!ELEMENT LINK - O EMPTY> |
<!ELEMENT LINK - O EMPTY> |
66 |
<!ATTLIST LINK |
<!ATTLIST LINK |
67 |
%linkattributes> |
%linkattributes> |
68 |
|
|
69 |
<!ENTITY % inline "EM | TT | STRONG | B | I | U | |
<!ELEMENT BASE - O EMPTY -- Reference context for URLS --> |
70 |
|
<!ATTLIST BASE |
71 |
|
|
72 |
|
HREF %URL; #IMPLIED |
73 |
|
|
74 |
|
> |
75 |
|
<!ENTITY % inline "EM | STRONG | |
76 |
CODE | SAMP | KBD | KEY | VAR | DFN | CITE " |
CODE | SAMP | KBD | KEY | VAR | DFN | CITE " |
77 |
> |
> |
78 |
|
|
79 |
<!ELEMENT (%inline;) - - (#PCDATA)> |
<!ELEMENT (%inline;) - - (#PCDATA | A)+> |
80 |
|
<!ELEMENT (B | I | U | TT) - - (#PCDATA | A)+> |
81 |
|
|
82 |
<!ENTITY % hypertext "#PCDATA | %inline; | A"> |
<!ENTITY % text "#PCDATA | IMG | %inline; | BR"> |
83 |
|
|
84 |
<!ELEMENT BODY - - (%bodyelement|%hypertext;)*> |
<!ENTITY % htext "A | %text" -- Plus links, no structure --> |
85 |
|
|
86 |
<!ELEMENT A - - (#PCDATA)> |
<!ENTITY % stext -- as htext but also nested structure -- |
87 |
|
"P | HR | %list | DL | ADDRESS |
88 |
|
| PRE | BLOCKQUOTE |
89 |
|
| %literal | %htext"> |
90 |
|
|
91 |
|
<!ENTITY % block -- as htext but also nested structure -- |
92 |
|
"P | HR | %list | DL |
93 |
|
| PRE | BLOCKQUOTE | ADDRESS |
94 |
|
| %literal"> |
95 |
|
|
96 |
|
|
97 |
|
<!ELEMENT BODY O O (%heading | %block)+> |
98 |
|
|
99 |
|
|
100 |
|
<!ELEMENT A - - ANY> |
101 |
<!ATTLIST A |
<!ATTLIST A |
102 |
%linkattributes; |
%linkattributes; |
103 |
> |
> |
104 |
|
|
105 |
<!ELEMENT P - O EMPTY -- separates paragraphs --> |
<!ELEMENT IMG - O EMPTY -- Embedded image --> |
106 |
|
<!ATTLIST IMG |
107 |
|
SRC %URL; #IMPLIED -- URL of document to embed -- |
108 |
|
> |
109 |
|
|
110 |
|
|
111 |
|
<!ELEMENT P - O (%htext)+ -- paragraph --> |
112 |
|
<!ELEMENT (HR|BR) - O EMPTY -- horizontal rule --> |
113 |
|
|
114 |
<!ELEMENT (%heading) - - (%hypertext;)+> |
<!ELEMENT ( %heading ) - - (%htext;)+> |
115 |
|
|
116 |
<!ELEMENT DL - - (DT | DD | P | %hypertext;)*> |
<!ELEMENT DL - - (DT+, DD+)+> |
117 |
<!-- Content should match ((DT,(%hypertext;)+)+,(DD,(%hypertext;)+)) |
<!-- structured DL's |
|
But mixed content is messy. |
|
118 |
--> |
--> |
119 |
<!ATTLIST DL |
|
120 |
STYLE NAME #IMPLIED -- COMPACT, etc.-- |
<!ELEMENT DT - O (%htext)+> |
121 |
|
<!ELEMENT DD - O (%htext|%block)+> |
122 |
|
|
123 |
|
<!ELEMENT (%list) - - (LI)+> |
124 |
|
|
125 |
|
<!ATTLIST (%list) |
126 |
|
COMPACT NAME #IMPLIED -- COMPACT, etc.-- |
127 |
> |
> |
|
|
|
|
<!ELEMENT DT - O EMPTY> |
|
|
<!ELEMENT DD - O EMPTY> |
|
|
|
|
|
<!ELEMENT (UL|OL) - - (%hypertext;|LI|P)+> |
|
|
<!ELEMENT (DIR|MENU) - - (%hypertext;|LI)+> |
|
|
<!-- Content should match ((LI,(%hypertext;)+)+) |
|
|
But mixed content is messy. |
|
|
--> |
|
128 |
|
|
129 |
<!ELEMENT LI - O EMPTY> |
<!ELEMENT LI - O (%htext|%block)+> |
130 |
|
|
131 |
<!ELEMENT BLOCKQUOTE - - (%hypertext;|P)+ |
<!ELEMENT BLOCKQUOTE - - ((%htext|P)+, ADDRESS?)+ |
132 |
-- for quoting some other source --> |
-- for quoting some other source --> |
|
<!ATTLIST BLOCKQUOTE |
|
|
SOURCE CDATA #IMPLIED -- URL of source -- |
|
|
> |
|
133 |
|
|
134 |
<!ELEMENT ADDRESS - - (%hypertext;|P)+> |
<!ELEMENT ADDRESS - - (%htext;)+> |
135 |
|
|
136 |
<!ELEMENT PRE - - (#PCDATA | A | B | I | U | P)+> |
<!ELEMENT PRE - - (#PCDATA | TT | B | I | U | A | P | BR)+> |
137 |
<!ATTLIST PRE |
<!ATTLIST PRE |
138 |
WIDTH NUMBER #implied |
WIDTH NUMBER #implied |
139 |
> |
> |
140 |
|
|
|
|
|
141 |
<!-- Mnemonic character entities. --> |
<!-- Mnemonic character entities. --> |
142 |
<!ENTITY AElig "Æ" -- capital AE diphthong (ligature) --> |
|
143 |
<!ENTITY Aacute "Á" -- capital A, acute accent --> |
<!ENTITY % ISOlat1 PUBLIC |
144 |
<!ENTITY Acirc "Â" -- capital A, circumflex accent --> |
"ISO 8879:1986//ENTITIES Added Latin 1//EN"> |
145 |
<!ENTITY Agrave "À" -- capital A, grave accent --> |
%ISOlat1; |
146 |
<!ENTITY Aring "Å" -- capital A, ring --> |
|
147 |
<!ENTITY Atilde "Ã" -- capital A, tilde --> |
<!ENTITY amp "&" -- ampersand --> |
148 |
<!ENTITY Auml "Ä" -- capital A, dieresis or umlaut mark --> |
<!ENTITY gt ">" -- greater than --> |
149 |
<!ENTITY Ccedil "Ç" -- capital C, cedilla --> |
<!ENTITY lt "<" -- less than --> |
150 |
<!ENTITY ETH "Ð" -- capital Eth, Icelandic --> |
<!ENTITY nbsp " " -- @@should be NON_BREAKING space --> |
151 |
<!ENTITY Eacute "É" -- capital E, acute accent --> |
<!-- @@ should add entites for processing instructions |
152 |
<!ENTITY Ecirc "Ê" -- capital E, circumflex accent --> |
for line break, centering, etc. --> |
|
<!ENTITY Egrave "È" -- capital E, grave accent --> |
|
|
<!ENTITY Euml "Ë" -- capital E, dieresis or umlaut mark --> |
|
|
<!ENTITY Iacute "Í" -- capital I, acute accent --> |
|
|
<!ENTITY Icirc "Î" -- capital I, circumflex accent --> |
|
|
<!ENTITY Igrave "Ì" -- capital I, grave accent --> |
|
|
<!ENTITY Iuml "Ï" -- capital I, dieresis or umlaut mark --> |
|
|
<!ENTITY Ntilde "Ñ" -- capital N, tilde --> |
|
|
<!ENTITY Oacute "Ó" -- capital O, acute accent --> |
|
|
<!ENTITY Ocirc "Ô" -- capital O, circumflex accent --> |
|
|
<!ENTITY Ograve "Ò" -- capital O, grave accent --> |
|
|
<!ENTITY Oslash "Ø" -- capital O, slash --> |
|
|
<!ENTITY Otilde "Õ" -- capital O, tilde --> |
|
|
<!ENTITY Ouml "Ö" -- capital O, dieresis or umlaut mark --> |
|
|
<!ENTITY THORN "Þ" -- capital THORN, Icelandic --> |
|
|
<!ENTITY Uacute "Ú" -- capital U, acute accent --> |
|
|
<!ENTITY Ucirc "Û" -- capital U, circumflex accent --> |
|
|
<!ENTITY Ugrave "Ù" -- capital U, grave accent --> |
|
|
<!ENTITY Uuml "Ü" -- capital U, dieresis or umlaut mark --> |
|
|
<!ENTITY Yacute "Ý" -- capital Y, acute accent --> |
|
|
<!ENTITY aacute "á" -- small a, acute accent --> |
|
|
<!ENTITY acirc "â" -- small a, circumflex accent --> |
|
|
<!ENTITY aelig "æ" -- small ae diphthong (ligature) --> |
|
|
<!ENTITY agrave "à" -- small a, grave accent --> |
|
|
<!ENTITY amp "&" -- ampersand --> |
|
|
<!ENTITY aring "å" -- small a, ring --> |
|
|
<!ENTITY atilde "ã" -- small a, tilde --> |
|
|
<!ENTITY auml "ä" -- small a, dieresis or umlaut mark --> |
|
|
<!ENTITY ccedil "ç" -- small c, cedilla --> |
|
|
<!ENTITY eacute "é" -- small e, acute accent --> |
|
|
<!ENTITY ecirc "ê" -- small e, circumflex accent --> |
|
|
<!ENTITY egrave "è" -- small e, grave accent --> |
|
|
<!ENTITY eth "ð" -- small eth, Icelandic --> |
|
|
<!ENTITY euml "ë" -- small e, dieresis or umlaut mark --> |
|
|
<!ENTITY gt ">" -- greater than --> |
|
|
<!ENTITY iacute "í" -- small i, acute accent --> |
|
|
<!ENTITY icirc "î" -- small i, circumflex accent --> |
|
|
<!ENTITY igrave "ì" -- small i, grave accent --> |
|
|
<!ENTITY iuml "ï" -- small i, dieresis or umlaut mark --> |
|
|
<!ENTITY lt "<" -- less than --> |
|
|
<!ENTITY ntilde "ñ" -- small n, tilde --> |
|
|
<!ENTITY oacute "ó" -- small o, acute accent --> |
|
|
<!ENTITY ocirc "ô" -- small o, circumflex accent --> |
|
|
<!ENTITY ograve "ò" -- small o, grave accent --> |
|
|
<!ENTITY oslash "ø" -- small o, slash --> |
|
|
<!ENTITY otilde "õ" -- small o, tilde --> |
|
|
<!ENTITY ouml "ö" -- small o, dieresis or umlaut mark --> |
|
|
<!ENTITY szlig "ß" -- small sharp s, German (sz ligature) --> |
|
|
<!ENTITY thorn "þ" -- small thorn, Icelandic --> |
|
|
<!ENTITY uacute "ú" -- small u, acute accent --> |
|
|
<!ENTITY ucirc "û" -- small u, circumflex accent --> |
|
|
<!ENTITY ugrave "ù" -- small u, grave accent --> |
|
|
<!ENTITY uuml "ü" -- small u, dieresis or umlaut mark --> |
|
|
<!ENTITY yacute "ý" -- small y, acute accent --> |
|
|
<!ENTITY yuml "ÿ" -- small y, dieresis or umlaut mark --> |
|
153 |
|
|
154 |
<!-- deprecated elements --> |
<!-- deprecated elements --> |
155 |
|
|
157 |
|
|
158 |
<!ELEMENT PLAINTEXT - O EMPTY> |
<!ELEMENT PLAINTEXT - O EMPTY> |
159 |
|
|
|
<!-- Local Variables: --> |
|
|
<!-- mode: sgml --> |
|
|
<!-- compile-command: "sgmls -s -p " --> |
|
|
<!-- end: --> |
|