-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHTML.dtd.html
More file actions
executable file
·377 lines (306 loc) · 12.8 KB
/
HTML.dtd.html
File metadata and controls
executable file
·377 lines (306 loc) · 12.8 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
<!DOCTYPE HTML PUBLIC "-//connolly hal.com//DTD WWW HTML Date 1994/04/19 17:24:06 //EN">
<HTML>
<HEAD>
<TITLE>The Annotated HTML DTD</TITLE> <NEXTID
N="z48"></HEAD>
<BODY>
<PRE>
<!SGML "ISO 8879:1986"
--
Document Type Definition for the <A
HREF="MarkUp.html" NAME="z12">HyperText Markup Language</A>
as used by the <A
HREF="../TheProject.html" NAME="z13">World Wide Web</A> application (HTML DTD).
NOTE: This is a definition of HTML with respect to
SGML, and assumes an understanding of SGML terms.
If you find bugs in this DTD or find it does not compile
under some circumstances please mail www-bug@info.cern.ch
--
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 [
<!-- Jul 1 93 -->
<!-- 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 % <A
HREF="Headings.html" NAME="z1">heading</A> "H1|H2|H3|H4|H5|H6" >
<!ENTITY % <A
HREF="Lists.html" NAME="z2">list</A> "<A
HREF="Lists.html#z35" NAME="z28"> UL</A> |<A
HREF="Lists.html#z41" NAME="z30"> OL</A> |<A
HREF="Lists.html#z40" NAME="z31"> DIR</A> |<A
HREF="Lists.html#z36" NAME="z29"> MENU</A> ">
<!ENTITY % <A
HREF="NonStandard.html#8" NAME="z18">literal</A> "<A
HREF="LiteralHistory.html#z1" NAME="z33"> XMP</A> |<A
HREF="LiteralHistory.html#z1" NAME="z32"> LISTING</A> ">
<!ENTITY % <A
HREF="Tags.html#z30" NAME="z15">headelement</A>
"<A
HREF="Elements/TITLE.html" NAME="z16"> TITLE</A> |<A
HREF="Elements/NEXTID.html" NAME="z17"> NEXTID</A> |ISINDEX" >
<!ENTITY % <A
HREF="Tags.html#z44" NAME="z19">bodyelement</A>
"P | HR | %heading |
%list | DL | ADDRESS | PRE | BLOCKQUOTE
| %literal">
<!ENTITY % <A
HREF="Tags.html#z49" NAME="z20">oldstyle</A> "%headelement | <A
HREF="#z19" NAME="z46">%bodyelement</A> | #PCDATA">
<!ENTITY % <A
NAME="z42">URL</A> "CDATA"
-- The term URL means a CDATA attribute
whose value is a Uniform Resource Locator,
as defined. (A URN may also be usable here when defined.)
-->
<!ENTITY % linkattributes
"NAME NMTOKEN #IMPLIED
HREF <A
HREF="#z42" NAME="z44">%URL;</A> #IMPLIED
REL CDATA #IMPLIED -- forward relationship type --
REV CDATA #IMPLIED -- reversed relationship type
to referent data:
PARENT CHILD, SIBLING, NEXT, TOP,
DEFINITION, UPDATE, ORIGINAL etc. --
URN CDATA #IMPLIED -- universal resource number --
TITLE CDATA #IMPLIED -- advisory only --
METHODS NAMES #IMPLIED -- supported public methods of the object:
TEXTSEARCH, GET, HEAD, ... --
">
<!-- Document Element -->
<!ELEMENT HTML O O ((<A
HREF="Elements/HEAD.html" NAME="z5"> HEAD</A> | <A
HREF="Elements/BODY.html" NAME="z4">BODY</A> | <A
HREF="Tags.html#z49" NAME="z21">%oldstyle</A> )*, PLAINTEXT?)>
<!ELEMENT HEAD - - (<A
HREF="Elements/TITLE.html" NAME="z6"> TITLE?</A> & <A
HREF="Elements/ISINDEX.html" NAME="z8">ISINDEX?</A> & <A
HREF="Elements/NEXTID.html" NAME="z9">NEXTID?</A> & <A
HREF="#z22" NAME="z37">LINK*</A>
& <A
HREF="#z38" NAME="z39">BASE?)></A>
<!ELEMENT <A
HREF="Elements/TITLE.html" NAME="z3">TITLE</A> - - 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 <A
HREF="Elements/ISINDEX.html" NAME="z7">ISINDEX</A> - O EMPTY
-- WWW clients should offer the option to perform a search on
documents containing ISINDEX.
-->
<!ELEMENT <A
HREF="Elements/NEXTID.html" NAME="z10">NEXTID</A> - O EMPTY>
<!ATTLIST NEXTID N NAME #REQUIRED
-- The number should be a name suitable for use
for the ID of a new element. When used, the value
has its numeric part incremented. EG Z67 becomes Z68
-->
<!ELEMENT <A
HREF="Tags.html#z49" NAME="z22">LINK</A> - O EMPTY>
<!ATTLIST LINK
%linkattributes>
<!ELEMENT <A
NAME="z38">BASE</A> - O EMPTY -- Reference context for URLS -->
<!ATTLIST BASE
HREF %URL; #IMPLIED
>
<!ENTITY % <A
HREF="Highlighting.html" NAME="z11">inline</A> "EM | TT | STRONG | B | I | U |
CODE | SAMP | KBD | KEY | VAR | DFN | CITE "
>
<!ELEMENT (%inline;) - - (#PCDATA)>
<!ENTITY % text "#PCDATA | IMG | %inline;">
<!ENTITY % htext "A | %text" -- Plus links, no structure -->
<!ENTITY % stext -- as htext but also nested structure --
"P | HR | %list | DL | ADDRESS
| PRE | BLOCKQUOTE
| %literal | %htext">
<!ELEMENT BODY - - (%bodyelement|%htext;)*>
<!ELEMENT <A
HREF="Tags.html#z49" NAME="z24">A</A> - - (%text)>
<!ATTLIST A
%linkattributes;
>
<!ELEMENT <A
HREF="Elements/IMG.html" NAME="z40">IMG</A> - O EMPTY -- Embedded image -->
<!ATTLIST IMG
<A
NAME="z41">SRC</A> <A HREF="#z42" NAME="z43">%URL;</A> #IMPLIED -- URL of document to embed --
>
<!ELEMENT <A
HREF="Elements/P.html" NAME="z26">P</A> - O EMPTY -- separates paragraphs -->
<!ELEMENT <A
HREF="Elements/HR.html" NAME="z45">HR</A> - O EMPTY -- horizontal rule -->
<!ELEMENT (<A
HREF="Tags.html#z49" NAME="z23"> %heading</A> ) - - (%htext;)+>
<!ELEMENT <A
HREF="Lists.html#z32" NAME="z25">DL</A> - - (DT | DD | %stext;)*>
<!-- Content should match ((DT,(%htext;)+)+,(DD,(%stext;)+))
But mixed content is messy. -Dan Connolly
-->
<!ELEMENT DT - O EMPTY>
<!ELEMENT DD - O EMPTY>
<!ELEMENT (UL|OL) - - (%htext;|LI|P)+>
<!ELEMENT (DIR|MENU) - - (%htext;|LI)+>
<!-- Content should match ((LI,(%htext;)+)+)
But mixed content is messy.
-->
<!ATTLIST (%list)
COMPACT NAME #IMPLIED -- COMPACT, etc.--
>
<!ELEMENT <A
HREF="Lists.html#z33" NAME="z27">LI</A> - O EMPTY>
<!ELEMENT <A
NAME="z36">BLOCKQUOTE</A> - - (%htext;|P)+
-- for quoting some other source -->
<!ELEMENT ADDRESS - - (%htext;|P)+>
<!ELEMENT <A
HREF="Elements/PRE.html" NAME="z34">PRE</A> - - (#PCDATA|%inline|A|P)+>
<!ATTLIST PRE
WIDTH NUMBER #implied
>
<!-- Mnemonic character entities. -->
<!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 nbsp "&#32;" -- should be NON_BREAKING space -->
<!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) - - CDATA>
<!ELEMENT <A
HREF="NonStandard.html#7" NAME="z35">PLAINTEXT</A> - O EMPTY>
<!-- Local Variables: -->
<!-- mode: sgml -->
<!-- compile-command: "sgmls -s -p " -->
<!-- end: -->
]>
</PRE>
</BODY>
</HTML>