1 |
connolly |
1.24 |
<!-- html.dtd |
2 |
connolly |
1.7 |
|
3 |
connolly |
1.23 |
Document Type Definition for the HyperText Markup Language |
4 |
|
|
(HTML DTD) |
5 |
connolly |
1.5 |
|
6 |
connolly |
1.24 |
$Id: html.dtd,v 1.23 1995/01/28 05:59:34 connolly Exp $ |
7 |
connolly |
1.11 |
|
8 |
connolly |
1.13 |
Author: Daniel W. Connolly <connolly@hal.com> |
9 |
connolly |
1.16 |
See Also: html.decl, html-0.dtd, html-1.dtd |
10 |
connolly |
1.23 |
http://www.hal.com/%7Econnolly/html-spec/index.html |
11 |
|
|
http://info.cern.ch/hypertext/WWW/MarkUp2/MarkUp.html |
12 |
connolly |
1.2 |
--> |
13 |
|
|
|
14 |
connolly |
1.18 |
<!ENTITY % HTML.Version |
15 |
connolly |
1.24 |
"-//IETF//DTD HTML 2.0//EN" |
16 |
connolly |
1.13 |
|
17 |
|
|
-- Typical usage: |
18 |
|
|
|
19 |
connolly |
1.19 |
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
20 |
connolly |
1.24 |
<html> |
21 |
|
|
... |
22 |
|
|
</html> |
23 |
|
|
-- |
24 |
|
|
> |
25 |
connolly |
1.13 |
|
26 |
|
|
|
27 |
connolly |
1.23 |
<!--============ Feature Test Entities ========================--> |
28 |
connolly |
1.8 |
|
29 |
connolly |
1.19 |
<!ENTITY % HTML.Recommended "IGNORE" |
30 |
connolly |
1.23 |
-- Certain features of the language are necessary for |
31 |
|
|
compatibility with widespread usage, but they may |
32 |
|
|
compromise the structural integrity of a document. |
33 |
|
|
This feature test entity enables a more prescriptive |
34 |
|
|
document type definition that eliminates |
35 |
connolly |
1.21 |
those features. |
36 |
connolly |
1.19 |
--> |
37 |
|
|
|
38 |
|
|
<![ %HTML.Recommended [ |
39 |
connolly |
1.24 |
<!ENTITY % HTML.Deprecated "IGNORE"> |
40 |
connolly |
1.19 |
]]> |
41 |
|
|
|
42 |
|
|
<!ENTITY % HTML.Deprecated "INCLUDE" |
43 |
connolly |
1.23 |
-- Certain features of the language are necessary for |
44 |
|
|
compatibility with earlier versions of the specification, |
45 |
|
|
but they tend to be used an implemented inconsistently, |
46 |
|
|
and their use is deprecated. This feature test entity |
47 |
|
|
enables a document type definition that eliminates |
48 |
|
|
these features. |
49 |
connolly |
1.19 |
--> |
50 |
|
|
|
51 |
connolly |
1.21 |
<!ENTITY % HTML.Highlighting "INCLUDE" |
52 |
connolly |
1.23 |
-- Use this feature test entity to validate that a |
53 |
|
|
document uses no highlighting tags, which may be |
54 |
|
|
ignored on minimal implementations. |
55 |
connolly |
1.21 |
--> |
56 |
|
|
|
57 |
|
|
<!ENTITY % HTML.Forms "INCLUDE" |
58 |
connolly |
1.24 |
-- Use this feature test entity to validate that a document |
59 |
|
|
contains no forms, which may not be supported in minimal |
60 |
|
|
implementations |
61 |
|
|
--> |
62 |
connolly |
1.19 |
|
63 |
connolly |
1.23 |
<!--============== Imported Names ==============================--> |
64 |
connolly |
1.19 |
|
65 |
connolly |
1.8 |
<!ENTITY % Content-Type "CDATA" |
66 |
connolly |
1.24 |
-- meaning an internet media type |
67 |
|
|
(aka MIME content type, as per RFC1521) |
68 |
|
|
--> |
69 |
connolly |
1.2 |
|
70 |
connolly |
1.19 |
<!ENTITY % HTTP-Method "GET | POST" |
71 |
connolly |
1.24 |
-- as per HTTP specification, in progress |
72 |
|
|
--> |
73 |
connolly |
1.19 |
|
74 |
|
|
<!ENTITY % URI "CDATA" |
75 |
|
|
-- The term URI means a CDATA attribute |
76 |
|
|
whose value is a Uniform Resource Identifier, |
77 |
|
|
as defined by |
78 |
|
|
"Universal Resource Identifiers" by Tim Berners-Lee |
79 |
|
|
aka RFC 1630 |
80 |
|
|
|
81 |
|
|
Note that CDATA attributes are limited by the LITLEN |
82 |
|
|
capacity (1024 in the current version of html.decl), |
83 |
|
|
so that URIs in HTML have a bounded length. |
84 |
|
|
|
85 |
|
|
--> |
86 |
|
|
|
87 |
|
|
|
88 |
connolly |
1.23 |
<!--========= DTD "Macros" =====================--> |
89 |
connolly |
1.19 |
|
90 |
|
|
<!ENTITY % heading "H1|H2|H3|H4|H5|H6"> |
91 |
|
|
|
92 |
|
|
<!ENTITY % list " UL | OL | DIR | MENU " > |
93 |
|
|
|
94 |
|
|
|
95 |
connolly |
1.23 |
<!--======= Character mnemonic entities =================--> |
96 |
connolly |
1.19 |
|
97 |
|
|
<!ENTITY % ISOlat1 PUBLIC |
98 |
connolly |
1.22 |
"ISO 8879-1986//ENTITIES Added Latin 1//EN//HTML"> |
99 |
connolly |
1.19 |
%ISOlat1; |
100 |
|
|
|
101 |
|
|
<!ENTITY amp CDATA "&" -- ampersand --> |
102 |
|
|
<!ENTITY gt CDATA ">" -- greater than --> |
103 |
|
|
<!ENTITY lt CDATA "<" -- less than --> |
104 |
|
|
<!ENTITY quot CDATA """ -- double quote --> |
105 |
|
|
|
106 |
|
|
|
107 |
connolly |
1.23 |
<!--========= SGML Document Access (SDA) Parameter Entities =====--> |
108 |
connolly |
1.22 |
|
109 |
connolly |
1.23 |
<!-- HTML 2.0 contains SGML Document Access (SDA) fixed attributes |
110 |
|
|
in support of easy transformation to the International Committee |
111 |
|
|
for Accessible Document Design (ICADD) DTD |
112 |
|
|
"-//EC-USA-CDA/ICADD//DTD ICADD22//EN". |
113 |
|
|
ICADD applications are designed to support usable access to |
114 |
|
|
structured information by print-impaired individuals through |
115 |
|
|
Braille, large print and voice synthesis. For more information on |
116 |
|
|
SDA & ICADD: |
117 |
|
|
- ISO 12083:1993, Annex A.8, Facilities for Braille, |
118 |
|
|
large print and computer voice |
119 |
|
|
- ICADD ListServ |
120 |
|
|
<ICADD%ASUACAD.BITNET@ARIZVM1.ccit.arizona.edu> |
121 |
connolly |
1.22 |
- Usenet news group bit.listserv.easi |
122 |
|
|
- Recording for the Blind, +1 800 221 4792 |
123 |
|
|
--> |
124 |
|
|
|
125 |
connolly |
1.23 |
<!ENTITY % SDAFORM "SDAFORM CDATA #FIXED" |
126 |
|
|
-- one to one mapping --> |
127 |
|
|
<!ENTITY % SDARULE "SDARULE CDATA #FIXED" |
128 |
|
|
-- context-sensitive mapping --> |
129 |
|
|
<!ENTITY % SDAPREF "SDAPREF CDATA #FIXED" |
130 |
|
|
-- generated text prefix --> |
131 |
|
|
<!ENTITY % SDASUFF "SDASUFF CDATA #FIXED" |
132 |
|
|
-- generated text suffix --> |
133 |
|
|
<!ENTITY % SDASUSP "SDASUSP NAME #FIXED" |
134 |
|
|
-- suspend transform process --> |
135 |
connolly |
1.22 |
|
136 |
|
|
|
137 |
connolly |
1.23 |
<!--========== Text Markup =====================--> |
138 |
connolly |
1.19 |
|
139 |
|
|
<![ %HTML.Highlighting [ |
140 |
|
|
|
141 |
|
|
<!ENTITY % font " TT | B | I "> |
142 |
|
|
|
143 |
|
|
<!ENTITY % phrase "EM | STRONG | CODE | SAMP | KBD | VAR | CITE "> |
144 |
|
|
|
145 |
|
|
<!ENTITY % text "#PCDATA | A | IMG | BR | %phrase | %font"> |
146 |
|
|
|
147 |
connolly |
1.22 |
<!ELEMENT (%font;|%phrase) - - (%text)*> |
148 |
|
|
<!ATTLIST ( TT | CODE | SAMP | KBD | VAR ) |
149 |
|
|
%SDAFORM; "Lit" |
150 |
|
|
> |
151 |
|
|
<!ATTLIST ( B | STRONG ) |
152 |
|
|
%SDAFORM; "B" |
153 |
|
|
> |
154 |
|
|
<!ATTLIST ( I | EM | CITE ) |
155 |
|
|
%SDAFORM; "It" |
156 |
|
|
> |
157 |
|
|
|
158 |
connolly |
1.24 |
<!-- <TT> Typewriter text --> |
159 |
|
|
<!-- <B> Bold text --> |
160 |
|
|
<!-- <I> Italic text --> |
161 |
|
|
|
162 |
|
|
<!-- <EM> Emphasized phrase --> |
163 |
|
|
<!-- <STRONG> Strong emphais --> |
164 |
|
|
<!-- <CODE> Source code phrase --> |
165 |
|
|
<!-- <SAMP> Sample text or characters --> |
166 |
|
|
<!-- <KBD> Keyboard phrase, e.g. user input --> |
167 |
|
|
<!-- <VAR> Variable phrase or substituable --> |
168 |
|
|
<!-- <CITE> Name or title of cited work --> |
169 |
connolly |
1.21 |
|
170 |
connolly |
1.19 |
<!ENTITY % pre.content "#PCDATA | A | HR | BR | %font | %phrase"> |
171 |
|
|
|
172 |
|
|
]]> |
173 |
|
|
|
174 |
|
|
<!ENTITY % text "#PCDATA | A | IMG | BR"> |
175 |
|
|
|
176 |
|
|
<!ELEMENT BR - O EMPTY> |
177 |
connolly |
1.22 |
<!ATTLIST BR |
178 |
|
|
%SDAPREF; "&#RE;" |
179 |
|
|
> |
180 |
|
|
|
181 |
connolly |
1.24 |
<!-- <BR> Line break --> |
182 |
connolly |
1.19 |
|
183 |
|
|
|
184 |
connolly |
1.23 |
<!--========= Link Markup ======================--> |
185 |
connolly |
1.19 |
|
186 |
|
|
<![ %HTML.Recommended [ |
187 |
connolly |
1.24 |
<!ENTITY % linkName "ID"> |
188 |
connolly |
1.19 |
]]> |
189 |
|
|
|
190 |
|
|
<!ENTITY % linkName "CDATA"> |
191 |
|
|
|
192 |
|
|
<!ENTITY % linkType "NAME" |
193 |
connolly |
1.24 |
-- a list of these will be specified at a later date --> |
194 |
connolly |
1.19 |
|
195 |
|
|
<!ENTITY % linkExtraAttributes |
196 |
connolly |
1.21 |
"REL %linkType #IMPLIED |
197 |
|
|
REV %linkType #IMPLIED |
198 |
|
|
URN CDATA #IMPLIED |
199 |
|
|
TITLE CDATA #IMPLIED |
200 |
|
|
METHODS NAMES #IMPLIED |
201 |
connolly |
1.19 |
"> |
202 |
|
|
|
203 |
|
|
<![ %HTML.Recommended [ |
204 |
connolly |
1.24 |
<!ENTITY % A.content "(%text)*" |
205 |
|
|
-- <H1><a name="xxx">Heading</a></H1> |
206 |
|
|
is preferred to |
207 |
|
|
<a name="xxx"><H1>Heading</H1></a> |
208 |
|
|
--> |
209 |
connolly |
1.19 |
]]> |
210 |
|
|
|
211 |
connolly |
1.22 |
<!ENTITY % A.content "(%heading|%text)*"> |
212 |
connolly |
1.19 |
|
213 |
|
|
<!ELEMENT A - - %A.content -(A)> |
214 |
|
|
<!ATTLIST A |
215 |
connolly |
1.24 |
HREF %URI #IMPLIED |
216 |
|
|
NAME %linkName #IMPLIED |
217 |
connolly |
1.19 |
%linkExtraAttributes; |
218 |
connolly |
1.24 |
%SDAPREF; "<Anchor: #AttList>" |
219 |
connolly |
1.19 |
> |
220 |
connolly |
1.23 |
<!-- <A> Anchor; source/destination of link --> |
221 |
|
|
<!-- <A NAME="..."> Name of this anchor --> |
222 |
|
|
<!-- <A HREF="..."> Address of link destination --> |
223 |
|
|
<!-- <A URN="..."> Permanent address of destination --> |
224 |
|
|
<!-- <A REL=...> Relationship to destination --> |
225 |
|
|
<!-- <A REV=...> Relationship of destination to this --> |
226 |
|
|
<!-- <A TITLE="..."> Title of destination (advisory) --> |
227 |
|
|
<!-- <A METHODS="..."> Operations on destination (advisory) --> |
228 |
connolly |
1.21 |
|
229 |
connolly |
1.19 |
|
230 |
connolly |
1.23 |
<!--========== Images ==========================--> |
231 |
connolly |
1.19 |
|
232 |
connolly |
1.21 |
<!ELEMENT IMG - O EMPTY> |
233 |
connolly |
1.19 |
<!ATTLIST IMG |
234 |
connolly |
1.21 |
SRC %URI; #REQUIRED |
235 |
connolly |
1.24 |
ALT CDATA #IMPLIED |
236 |
|
|
ALIGN (top|middle|bottom) #IMPLIED |
237 |
|
|
ISMAP (ISMAP) #IMPLIED |
238 |
connolly |
1.22 |
%SDAPREF; "<Fig><?SDATrans Img: #AttList>#AttVal(Alt)</Fig>" |
239 |
connolly |
1.19 |
> |
240 |
|
|
|
241 |
connolly |
1.24 |
<!-- <IMG> Image; icon, glyph or illustration --> |
242 |
|
|
<!-- <IMG SRC="..."> Address of image object --> |
243 |
|
|
<!-- <IMG ALT="..."> Textual alternative --> |
244 |
|
|
<!-- <IMG ALIGN=...> Position relative to text --> |
245 |
|
|
<!-- <IMG ISMAP> Each pixel can be a link --> |
246 |
connolly |
1.19 |
|
247 |
connolly |
1.23 |
<!--========== Paragraphs=======================--> |
248 |
connolly |
1.19 |
|
249 |
connolly |
1.22 |
<!ELEMENT P - O (%text)*> |
250 |
|
|
<!ATTLIST P |
251 |
|
|
%SDAFORM; "Para" |
252 |
|
|
> |
253 |
|
|
|
254 |
connolly |
1.24 |
<!-- <P> Paragraph --> |
255 |
connolly |
1.19 |
|
256 |
|
|
|
257 |
connolly |
1.23 |
<!--========== Headings, Titles, Sections ===============--> |
258 |
connolly |
1.19 |
|
259 |
connolly |
1.21 |
<!ELEMENT HR - O EMPTY> |
260 |
connolly |
1.22 |
<!ATTLIST HR |
261 |
connolly |
1.24 |
%SDAPREF; "&#RE;&#RE;" |
262 |
connolly |
1.22 |
> |
263 |
|
|
|
264 |
connolly |
1.24 |
<!-- <HR> Horizontal rule --> |
265 |
connolly |
1.19 |
|
266 |
connolly |
1.22 |
<!ELEMENT ( %heading ) - - (%text;)*> |
267 |
|
|
<!ATTLIST H1 |
268 |
|
|
%SDAFORM; "H1" |
269 |
|
|
> |
270 |
|
|
<!ATTLIST H2 |
271 |
|
|
%SDAFORM; "H2" |
272 |
|
|
> |
273 |
|
|
<!ATTLIST H3 |
274 |
|
|
%SDAFORM; "H3" |
275 |
|
|
> |
276 |
|
|
<!ATTLIST H4 |
277 |
|
|
%SDAFORM; "H4" |
278 |
|
|
> |
279 |
|
|
<!ATTLIST H5 |
280 |
|
|
%SDAFORM; "H5" |
281 |
|
|
> |
282 |
|
|
<!ATTLIST H6 |
283 |
|
|
%SDAFORM; "H6" |
284 |
|
|
> |
285 |
|
|
|
286 |
connolly |
1.24 |
<!-- <H1> Heading, level 1 --> |
287 |
|
|
<!-- <H2> Heading, level 2 --> |
288 |
|
|
<!-- <H3> Heading, level 3 --> |
289 |
|
|
<!-- <H4> Heading, level 4 --> |
290 |
|
|
<!-- <H5> Heading, level 5 --> |
291 |
|
|
<!-- <H6> Heading, level 6 --> |
292 |
connolly |
1.19 |
|
293 |
|
|
|
294 |
connolly |
1.23 |
<!--========== Text Flows ======================--> |
295 |
connolly |
1.19 |
|
296 |
|
|
<![ %HTML.Forms [ |
297 |
connolly |
1.24 |
<!ENTITY % block.forms "BLOCKQUOTE | FORM | ISINDEX"> |
298 |
connolly |
1.19 |
]]> |
299 |
|
|
|
300 |
connolly |
1.22 |
<!ENTITY % block.forms "BLOCKQUOTE"> |
301 |
connolly |
1.19 |
|
302 |
|
|
<![ %HTML.Deprecated [ |
303 |
connolly |
1.24 |
<!ENTITY % preformatted "PRE | XMP | LISTING"> |
304 |
connolly |
1.19 |
]]> |
305 |
|
|
|
306 |
|
|
<!ENTITY % preformatted "PRE"> |
307 |
|
|
|
308 |
|
|
<!ENTITY % block "P | %list | DL |
309 |
connolly |
1.24 |
| %preformatted |
310 |
|
|
| %block.forms"> |
311 |
connolly |
1.19 |
|
312 |
|
|
<!ENTITY % flow "(%text|%block)*"> |
313 |
|
|
|
314 |
|
|
<!ENTITY % pre.content "#PCDATA | A | HR | BR"> |
315 |
connolly |
1.22 |
<!ELEMENT PRE - - (%pre.content)*> |
316 |
connolly |
1.19 |
<!ATTLIST PRE |
317 |
|
|
WIDTH NUMBER #implied |
318 |
connolly |
1.22 |
%SDAFORM; "Lit" |
319 |
connolly |
1.19 |
> |
320 |
|
|
|
321 |
connolly |
1.24 |
<!-- <PRE> Preformatted text --> |
322 |
|
|
<!-- <PRE WIDTH=...> Maximum characters per line --> |
323 |
connolly |
1.21 |
|
324 |
connolly |
1.19 |
<![ %HTML.Deprecated [ |
325 |
|
|
|
326 |
|
|
<!ENTITY % literal "CDATA" |
327 |
connolly |
1.24 |
-- historical, non-conforming parsing mode where |
328 |
|
|
the only markup signal is the end tag |
329 |
|
|
in full |
330 |
|
|
--> |
331 |
connolly |
1.19 |
|
332 |
connolly |
1.21 |
<!ELEMENT (XMP|LISTING) - - %literal> |
333 |
connolly |
1.22 |
<!ATTLIST XMP |
334 |
|
|
%SDAFORM; "Lit" |
335 |
|
|
%SDAPREF; "Example:&#RE;" |
336 |
|
|
> |
337 |
|
|
<!ATTLIST LISTING |
338 |
|
|
%SDAFORM; "Lit" |
339 |
|
|
%SDAPREF; "Listing:&#RE;" |
340 |
|
|
> |
341 |
|
|
|
342 |
connolly |
1.24 |
<!-- <XMP> Example section --> |
343 |
|
|
<!-- <LISTING> Computer listing --> |
344 |
connolly |
1.21 |
|
345 |
connolly |
1.19 |
<!ELEMENT PLAINTEXT - O %literal> |
346 |
connolly |
1.24 |
<!-- <PLAINTEXT> Plain text passage --> |
347 |
connolly |
1.19 |
|
348 |
connolly |
1.22 |
<!ATTLIST PLAINTEXT |
349 |
|
|
%SDAFORM; "Lit" |
350 |
|
|
> |
351 |
connolly |
1.19 |
]]> |
352 |
|
|
|
353 |
|
|
|
354 |
connolly |
1.23 |
<!--========== Lists ==================--> |
355 |
connolly |
1.19 |
|
356 |
connolly |
1.21 |
<!ELEMENT DL - - (DT | DD)+> |
357 |
connolly |
1.19 |
<!ATTLIST DL |
358 |
connolly |
1.24 |
COMPACT (COMPACT) #IMPLIED |
359 |
connolly |
1.22 |
%SDAFORM; "List" |
360 |
connolly |
1.24 |
%SDAPREF; "Definition List:" |
361 |
|
|
> |
362 |
connolly |
1.22 |
|
363 |
|
|
<!ELEMENT DT - O (%text)*> |
364 |
|
|
<!ATTLIST DT |
365 |
|
|
%SDAFORM; "Term" |
366 |
|
|
> |
367 |
connolly |
1.19 |
|
368 |
|
|
<!ELEMENT DD - O %flow> |
369 |
connolly |
1.22 |
<!ATTLIST DD |
370 |
|
|
%SDAFORM; "LItem" |
371 |
|
|
> |
372 |
connolly |
1.19 |
|
373 |
connolly |
1.24 |
<!-- <DL> Definition list, or glossary --> |
374 |
|
|
<!-- <DL COMPACT> Compact style list --> |
375 |
|
|
<!-- <DT> Term in definition list --> |
376 |
|
|
<!-- <DD> Definition of term --> |
377 |
connolly |
1.21 |
|
378 |
connolly |
1.19 |
<!ELEMENT (OL|UL) - - (LI)+> |
379 |
connolly |
1.22 |
<!ATTLIST OL |
380 |
|
|
COMPACT (COMPACT) #IMPLIED |
381 |
|
|
%SDAFORM; "List" |
382 |
|
|
> |
383 |
|
|
<!ATTLIST UL |
384 |
|
|
COMPACT (COMPACT) #IMPLIED |
385 |
|
|
%SDAFORM; "List" |
386 |
|
|
> |
387 |
connolly |
1.24 |
<!-- <UL> Unordered list --> |
388 |
|
|
<!-- <UL COMPACT> Compact list style --> |
389 |
|
|
<!-- <OL> Ordered, or numbered list --> |
390 |
|
|
<!-- <OL COMPACT> Compact list style --> |
391 |
connolly |
1.22 |
|
392 |
|
|
|
393 |
|
|
<!ELEMENT (DIR|MENU) - - (LI)+ -(%block)> |
394 |
|
|
<!ATTLIST DIR |
395 |
|
|
COMPACT (COMPACT) #IMPLIED |
396 |
|
|
%SDAFORM; "List" |
397 |
connolly |
1.24 |
%SDAPREF; "<LHead>Directory</LHead>" |
398 |
connolly |
1.22 |
> |
399 |
|
|
<!ATTLIST MENU |
400 |
|
|
COMPACT (COMPACT) #IMPLIED |
401 |
|
|
%SDAFORM; "List" |
402 |
connolly |
1.24 |
%SDAPREF; "<LHead>Menu</LHead>" |
403 |
connolly |
1.22 |
> |
404 |
|
|
|
405 |
connolly |
1.24 |
<!-- <DIR> Directory list --> |
406 |
|
|
<!-- <DIR COMPACT> Compact list style --> |
407 |
|
|
<!-- <MENU> Menu list --> |
408 |
|
|
<!-- <MENU COMPACT> Compact list style --> |
409 |
connolly |
1.19 |
|
410 |
|
|
<!ELEMENT LI - O %flow> |
411 |
connolly |
1.22 |
<!ATTLIST LI |
412 |
|
|
%SDAFORM; "LItem" |
413 |
|
|
> |
414 |
connolly |
1.19 |
|
415 |
connolly |
1.24 |
<!-- <LI> List item --> |
416 |
connolly |
1.21 |
|
417 |
connolly |
1.23 |
<!--========== Document Body ===================--> |
418 |
connolly |
1.19 |
|
419 |
|
|
<![ %HTML.Recommended [ |
420 |
connolly |
1.23 |
<!ENTITY % body.content "(%heading|%block|HR|ADDRESS|IMG)*" |
421 |
connolly |
1.19 |
-- <h1>Heading</h1> |
422 |
|
|
<p>Text ... |
423 |
|
|
is preferred to |
424 |
|
|
<h1>Heading</h1> |
425 |
|
|
Text ... |
426 |
|
|
--> |
427 |
|
|
]]> |
428 |
|
|
|
429 |
connolly |
1.23 |
<!ENTITY % body.content "(%heading | %text | %block | |
430 |
|
|
HR | ADDRESS)*"> |
431 |
connolly |
1.8 |
|
432 |
connolly |
1.19 |
<!ELEMENT BODY O O %body.content> |
433 |
connolly |
1.22 |
|
434 |
connolly |
1.24 |
<!-- <BODY> Document body --> |
435 |
connolly |
1.8 |
|
436 |
connolly |
1.19 |
<!ELEMENT BLOCKQUOTE - - %body.content> |
437 |
connolly |
1.22 |
<!ATTLIST BLOCKQUOTE |
438 |
|
|
%SDAFORM; "BQ" |
439 |
|
|
> |
440 |
|
|
|
441 |
connolly |
1.24 |
<!-- <BLOCKQUOTE> Quoted passage --> |
442 |
connolly |
1.12 |
|
443 |
connolly |
1.21 |
<!ELEMENT ADDRESS - - (%text|P)*> |
444 |
connolly |
1.22 |
<!ATTLIST ADDRESS |
445 |
|
|
%SDAFORM; "Lit" |
446 |
|
|
%SDAPREF; "Address:&#RE;" |
447 |
|
|
> |
448 |
|
|
|
449 |
connolly |
1.23 |
<!-- <ADDRESS> Address, signature, or byline --> |
450 |
connolly |
1.12 |
|
451 |
connolly |
1.6 |
|
452 |
connolly |
1.23 |
<!--======= Forms ====================--> |
453 |
connolly |
1.3 |
|
454 |
connolly |
1.19 |
<![ %HTML.Forms [ |
455 |
connolly |
1.8 |
|
456 |
connolly |
1.16 |
<!ELEMENT FORM - - %body.content -(FORM) +(INPUT|SELECT|TEXTAREA)> |
457 |
connolly |
1.8 |
<!ATTLIST FORM |
458 |
connolly |
1.24 |
ACTION %URI #IMPLIED |
459 |
|
|
METHOD (%HTTP-Method) GET |
460 |
|
|
ENCTYPE %Content-Type; "application/x-www-form-urlencoded" |
461 |
|
|
%SDAPREF; "<Para>Form:</Para>" |
462 |
|
|
%SDASUFF; "<Para>Form End.</Para>" |
463 |
|
|
> |
464 |
connolly |
1.8 |
|
465 |
connolly |
1.24 |
<!-- <FORM> Fill-out or data-entry form --> |
466 |
|
|
<!-- <FORM ACTION="..."> Address for completed form --> |
467 |
|
|
<!-- <FORM METHOD=...> Method of submitting form --> |
468 |
|
|
<!-- <FORM ENCTYPE="..."> Representation of form data --> |
469 |
connolly |
1.21 |
|
470 |
connolly |
1.8 |
<!ENTITY % InputType "(TEXT | PASSWORD | CHECKBOX | |
471 |
connolly |
1.24 |
RADIO | SUBMIT | RESET | |
472 |
|
|
IMAGE | HIDDEN )"> |
473 |
connolly |
1.8 |
<!ELEMENT INPUT - O EMPTY> |
474 |
|
|
<!ATTLIST INPUT |
475 |
connolly |
1.17 |
TYPE %InputType TEXT |
476 |
connolly |
1.21 |
NAME CDATA #IMPLIED |
477 |
connolly |
1.8 |
VALUE CDATA #IMPLIED |
478 |
connolly |
1.21 |
SRC %URI #IMPLIED |
479 |
connolly |
1.11 |
CHECKED (CHECKED) #IMPLIED |
480 |
connolly |
1.21 |
SIZE CDATA #IMPLIED |
481 |
connolly |
1.8 |
MAXLENGTH NUMBER #IMPLIED |
482 |
connolly |
1.17 |
ALIGN (top|middle|bottom) #IMPLIED |
483 |
connolly |
1.24 |
%SDAPREF; "Input: " |
484 |
connolly |
1.8 |
> |
485 |
|
|
|
486 |
connolly |
1.21 |
<!-- <INPUT> Form input datum --> |
487 |
|
|
<!-- <INPUT TYPE=...> Type of input interaction --> |
488 |
connolly |
1.23 |
<!-- <INPUT NAME=...> Name of form datum --> |
489 |
connolly |
1.21 |
<!-- <INPUT VALUE="..."> Default/initial/selected value --> |
490 |
|
|
<!-- <INPUT SRC="..."> Address of image --> |
491 |
|
|
<!-- <INPUT CHECKED> Initial state is "on" --> |
492 |
|
|
<!-- <INPUT SIZE=...> Field size hint --> |
493 |
|
|
<!-- <INPUT MAXLENGTH=...> Data length maximum --> |
494 |
|
|
<!-- <INPUT ALIGN=...> Image alignment --> |
495 |
|
|
|
496 |
connolly |
1.23 |
<!ELEMENT SELECT - - (OPTION+) -(INPUT|SELECT|TEXTAREA)> |
497 |
connolly |
1.8 |
<!ATTLIST SELECT |
498 |
connolly |
1.24 |
NAME CDATA #REQUIRED |
499 |
|
|
SIZE NUMBER #IMPLIED |
500 |
|
|
MULTIPLE (MULTIPLE) #IMPLIED |
501 |
connolly |
1.22 |
%SDAFORM; "List" |
502 |
|
|
%SDAPREF; |
503 |
connolly |
1.24 |
"<LHead>Select #AttVal(Multiple)</LHead>" |
504 |
connolly |
1.8 |
> |
505 |
|
|
|
506 |
connolly |
1.23 |
<!-- <SELECT> Selection of option(s) --> |
507 |
|
|
<!-- <SELECT NAME=...> Name of form datum --> |
508 |
|
|
<!-- <SELECT SIZE=...> Options displayed at a time --> |
509 |
|
|
<!-- <SELECT MULTIPLE> Multiple selections allowed --> |
510 |
connolly |
1.21 |
|
511 |
connolly |
1.22 |
<!ELEMENT OPTION - O (#PCDATA)*> |
512 |
connolly |
1.8 |
<!ATTLIST OPTION |
513 |
connolly |
1.24 |
SELECTED (SELECTED) #IMPLIED |
514 |
|
|
VALUE CDATA #IMPLIED |
515 |
connolly |
1.22 |
%SDAFORM; "LItem" |
516 |
|
|
%SDAPREF; |
517 |
connolly |
1.24 |
"Option: #AttVal(Value) #AttVal(Selected)" |
518 |
connolly |
1.8 |
> |
519 |
|
|
|
520 |
connolly |
1.23 |
<!-- <OPTION> A selection option --> |
521 |
|
|
<!-- <OPTION SELECTED> Initial state --> |
522 |
|
|
<!-- <OPTION VALUE="..."> Form datum value for this option--> |
523 |
connolly |
1.21 |
|
524 |
connolly |
1.23 |
<!ELEMENT TEXTAREA - - (#PCDATA)* -(INPUT|SELECT|TEXTAREA)> |
525 |
connolly |
1.8 |
<!ATTLIST TEXTAREA |
526 |
connolly |
1.24 |
NAME CDATA #REQUIRED |
527 |
|
|
ROWS NUMBER #REQUIRED |
528 |
|
|
COLS NUMBER #REQUIRED |
529 |
connolly |
1.22 |
%SDAFORM; "Para" |
530 |
connolly |
1.24 |
%SDAPREF; "Input Text -- #AttVal(Name): " |
531 |
|
|
> |
532 |
connolly |
1.2 |
|
533 |
connolly |
1.23 |
<!-- <TEXTAREA> An area for text input --> |
534 |
|
|
<!-- <TEXTAREA NAME=...> Name of form datum --> |
535 |
|
|
<!-- <TEXTAREA ROWS=...> Height of area --> |
536 |
|
|
<!-- <TEXTAREA COLS=...> Width of area --> |
537 |
connolly |
1.21 |
|
538 |
connolly |
1.19 |
]]> |
539 |
|
|
|
540 |
|
|
|
541 |
connolly |
1.23 |
<!--======= Document Head ======================--> |
542 |
connolly |
1.19 |
|
543 |
|
|
<![ %HTML.Recommended [ |
544 |
connolly |
1.23 |
<!ENTITY % head.extra "META* & LINK*"> |
545 |
connolly |
1.19 |
]]> |
546 |
|
|
|
547 |
connolly |
1.23 |
<!ENTITY % head.extra "NEXTID? & META* & LINK*"> |
548 |
|
|
|
549 |
|
|
<!ENTITY % head.content "TITLE & ISINDEX? & BASE? & |
550 |
|
|
(%head.extra)"> |
551 |
connolly |
1.19 |
|
552 |
|
|
<!ELEMENT HEAD O O (%head.content)> |
553 |
connolly |
1.22 |
|
554 |
connolly |
1.24 |
<!-- <HEAD> Document head --> |
555 |
connolly |
1.19 |
|
556 |
connolly |
1.22 |
<!ELEMENT TITLE - - (#PCDATA)*> |
557 |
|
|
<!ATTLIST TITLE |
558 |
connolly |
1.24 |
%SDAFORM; "Ti" > |
559 |
connolly |
1.22 |
|
560 |
connolly |
1.24 |
<!-- <TITLE> Title of document --> |
561 |
connolly |
1.21 |
|
562 |
connolly |
1.19 |
<!ELEMENT LINK - O EMPTY> |
563 |
|
|
<!ATTLIST LINK |
564 |
connolly |
1.24 |
HREF %URI #REQUIRED |
565 |
connolly |
1.22 |
%linkExtraAttributes; |
566 |
connolly |
1.24 |
%SDAPREF; "Linked to : #AttVal (TITLE) (URN) (HREF)>" > |
567 |
connolly |
1.22 |
|
568 |
connolly |
1.23 |
<!-- <LINK> Link from this document --> |
569 |
|
|
<!-- <LINK HREF="..."> Address of link destination --> |
570 |
|
|
<!-- <LINK URN="..."> Lasting name of destination --> |
571 |
|
|
<!-- <LINK REL=...> Relationship to destination --> |
572 |
|
|
<!-- <LINK REV=...> Relationship of destination to this --> |
573 |
|
|
<!-- <LINK TITLE="..."> Title of destination (advisory) --> |
574 |
|
|
<!-- <LINK METHODS="..."> Operations allowed (advisory) --> |
575 |
connolly |
1.19 |
|
576 |
|
|
<!ELEMENT ISINDEX - O EMPTY> |
577 |
connolly |
1.22 |
<!ATTLIST ISINDEX |
578 |
|
|
%SDAPREF; |
579 |
connolly |
1.24 |
"<Para>[Document is indexed/searchable.]</Para>"> |
580 |
connolly |
1.22 |
|
581 |
connolly |
1.24 |
<!-- <ISINDEX> Document is a searchable index --> |
582 |
connolly |
1.19 |
|
583 |
|
|
<!ELEMENT BASE - O EMPTY> |
584 |
|
|
<!ATTLIST BASE |
585 |
connolly |
1.24 |
HREF %URI; #REQUIRED > |
586 |
connolly |
1.22 |
|
587 |
connolly |
1.24 |
<!-- <BASE> Base context document --> |
588 |
|
|
<!-- <BASE HREF="..."> Address for this document --> |
589 |
connolly |
1.19 |
|
590 |
|
|
<!ELEMENT NEXTID - O EMPTY> |
591 |
connolly |
1.22 |
<!ATTLIST NEXTID |
592 |
connolly |
1.24 |
N %linkName #REQUIRED > |
593 |
connolly |
1.22 |
|
594 |
connolly |
1.23 |
<!-- <NEXTID> Next ID to use for link name --> |
595 |
|
|
<!-- <NEXTID N=...> Next ID to use for link name --> |
596 |
connolly |
1.19 |
|
597 |
connolly |
1.21 |
<!ELEMENT META - O EMPTY> |
598 |
connolly |
1.19 |
<!ATTLIST META |
599 |
connolly |
1.21 |
HTTP-EQUIV NAME #IMPLIED |
600 |
|
|
NAME NAME #IMPLIED |
601 |
connolly |
1.24 |
CONTENT CDATA #REQUIRED > |
602 |
connolly |
1.22 |
|
603 |
connolly |
1.24 |
<!-- <META> Generic Metainformation --> |
604 |
|
|
<!-- <META HTTP-EQUIV=...> HTTP response header name --> |
605 |
|
|
<!-- <META HTTP-EQUIV=...> Metainformation name --> |
606 |
|
|
<!-- <META CONTENT="..."> Associated information --> |
607 |
connolly |
1.19 |
|
608 |
connolly |
1.23 |
<!--======= Document Structure =================--> |
609 |
connolly |
1.19 |
|
610 |
|
|
<![ %HTML.Deprecated [ |
611 |
connolly |
1.24 |
<!ENTITY % html.content "HEAD, BODY, PLAINTEXT?"> |
612 |
connolly |
1.19 |
]]> |
613 |
|
|
<!ENTITY % html.content "HEAD, BODY"> |
614 |
|
|
|
615 |
|
|
<!ELEMENT HTML O O (%html.content)> |
616 |
connolly |
1.22 |
<!ENTITY % version.attr "VERSION CDATA #FIXED '%HTML.Version;'"> |
617 |
connolly |
1.19 |
|
618 |
|
|
<!ATTLIST HTML |
619 |
connolly |
1.24 |
%version.attr; |
620 |
connolly |
1.22 |
%SDAFORM; "Book" |
621 |
connolly |
1.24 |
> |
622 |
connolly |
1.21 |
|
623 |
connolly |
1.23 |
<!-- <HTML> HTML Document --> |