1 |
connolly |
1.7 |
<!-- html.dtd |
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.7 |
$Id$ |
7 |
connolly |
1.2 |
--> |
8 |
|
|
|
9 |
connolly |
1.3 |
<!-- DTD definitions --> |
10 |
|
|
|
11 |
connolly |
1.2 |
<!ENTITY % heading "H1|H2|H3|H4|H5|H6" > |
12 |
connolly |
1.6 |
<!ENTITY % list " UL | OL | DIR | MENU "> |
13 |
|
|
<!ENTITY % literal " XMP | LISTING "> |
14 |
connolly |
1.2 |
|
15 |
|
|
<!ENTITY % headelement |
16 |
connolly |
1.6 |
" TITLE | NEXTID |ISINDEX" > |
17 |
connolly |
1.2 |
|
18 |
|
|
<!ENTITY % bodyelement |
19 |
connolly |
1.6 |
"P | HR | %heading | |
20 |
|
|
%list | DL | ADDRESS | PRE | BLOCKQUOTE |
21 |
|
|
| %literal"> |
22 |
connolly |
1.3 |
|
23 |
|
|
<!ENTITY % oldstyle "%headelement | %bodyelement | #PCDATA"> |
24 |
connolly |
1.5 |
|
25 |
connolly |
1.6 |
<!ENTITY % URL "CDATA" |
26 |
|
|
-- The term URL means a CDATA attribute |
27 |
|
|
whose value is a Uniform Resource Locator, |
28 |
|
|
as defined. (A URN may also be usable here when defined.) |
29 |
|
|
--> |
30 |
|
|
|
31 |
|
|
<!ENTITY % linkattributes |
32 |
|
|
"NAME NMTOKEN #IMPLIED |
33 |
|
|
HREF %URL; #IMPLIED |
34 |
|
|
REL CDATA #IMPLIED -- forward relationship type -- |
35 |
|
|
REV CDATA #IMPLIED -- reversed relationship type |
36 |
|
|
to referent data: |
37 |
|
|
|
38 |
|
|
PARENT CHILD, SIBLING, NEXT, TOP, |
39 |
|
|
DEFINITION, UPDATE, ORIGINAL etc. -- |
40 |
|
|
|
41 |
|
|
URN CDATA #IMPLIED -- universal resource number -- |
42 |
|
|
|
43 |
|
|
TITLE CDATA #IMPLIED -- advisory only -- |
44 |
connolly |
1.5 |
|
45 |
connolly |
1.6 |
METHODS NAMES #IMPLIED -- supported public methods of the object: |
46 |
|
|
TEXTSEARCH, GET, HEAD, ... -- |
47 |
connolly |
1.3 |
|
48 |
connolly |
1.6 |
"> |
49 |
|
|
|
50 |
|
|
|
51 |
connolly |
1.4 |
<!-- Document Element --> |
52 |
connolly |
1.2 |
|
53 |
connolly |
1.6 |
<!ELEMENT HTML O O (( HEAD | BODY | %oldstyle )*, PLAINTEXT?)> |
54 |
|
|
|
55 |
|
|
<!ELEMENT HEAD - - ( TITLE? & ISINDEX? & NEXTID? & LINK* |
56 |
|
|
& BASE?)> |
57 |
connolly |
1.2 |
|
58 |
connolly |
1.6 |
<!ELEMENT TITLE - - RCDATA |
59 |
|
|
-- The TITLE element is not considered part of the flow of text. |
60 |
|
|
It should be displayed, for example as the page header or |
61 |
|
|
window title. |
62 |
|
|
--> |
63 |
connolly |
1.2 |
|
64 |
|
|
<!ELEMENT ISINDEX - O EMPTY |
65 |
connolly |
1.6 |
-- WWW clients should offer the option to perform a search on |
66 |
|
|
documents containing ISINDEX. |
67 |
|
|
--> |
68 |
|
|
|
69 |
connolly |
1.2 |
<!ELEMENT NEXTID - O EMPTY> |
70 |
connolly |
1.6 |
<!ATTLIST NEXTID N NAME #REQUIRED |
71 |
|
|
-- The number should be a name suitable for use |
72 |
|
|
for the ID of a new element. When used, the value |
73 |
|
|
has its numeric part incremented. EG Z67 becomes Z68 |
74 |
|
|
--> |
75 |
|
|
<!ELEMENT LINK - O EMPTY> |
76 |
|
|
<!ATTLIST LINK |
77 |
|
|
%linkattributes> |
78 |
|
|
|
79 |
|
|
<!ELEMENT BASE - O EMPTY -- Reference context for URLS --> |
80 |
|
|
<!ATTLIST BASE |
81 |
|
|
|
82 |
|
|
HREF %URL; #IMPLIED |
83 |
|
|
|
84 |
|
|
> |
85 |
connolly |
1.3 |
<!ENTITY % inline "EM | TT | STRONG | B | I | U | |
86 |
connolly |
1.6 |
CODE | SAMP | KBD | KEY | VAR | DFN | CITE " |
87 |
|
|
> |
88 |
connolly |
1.3 |
|
89 |
|
|
<!ELEMENT (%inline;) - - (#PCDATA)> |
90 |
|
|
|
91 |
connolly |
1.6 |
<!ENTITY % text "#PCDATA | IMG | %inline;"> |
92 |
|
|
|
93 |
|
|
<!ENTITY % htext "A | %text" -- Plus links, no structure --> |
94 |
connolly |
1.4 |
|
95 |
connolly |
1.6 |
<!ENTITY % stext -- as htext but also nested structure -- |
96 |
|
|
"P | HR | %list | DL | ADDRESS |
97 |
|
|
| PRE | BLOCKQUOTE |
98 |
|
|
| %literal | %htext"> |
99 |
connolly |
1.5 |
|
100 |
connolly |
1.6 |
|
101 |
|
|
<!ELEMENT BODY - - (%bodyelement|%htext;)*> |
102 |
|
|
|
103 |
connolly |
1.4 |
|
104 |
connolly |
1.6 |
<!ELEMENT A - - (%text)> |
105 |
connolly |
1.4 |
<!ATTLIST A |
106 |
connolly |
1.6 |
%linkattributes; |
107 |
|
|
> |
108 |
|
|
|
109 |
|
|
<!ELEMENT IMG - O EMPTY -- Embedded image --> |
110 |
|
|
<!ATTLIST IMG |
111 |
|
|
SRC %URL; #IMPLIED -- URL of document to embed -- |
112 |
|
|
> |
113 |
|
|
|
114 |
|
|
|
115 |
|
|
<!ELEMENT P - O EMPTY -- separates paragraphs --> |
116 |
|
|
<!ELEMENT HR - O EMPTY -- horizontal rule --> |
117 |
|
|
|
118 |
|
|
<!ELEMENT ( %heading ) - - (%htext;)+> |
119 |
|
|
|
120 |
|
|
<!ELEMENT DL - - (DT | DD | %stext;)*> |
121 |
|
|
<!-- Content should match ((DT,(%htext;)+)+,(DD,(%stext;)+)) |
122 |
|
|
But mixed content is messy. -Dan Connolly |
123 |
connolly |
1.2 |
--> |
124 |
connolly |
1.6 |
|
125 |
|
|
<!ELEMENT DT - O EMPTY> |
126 |
|
|
<!ELEMENT DD - O EMPTY> |
127 |
|
|
|
128 |
|
|
<!ELEMENT (UL|OL) - - (%htext;|LI|P)+> |
129 |
|
|
<!ELEMENT (DIR|MENU) - - (%htext;|LI)+> |
130 |
|
|
<!-- Content should match ((LI,(%htext;)+)+) |
131 |
|
|
But mixed content is messy. |
132 |
connolly |
1.2 |
--> |
133 |
connolly |
1.5 |
<!ATTLIST (%list) |
134 |
connolly |
1.6 |
COMPACT NAME #IMPLIED -- COMPACT, etc.-- |
135 |
|
|
> |
136 |
connolly |
1.2 |
|
137 |
connolly |
1.6 |
<!ELEMENT LI - O EMPTY> |
138 |
connolly |
1.2 |
|
139 |
connolly |
1.6 |
<!ELEMENT BLOCKQUOTE - - (%htext;|P)+ |
140 |
|
|
-- for quoting some other source --> |
141 |
connolly |
1.3 |
|
142 |
connolly |
1.6 |
<!ELEMENT ADDRESS - - (%htext;|P)+> |
143 |
connolly |
1.2 |
|
144 |
connolly |
1.6 |
<!ELEMENT PRE - - (#PCDATA|%inline|A|P)+> |
145 |
connolly |
1.2 |
<!ATTLIST PRE |
146 |
connolly |
1.6 |
WIDTH NUMBER #implied |
147 |
connolly |
1.2 |
> |
148 |
|
|
|
149 |
connolly |
1.6 |
<!-- Mnemonic character entities. --> |
150 |
|
|
<!ENTITY AElig "Æ" -- capital AE diphthong (ligature) --> |
151 |
|
|
<!ENTITY Aacute "Á" -- capital A, acute accent --> |
152 |
|
|
<!ENTITY Acirc "Â" -- capital A, circumflex accent --> |
153 |
|
|
<!ENTITY Agrave "À" -- capital A, grave accent --> |
154 |
|
|
<!ENTITY Aring "Å" -- capital A, ring --> |
155 |
|
|
<!ENTITY Atilde "Ã" -- capital A, tilde --> |
156 |
|
|
<!ENTITY Auml "Ä" -- capital A, dieresis or umlaut mark --> |
157 |
|
|
<!ENTITY Ccedil "Ç" -- capital C, cedilla --> |
158 |
|
|
<!ENTITY ETH "Ð" -- capital Eth, Icelandic --> |
159 |
|
|
<!ENTITY Eacute "É" -- capital E, acute accent --> |
160 |
|
|
<!ENTITY Ecirc "Ê" -- capital E, circumflex accent --> |
161 |
|
|
<!ENTITY Egrave "È" -- capital E, grave accent --> |
162 |
|
|
<!ENTITY Euml "Ë" -- capital E, dieresis or umlaut mark --> |
163 |
|
|
<!ENTITY Iacute "Í" -- capital I, acute accent --> |
164 |
|
|
<!ENTITY Icirc "Î" -- capital I, circumflex accent --> |
165 |
|
|
<!ENTITY Igrave "Ì" -- capital I, grave accent --> |
166 |
|
|
<!ENTITY Iuml "Ï" -- capital I, dieresis or umlaut mark --> |
167 |
|
|
<!ENTITY Ntilde "Ñ" -- capital N, tilde --> |
168 |
|
|
<!ENTITY Oacute "Ó" -- capital O, acute accent --> |
169 |
|
|
<!ENTITY Ocirc "Ô" -- capital O, circumflex accent --> |
170 |
|
|
<!ENTITY Ograve "Ò" -- capital O, grave accent --> |
171 |
|
|
<!ENTITY Oslash "Ø" -- capital O, slash --> |
172 |
|
|
<!ENTITY Otilde "Õ" -- capital O, tilde --> |
173 |
|
|
<!ENTITY Ouml "Ö" -- capital O, dieresis or umlaut mark --> |
174 |
|
|
<!ENTITY THORN "Þ" -- capital THORN, Icelandic --> |
175 |
|
|
<!ENTITY Uacute "Ú" -- capital U, acute accent --> |
176 |
|
|
<!ENTITY Ucirc "Û" -- capital U, circumflex accent --> |
177 |
|
|
<!ENTITY Ugrave "Ù" -- capital U, grave accent --> |
178 |
|
|
<!ENTITY Uuml "Ü" -- capital U, dieresis or umlaut mark --> |
179 |
|
|
<!ENTITY Yacute "Ý" -- capital Y, acute accent --> |
180 |
|
|
<!ENTITY aacute "á" -- small a, acute accent --> |
181 |
|
|
<!ENTITY acirc "â" -- small a, circumflex accent --> |
182 |
|
|
<!ENTITY aelig "æ" -- small ae diphthong (ligature) --> |
183 |
|
|
<!ENTITY agrave "à" -- small a, grave accent --> |
184 |
|
|
<!ENTITY amp "&" -- ampersand --> |
185 |
|
|
<!ENTITY aring "å" -- small a, ring --> |
186 |
|
|
<!ENTITY atilde "ã" -- small a, tilde --> |
187 |
|
|
<!ENTITY auml "ä" -- small a, dieresis or umlaut mark --> |
188 |
|
|
<!ENTITY ccedil "ç" -- small c, cedilla --> |
189 |
|
|
<!ENTITY eacute "é" -- small e, acute accent --> |
190 |
|
|
<!ENTITY ecirc "ê" -- small e, circumflex accent --> |
191 |
|
|
<!ENTITY egrave "è" -- small e, grave accent --> |
192 |
|
|
<!ENTITY eth "ð" -- small eth, Icelandic --> |
193 |
|
|
<!ENTITY euml "ë" -- small e, dieresis or umlaut mark --> |
194 |
|
|
<!ENTITY gt ">" -- greater than --> |
195 |
|
|
<!ENTITY iacute "í" -- small i, acute accent --> |
196 |
|
|
<!ENTITY icirc "î" -- small i, circumflex accent --> |
197 |
|
|
<!ENTITY igrave "ì" -- small i, grave accent --> |
198 |
|
|
<!ENTITY iuml "ï" -- small i, dieresis or umlaut mark --> |
199 |
|
|
<!ENTITY lt "<" -- less than --> |
200 |
|
|
<!ENTITY nbsp " " -- should be NON_BREAKING space --> |
201 |
|
|
<!ENTITY ntilde "ñ" -- small n, tilde --> |
202 |
|
|
<!ENTITY oacute "ó" -- small o, acute accent --> |
203 |
|
|
<!ENTITY ocirc "ô" -- small o, circumflex accent --> |
204 |
|
|
<!ENTITY ograve "ò" -- small o, grave accent --> |
205 |
|
|
<!ENTITY oslash "ø" -- small o, slash --> |
206 |
|
|
<!ENTITY otilde "õ" -- small o, tilde --> |
207 |
|
|
<!ENTITY ouml "ö" -- small o, dieresis or umlaut mark --> |
208 |
|
|
<!ENTITY szlig "ß" -- small sharp s, German (sz ligature) --> |
209 |
|
|
<!ENTITY thorn "þ" -- small thorn, Icelandic --> |
210 |
|
|
<!ENTITY uacute "ú" -- small u, acute accent --> |
211 |
|
|
<!ENTITY ucirc "û" -- small u, circumflex accent --> |
212 |
|
|
<!ENTITY ugrave "ù" -- small u, grave accent --> |
213 |
|
|
<!ENTITY uuml "ü" -- small u, dieresis or umlaut mark --> |
214 |
|
|
<!ENTITY yacute "ý" -- small y, acute accent --> |
215 |
|
|
<!ENTITY yuml "ÿ" -- small y, dieresis or umlaut mark --> |
216 |
|
|
|
217 |
connolly |
1.3 |
<!-- deprecated elements --> |
218 |
|
|
|
219 |
connolly |
1.6 |
<!ELEMENT (%literal) - - CDATA> |
220 |
connolly |
1.2 |
|
221 |
|
|
<!ELEMENT PLAINTEXT - O EMPTY> |
222 |
|
|
|
223 |
connolly |
1.3 |
<!-- Local Variables: --> |
224 |
|
|
<!-- mode: sgml --> |
225 |
|
|
<!-- compile-command: "sgmls -s -p " --> |
226 |
|
|
<!-- end: --> |