1 |
connolly |
1.5 |
<!SGML "ISO 8879:1986" |
2 |
|
|
-- |
3 |
connolly |
1.6 |
Document Type Definition for the HyperText Markup Language |
4 |
|
|
as used by the World Wide Web application (HTML DTD). |
5 |
connolly |
1.5 |
|
6 |
connolly |
1.6 |
NOTE: This is a definition of HTML with respect to |
7 |
|
|
SGML, and assumes an understanding of SGML terms. |
8 |
connolly |
1.5 |
|
9 |
connolly |
1.6 |
If you find bugs in this DTD or find it does not compile |
10 |
|
|
under some circumstances please mail www-bug@info.cern.ch |
11 |
connolly |
1.5 |
-- |
12 |
|
|
|
13 |
|
|
CHARSET |
14 |
|
|
BASESET "ISO 646:1983//CHARSET |
15 |
|
|
International Reference Version (IRV)//ESC 2/5 4/0" |
16 |
|
|
DESCSET 0 9 UNUSED |
17 |
|
|
9 2 9 |
18 |
|
|
11 2 UNUSED |
19 |
|
|
13 1 13 |
20 |
|
|
14 18 UNUSED |
21 |
|
|
32 95 32 |
22 |
|
|
127 1 UNUSED |
23 |
connolly |
1.6 |
BASESET "ISO Registration Number 100//CHARSET |
24 |
|
|
ECMA-94 Right Part of Latin Alphabet Nr. 1//ESC 2/13 4/1" |
25 |
|
|
DESCSET 128 32 UNUSED |
26 |
|
|
160 95 32 |
27 |
|
|
255 1 UNUSED |
28 |
connolly |
1.5 |
|
29 |
connolly |
1.6 |
|
30 |
|
|
CAPACITY SGMLREF |
31 |
|
|
TOTALCAP 150000 |
32 |
|
|
GRPCAP 150000 |
33 |
|
|
|
34 |
connolly |
1.5 |
SCOPE DOCUMENT |
35 |
connolly |
1.6 |
SYNTAX |
36 |
connolly |
1.5 |
SHUNCHAR CONTROLS 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
37 |
|
|
19 20 21 22 23 24 25 26 27 28 29 30 31 127 255 |
38 |
|
|
BASESET "ISO 646:1983//CHARSET |
39 |
|
|
International Reference Version (IRV)//ESC 2/5 4/0" |
40 |
|
|
DESCSET 0 128 0 |
41 |
|
|
FUNCTION RE 13 |
42 |
|
|
RS 10 |
43 |
|
|
SPACE 32 |
44 |
|
|
TAB SEPCHAR 9 |
45 |
|
|
NAMING LCNMSTRT "" |
46 |
|
|
UCNMSTRT "" |
47 |
|
|
LCNMCHAR ".-" |
48 |
|
|
UCNMCHAR ".-" |
49 |
|
|
NAMECASE GENERAL YES |
50 |
|
|
ENTITY NO |
51 |
|
|
DELIM GENERAL SGMLREF |
52 |
|
|
SHORTREF SGMLREF |
53 |
|
|
NAMES SGMLREF |
54 |
|
|
QUANTITY SGMLREF |
55 |
|
|
NAMELEN 34 |
56 |
|
|
TAGLVL 100 |
57 |
|
|
LITLEN 1024 |
58 |
|
|
GRPGTCNT 150 |
59 |
connolly |
1.6 |
GRPCNT 64 |
60 |
connolly |
1.5 |
|
61 |
|
|
FEATURES |
62 |
|
|
MINIMIZE |
63 |
|
|
DATATAG NO |
64 |
|
|
OMITTAG NO |
65 |
|
|
RANK NO |
66 |
|
|
SHORTTAG NO |
67 |
|
|
LINK |
68 |
|
|
SIMPLE NO |
69 |
|
|
IMPLICIT NO |
70 |
|
|
EXPLICIT NO |
71 |
|
|
OTHER |
72 |
|
|
CONCUR NO |
73 |
|
|
SUBDOC NO |
74 |
|
|
FORMAL YES |
75 |
|
|
APPINFO NONE |
76 |
|
|
> |
77 |
|
|
|
78 |
|
|
<!DOCTYPE HTML [ |
79 |
connolly |
1.6 |
<!-- Jul 1 93 --> |
80 |
|
|
<!-- Regarding clause 6.1, SGML Document: |
81 |
connolly |
1.2 |
|
82 |
connolly |
1.6 |
[1] SGML document = SGML document entity, |
83 |
|
|
(SGML subdocument entity | |
84 |
|
|
SGML text entity | non-SGML data entity)* |
85 |
connolly |
1.2 |
|
86 |
connolly |
1.6 |
The role of SGML document entity is filled by this DTD, |
87 |
|
|
followed by the conventional HTML data stream. |
88 |
connolly |
1.2 |
--> |
89 |
|
|
|
90 |
connolly |
1.3 |
<!-- DTD definitions --> |
91 |
|
|
|
92 |
connolly |
1.2 |
<!ENTITY % heading "H1|H2|H3|H4|H5|H6" > |
93 |
connolly |
1.6 |
<!ENTITY % list " UL | OL | DIR | MENU "> |
94 |
|
|
<!ENTITY % literal " XMP | LISTING "> |
95 |
connolly |
1.2 |
|
96 |
|
|
<!ENTITY % headelement |
97 |
connolly |
1.6 |
" TITLE | NEXTID |ISINDEX" > |
98 |
connolly |
1.2 |
|
99 |
|
|
<!ENTITY % bodyelement |
100 |
connolly |
1.6 |
"P | HR | %heading | |
101 |
|
|
%list | DL | ADDRESS | PRE | BLOCKQUOTE |
102 |
|
|
| %literal"> |
103 |
connolly |
1.3 |
|
104 |
|
|
<!ENTITY % oldstyle "%headelement | %bodyelement | #PCDATA"> |
105 |
connolly |
1.5 |
|
106 |
connolly |
1.6 |
<!ENTITY % URL "CDATA" |
107 |
|
|
-- The term URL means a CDATA attribute |
108 |
|
|
whose value is a Uniform Resource Locator, |
109 |
|
|
as defined. (A URN may also be usable here when defined.) |
110 |
|
|
--> |
111 |
|
|
|
112 |
|
|
<!ENTITY % linkattributes |
113 |
|
|
"NAME NMTOKEN #IMPLIED |
114 |
|
|
HREF %URL; #IMPLIED |
115 |
|
|
REL CDATA #IMPLIED -- forward relationship type -- |
116 |
|
|
REV CDATA #IMPLIED -- reversed relationship type |
117 |
|
|
to referent data: |
118 |
|
|
|
119 |
|
|
PARENT CHILD, SIBLING, NEXT, TOP, |
120 |
|
|
DEFINITION, UPDATE, ORIGINAL etc. -- |
121 |
|
|
|
122 |
|
|
URN CDATA #IMPLIED -- universal resource number -- |
123 |
|
|
|
124 |
|
|
TITLE CDATA #IMPLIED -- advisory only -- |
125 |
connolly |
1.5 |
|
126 |
connolly |
1.6 |
METHODS NAMES #IMPLIED -- supported public methods of the object: |
127 |
|
|
TEXTSEARCH, GET, HEAD, ... -- |
128 |
connolly |
1.3 |
|
129 |
connolly |
1.6 |
"> |
130 |
|
|
|
131 |
|
|
|
132 |
connolly |
1.4 |
<!-- Document Element --> |
133 |
connolly |
1.2 |
|
134 |
connolly |
1.6 |
<!ELEMENT HTML O O (( HEAD | BODY | %oldstyle )*, PLAINTEXT?)> |
135 |
|
|
|
136 |
|
|
<!ELEMENT HEAD - - ( TITLE? & ISINDEX? & NEXTID? & LINK* |
137 |
|
|
& BASE?)> |
138 |
connolly |
1.2 |
|
139 |
connolly |
1.6 |
<!ELEMENT TITLE - - RCDATA |
140 |
|
|
-- The TITLE element is not considered part of the flow of text. |
141 |
|
|
It should be displayed, for example as the page header or |
142 |
|
|
window title. |
143 |
|
|
--> |
144 |
connolly |
1.2 |
|
145 |
|
|
<!ELEMENT ISINDEX - O EMPTY |
146 |
connolly |
1.6 |
-- WWW clients should offer the option to perform a search on |
147 |
|
|
documents containing ISINDEX. |
148 |
|
|
--> |
149 |
|
|
|
150 |
connolly |
1.2 |
<!ELEMENT NEXTID - O EMPTY> |
151 |
connolly |
1.6 |
<!ATTLIST NEXTID N NAME #REQUIRED |
152 |
|
|
-- The number should be a name suitable for use |
153 |
|
|
for the ID of a new element. When used, the value |
154 |
|
|
has its numeric part incremented. EG Z67 becomes Z68 |
155 |
|
|
--> |
156 |
|
|
<!ELEMENT LINK - O EMPTY> |
157 |
|
|
<!ATTLIST LINK |
158 |
|
|
%linkattributes> |
159 |
|
|
|
160 |
|
|
<!ELEMENT BASE - O EMPTY -- Reference context for URLS --> |
161 |
|
|
<!ATTLIST BASE |
162 |
|
|
|
163 |
|
|
HREF %URL; #IMPLIED |
164 |
|
|
|
165 |
|
|
> |
166 |
connolly |
1.3 |
<!ENTITY % inline "EM | TT | STRONG | B | I | U | |
167 |
connolly |
1.6 |
CODE | SAMP | KBD | KEY | VAR | DFN | CITE " |
168 |
|
|
> |
169 |
connolly |
1.3 |
|
170 |
|
|
<!ELEMENT (%inline;) - - (#PCDATA)> |
171 |
|
|
|
172 |
connolly |
1.6 |
<!ENTITY % text "#PCDATA | IMG | %inline;"> |
173 |
|
|
|
174 |
|
|
<!ENTITY % htext "A | %text" -- Plus links, no structure --> |
175 |
connolly |
1.4 |
|
176 |
connolly |
1.6 |
<!ENTITY % stext -- as htext but also nested structure -- |
177 |
|
|
"P | HR | %list | DL | ADDRESS |
178 |
|
|
| PRE | BLOCKQUOTE |
179 |
|
|
| %literal | %htext"> |
180 |
connolly |
1.5 |
|
181 |
connolly |
1.6 |
|
182 |
|
|
<!ELEMENT BODY - - (%bodyelement|%htext;)*> |
183 |
|
|
|
184 |
connolly |
1.4 |
|
185 |
connolly |
1.6 |
<!ELEMENT A - - (%text)> |
186 |
connolly |
1.4 |
<!ATTLIST A |
187 |
connolly |
1.6 |
%linkattributes; |
188 |
|
|
> |
189 |
|
|
|
190 |
|
|
<!ELEMENT IMG - O EMPTY -- Embedded image --> |
191 |
|
|
<!ATTLIST IMG |
192 |
|
|
SRC %URL; #IMPLIED -- URL of document to embed -- |
193 |
|
|
> |
194 |
|
|
|
195 |
|
|
|
196 |
|
|
<!ELEMENT P - O EMPTY -- separates paragraphs --> |
197 |
|
|
<!ELEMENT HR - O EMPTY -- horizontal rule --> |
198 |
|
|
|
199 |
|
|
<!ELEMENT ( %heading ) - - (%htext;)+> |
200 |
|
|
|
201 |
|
|
<!ELEMENT DL - - (DT | DD | %stext;)*> |
202 |
|
|
<!-- Content should match ((DT,(%htext;)+)+,(DD,(%stext;)+)) |
203 |
|
|
But mixed content is messy. -Dan Connolly |
204 |
connolly |
1.2 |
--> |
205 |
connolly |
1.6 |
|
206 |
|
|
<!ELEMENT DT - O EMPTY> |
207 |
|
|
<!ELEMENT DD - O EMPTY> |
208 |
|
|
|
209 |
|
|
<!ELEMENT (UL|OL) - - (%htext;|LI|P)+> |
210 |
|
|
<!ELEMENT (DIR|MENU) - - (%htext;|LI)+> |
211 |
|
|
<!-- Content should match ((LI,(%htext;)+)+) |
212 |
|
|
But mixed content is messy. |
213 |
connolly |
1.2 |
--> |
214 |
connolly |
1.5 |
<!ATTLIST (%list) |
215 |
connolly |
1.6 |
COMPACT NAME #IMPLIED -- COMPACT, etc.-- |
216 |
|
|
> |
217 |
connolly |
1.2 |
|
218 |
connolly |
1.6 |
<!ELEMENT LI - O EMPTY> |
219 |
connolly |
1.2 |
|
220 |
connolly |
1.6 |
<!ELEMENT BLOCKQUOTE - - (%htext;|P)+ |
221 |
|
|
-- for quoting some other source --> |
222 |
connolly |
1.3 |
|
223 |
connolly |
1.6 |
<!ELEMENT ADDRESS - - (%htext;|P)+> |
224 |
connolly |
1.2 |
|
225 |
connolly |
1.6 |
<!ELEMENT PRE - - (#PCDATA|%inline|A|P)+> |
226 |
connolly |
1.2 |
<!ATTLIST PRE |
227 |
connolly |
1.6 |
WIDTH NUMBER #implied |
228 |
connolly |
1.2 |
> |
229 |
|
|
|
230 |
connolly |
1.6 |
<!-- Mnemonic character entities. --> |
231 |
|
|
<!ENTITY AElig "Æ" -- capital AE diphthong (ligature) --> |
232 |
|
|
<!ENTITY Aacute "Á" -- capital A, acute accent --> |
233 |
|
|
<!ENTITY Acirc "Â" -- capital A, circumflex accent --> |
234 |
|
|
<!ENTITY Agrave "À" -- capital A, grave accent --> |
235 |
|
|
<!ENTITY Aring "Å" -- capital A, ring --> |
236 |
|
|
<!ENTITY Atilde "Ã" -- capital A, tilde --> |
237 |
|
|
<!ENTITY Auml "Ä" -- capital A, dieresis or umlaut mark --> |
238 |
|
|
<!ENTITY Ccedil "Ç" -- capital C, cedilla --> |
239 |
|
|
<!ENTITY ETH "Ð" -- capital Eth, Icelandic --> |
240 |
|
|
<!ENTITY Eacute "É" -- capital E, acute accent --> |
241 |
|
|
<!ENTITY Ecirc "Ê" -- capital E, circumflex accent --> |
242 |
|
|
<!ENTITY Egrave "È" -- capital E, grave accent --> |
243 |
|
|
<!ENTITY Euml "Ë" -- capital E, dieresis or umlaut mark --> |
244 |
|
|
<!ENTITY Iacute "Í" -- capital I, acute accent --> |
245 |
|
|
<!ENTITY Icirc "Î" -- capital I, circumflex accent --> |
246 |
|
|
<!ENTITY Igrave "Ì" -- capital I, grave accent --> |
247 |
|
|
<!ENTITY Iuml "Ï" -- capital I, dieresis or umlaut mark --> |
248 |
|
|
<!ENTITY Ntilde "Ñ" -- capital N, tilde --> |
249 |
|
|
<!ENTITY Oacute "Ó" -- capital O, acute accent --> |
250 |
|
|
<!ENTITY Ocirc "Ô" -- capital O, circumflex accent --> |
251 |
|
|
<!ENTITY Ograve "Ò" -- capital O, grave accent --> |
252 |
|
|
<!ENTITY Oslash "Ø" -- capital O, slash --> |
253 |
|
|
<!ENTITY Otilde "Õ" -- capital O, tilde --> |
254 |
|
|
<!ENTITY Ouml "Ö" -- capital O, dieresis or umlaut mark --> |
255 |
|
|
<!ENTITY THORN "Þ" -- capital THORN, Icelandic --> |
256 |
|
|
<!ENTITY Uacute "Ú" -- capital U, acute accent --> |
257 |
|
|
<!ENTITY Ucirc "Û" -- capital U, circumflex accent --> |
258 |
|
|
<!ENTITY Ugrave "Ù" -- capital U, grave accent --> |
259 |
|
|
<!ENTITY Uuml "Ü" -- capital U, dieresis or umlaut mark --> |
260 |
|
|
<!ENTITY Yacute "Ý" -- capital Y, acute accent --> |
261 |
|
|
<!ENTITY aacute "á" -- small a, acute accent --> |
262 |
|
|
<!ENTITY acirc "â" -- small a, circumflex accent --> |
263 |
|
|
<!ENTITY aelig "æ" -- small ae diphthong (ligature) --> |
264 |
|
|
<!ENTITY agrave "à" -- small a, grave accent --> |
265 |
|
|
<!ENTITY amp "&" -- ampersand --> |
266 |
|
|
<!ENTITY aring "å" -- small a, ring --> |
267 |
|
|
<!ENTITY atilde "ã" -- small a, tilde --> |
268 |
|
|
<!ENTITY auml "ä" -- small a, dieresis or umlaut mark --> |
269 |
|
|
<!ENTITY ccedil "ç" -- small c, cedilla --> |
270 |
|
|
<!ENTITY eacute "é" -- small e, acute accent --> |
271 |
|
|
<!ENTITY ecirc "ê" -- small e, circumflex accent --> |
272 |
|
|
<!ENTITY egrave "è" -- small e, grave accent --> |
273 |
|
|
<!ENTITY eth "ð" -- small eth, Icelandic --> |
274 |
|
|
<!ENTITY euml "ë" -- small e, dieresis or umlaut mark --> |
275 |
|
|
<!ENTITY gt ">" -- greater than --> |
276 |
|
|
<!ENTITY iacute "í" -- small i, acute accent --> |
277 |
|
|
<!ENTITY icirc "î" -- small i, circumflex accent --> |
278 |
|
|
<!ENTITY igrave "ì" -- small i, grave accent --> |
279 |
|
|
<!ENTITY iuml "ï" -- small i, dieresis or umlaut mark --> |
280 |
|
|
<!ENTITY lt "<" -- less than --> |
281 |
|
|
<!ENTITY nbsp " " -- should be NON_BREAKING space --> |
282 |
|
|
<!ENTITY ntilde "ñ" -- small n, tilde --> |
283 |
|
|
<!ENTITY oacute "ó" -- small o, acute accent --> |
284 |
|
|
<!ENTITY ocirc "ô" -- small o, circumflex accent --> |
285 |
|
|
<!ENTITY ograve "ò" -- small o, grave accent --> |
286 |
|
|
<!ENTITY oslash "ø" -- small o, slash --> |
287 |
|
|
<!ENTITY otilde "õ" -- small o, tilde --> |
288 |
|
|
<!ENTITY ouml "ö" -- small o, dieresis or umlaut mark --> |
289 |
|
|
<!ENTITY szlig "ß" -- small sharp s, German (sz ligature) --> |
290 |
|
|
<!ENTITY thorn "þ" -- small thorn, Icelandic --> |
291 |
|
|
<!ENTITY uacute "ú" -- small u, acute accent --> |
292 |
|
|
<!ENTITY ucirc "û" -- small u, circumflex accent --> |
293 |
|
|
<!ENTITY ugrave "ù" -- small u, grave accent --> |
294 |
|
|
<!ENTITY uuml "ü" -- small u, dieresis or umlaut mark --> |
295 |
|
|
<!ENTITY yacute "ý" -- small y, acute accent --> |
296 |
|
|
<!ENTITY yuml "ÿ" -- small y, dieresis or umlaut mark --> |
297 |
|
|
|
298 |
connolly |
1.3 |
<!-- deprecated elements --> |
299 |
|
|
|
300 |
connolly |
1.6 |
<!ELEMENT (%literal) - - CDATA> |
301 |
connolly |
1.2 |
|
302 |
|
|
<!ELEMENT PLAINTEXT - O EMPTY> |
303 |
|
|
|
304 |
connolly |
1.3 |
<!-- Local Variables: --> |
305 |
|
|
<!-- mode: sgml --> |
306 |
|
|
<!-- compile-command: "sgmls -s -p " --> |
307 |
|
|
<!-- end: --> |
308 |
connolly |
1.5 |
]> |
309 |
connolly |
1.6 |
|
310 |
|
|
|
311 |
|
|
|
312 |
|
|
|
313 |
|
|
|
314 |
|
|
|
315 |
|
|
|
316 |
|
|
|
317 |
|
|
|
318 |
|
|
|
319 |
|
|
|
320 |
|
|
|
321 |
|
|
|