1 |
connolly |
1.7 |
<!-- html.dtd |
2 |
|
|
|
3 |
connolly |
1.23 |
Document Type Definition for the HyperText Markup Language |
4 |
|
|
(HTML DTD) |
5 |
connolly |
1.5 |
|
6 |
connolly |
1.23 |
$Id: html.dtd,v 1.22 1994/11/30 23:45:40 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.22 |
"-//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.13 |
<html> |
21 |
|
|
... |
22 |
|
|
</html> |
23 |
|
|
-- |
24 |
|
|
> |
25 |
|
|
|
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 |
|
|
<!ENTITY % HTML.Deprecated "IGNORE"> |
40 |
|
|
]]> |
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 |
|
|
-- 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.21 |
-- meaning an internet media type |
67 |
|
|
(aka MIME content type, as per RFC1521) |
68 |
connolly |
1.8 |
--> |
69 |
connolly |
1.2 |
|
70 |
connolly |
1.19 |
<!ENTITY % HTTP-Method "GET | POST" |
71 |
connolly |
1.21 |
-- as per HTTP specification, in progress |
72 |
connolly |
1.19 |
--> |
73 |
|
|
|
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.21 |
<!-- <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 |
|
|
|
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.21 |
<!-- <BR> Line break --> |
182 |
connolly |
1.19 |
|
183 |
|
|
|
184 |
connolly |
1.23 |
<!--========= Link Markup ======================--> |
185 |
connolly |
1.19 |
|
186 |
|
|
<![ %HTML.Recommended [ |
187 |
|
|
<!ENTITY % linkName "ID"> |
188 |
|
|
]]> |
189 |
|
|
|
190 |
|
|
<!ENTITY % linkName "CDATA"> |
191 |
|
|
|
192 |
|
|
<!ENTITY % linkType "NAME" |
193 |
|
|
-- a list of these will be specified at a later date --> |
194 |
|
|
|
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.22 |
<!ENTITY % A.content "(%text)*" |
205 |
connolly |
1.19 |
-- <H1><a name="xxx">Heading</a></H1> |
206 |
|
|
is preferred to |
207 |
|
|
<a name="xxx"><H1>Heading</H1></a> |
208 |
|
|
--> |
209 |
|
|
]]> |
210 |
|
|
|
211 |
connolly |
1.22 |
<!ENTITY % A.content "(%heading|%text)*"> |
212 |
connolly |
1.19 |
|
213 |
|
|
<!ELEMENT A - - %A.content -(A)> |
214 |
|
|
<!ATTLIST A |
215 |
|
|
HREF %URI #IMPLIED |
216 |
|
|
NAME %linkName #IMPLIED |
217 |
|
|
%linkExtraAttributes; |
218 |
connolly |
1.22 |
%SDAPREF; "<?SDATrans A: #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 |
|
|
ALT CDATA #IMPLIED |
236 |
connolly |
1.19 |
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.21 |
<!-- <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.21 |
<!-- <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 |
|
|
%SDAPREF; "<Para><?SDATrans HR: #AttList></Para>" |
262 |
|
|
> |
263 |
|
|
|
264 |
connolly |
1.21 |
<!-- <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.21 |
<!-- <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.22 |
<!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 |
|
|
<!ENTITY % preformatted "PRE | XMP | LISTING"> |
304 |
|
|
]]> |
305 |
|
|
|
306 |
|
|
<!ENTITY % preformatted "PRE"> |
307 |
|
|
|
308 |
|
|
<!ENTITY % block "P | %list | DL |
309 |
|
|
| %preformatted |
310 |
connolly |
1.22 |
| %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 |
|
|
%SDAPREF; "<?SDATrans Pre: #AttList>" |
320 |
connolly |
1.19 |
> |
321 |
|
|
|
322 |
connolly |
1.21 |
<!-- <PRE> Preformatted text --> |
323 |
|
|
<!-- <PRE WIDTH=...> Maximum characters per line --> |
324 |
|
|
|
325 |
connolly |
1.19 |
<![ %HTML.Deprecated [ |
326 |
|
|
|
327 |
|
|
<!ENTITY % literal "CDATA" |
328 |
connolly |
1.21 |
-- historical, non-conforming parsing mode where |
329 |
connolly |
1.19 |
the only markup signal is the end tag |
330 |
|
|
in full |
331 |
|
|
--> |
332 |
|
|
|
333 |
connolly |
1.21 |
<!ELEMENT (XMP|LISTING) - - %literal> |
334 |
connolly |
1.22 |
<!ATTLIST XMP |
335 |
|
|
%SDAFORM; "Lit" |
336 |
|
|
%SDAPREF; "Example:&#RE;" |
337 |
|
|
> |
338 |
|
|
<!ATTLIST LISTING |
339 |
|
|
%SDAFORM; "Lit" |
340 |
|
|
%SDAPREF; "Listing:&#RE;" |
341 |
|
|
> |
342 |
|
|
|
343 |
connolly |
1.21 |
<!-- <XMP> Example section --> |
344 |
|
|
<!-- <LISTING> Computer listing --> |
345 |
|
|
|
346 |
connolly |
1.19 |
<!ELEMENT PLAINTEXT - O %literal> |
347 |
connolly |
1.21 |
<!-- <PLAINTEXT> Plain text passage --> |
348 |
connolly |
1.19 |
|
349 |
connolly |
1.22 |
<!ATTLIST PLAINTEXT |
350 |
|
|
%SDAFORM; "Lit" |
351 |
|
|
> |
352 |
connolly |
1.19 |
]]> |
353 |
|
|
|
354 |
|
|
|
355 |
connolly |
1.23 |
<!--========== Lists ==================--> |
356 |
connolly |
1.19 |
|
357 |
connolly |
1.21 |
<!ELEMENT DL - - (DT | DD)+> |
358 |
connolly |
1.19 |
<!ATTLIST DL |
359 |
connolly |
1.22 |
COMPACT (COMPACT) #IMPLIED |
360 |
|
|
%SDAFORM; "List" |
361 |
|
|
%SDAPREF; "<?SDATrans DL: #AttList>" |
362 |
|
|
> |
363 |
|
|
|
364 |
|
|
<!ELEMENT DT - O (%text)*> |
365 |
|
|
<!ATTLIST DT |
366 |
|
|
%SDAFORM; "Term" |
367 |
|
|
> |
368 |
connolly |
1.19 |
|
369 |
|
|
<!ELEMENT DD - O %flow> |
370 |
connolly |
1.22 |
<!ATTLIST DD |
371 |
|
|
%SDAFORM; "LItem" |
372 |
|
|
> |
373 |
connolly |
1.19 |
|
374 |
connolly |
1.21 |
<!-- <DL> Definition list, or glossary --> |
375 |
|
|
<!-- <DL COMPACT> Compact style list --> |
376 |
|
|
<!-- <DT> Term in definition list --> |
377 |
|
|
<!-- <DD> Definition of term --> |
378 |
|
|
|
379 |
connolly |
1.19 |
<!ELEMENT (OL|UL) - - (LI)+> |
380 |
connolly |
1.22 |
<!ATTLIST OL |
381 |
|
|
COMPACT (COMPACT) #IMPLIED |
382 |
|
|
%SDAFORM; "List" |
383 |
|
|
%SDAPREF; "<?SDATrans OL: #AttList>" |
384 |
|
|
> |
385 |
|
|
<!ATTLIST UL |
386 |
|
|
COMPACT (COMPACT) #IMPLIED |
387 |
|
|
%SDAFORM; "List" |
388 |
|
|
%SDAPREF; "<?SDATrans UL: #AttList>" |
389 |
|
|
> |
390 |
connolly |
1.21 |
<!-- <UL> Unordered list --> |
391 |
|
|
<!-- <UL COMPACT> Compact list style --> |
392 |
|
|
<!-- <OL> Ordered, or numbered list --> |
393 |
|
|
<!-- <OL COMPACT> Compact list style --> |
394 |
connolly |
1.22 |
|
395 |
|
|
|
396 |
|
|
<!ELEMENT (DIR|MENU) - - (LI)+ -(%block)> |
397 |
|
|
<!ATTLIST DIR |
398 |
|
|
COMPACT (COMPACT) #IMPLIED |
399 |
|
|
%SDAFORM; "List" |
400 |
connolly |
1.23 |
%SDAPREF; |
401 |
|
|
"<?SDATrans Dir: #AttList><LHead>Directory</LHead>" |
402 |
connolly |
1.22 |
> |
403 |
|
|
<!ATTLIST MENU |
404 |
|
|
COMPACT (COMPACT) #IMPLIED |
405 |
|
|
%SDAFORM; "List" |
406 |
|
|
%SDAPREF; "<?SDATrans Menu: #AttList><LHead>Menu</LHead>" |
407 |
|
|
> |
408 |
|
|
|
409 |
connolly |
1.21 |
<!-- <DIR> Directory list --> |
410 |
|
|
<!-- <DIR COMPACT> Compact list style --> |
411 |
|
|
<!-- <MENU> Menu list --> |
412 |
|
|
<!-- <MENU COMPACT> Compact list style --> |
413 |
connolly |
1.19 |
|
414 |
|
|
<!ELEMENT LI - O %flow> |
415 |
connolly |
1.22 |
<!ATTLIST LI |
416 |
|
|
%SDAFORM; "LItem" |
417 |
|
|
> |
418 |
connolly |
1.19 |
|
419 |
connolly |
1.21 |
<!-- <LI> List item --> |
420 |
|
|
|
421 |
connolly |
1.23 |
<!--========== Document Body ===================--> |
422 |
connolly |
1.19 |
|
423 |
|
|
<![ %HTML.Recommended [ |
424 |
connolly |
1.23 |
<!ENTITY % body.content "(%heading|%block|HR|ADDRESS|IMG)*" |
425 |
connolly |
1.19 |
-- <h1>Heading</h1> |
426 |
|
|
<p>Text ... |
427 |
|
|
is preferred to |
428 |
|
|
<h1>Heading</h1> |
429 |
|
|
Text ... |
430 |
|
|
--> |
431 |
|
|
]]> |
432 |
|
|
|
433 |
connolly |
1.23 |
<!ENTITY % body.content "(%heading | %text | %block | |
434 |
|
|
HR | ADDRESS)*"> |
435 |
connolly |
1.8 |
|
436 |
connolly |
1.19 |
<!ELEMENT BODY O O %body.content> |
437 |
connolly |
1.22 |
<!ATTLIST BODY |
438 |
|
|
%SDAPREF; "<?SDATrans Body: #AttList>" |
439 |
|
|
> |
440 |
|
|
|
441 |
connolly |
1.21 |
<!-- <BODY> Document body --> |
442 |
connolly |
1.8 |
|
443 |
connolly |
1.19 |
<!ELEMENT BLOCKQUOTE - - %body.content> |
444 |
connolly |
1.22 |
<!ATTLIST BLOCKQUOTE |
445 |
|
|
%SDAFORM; "BQ" |
446 |
|
|
> |
447 |
|
|
|
448 |
connolly |
1.21 |
<!-- <BLOCKQUOTE> Quoted passage --> |
449 |
connolly |
1.12 |
|
450 |
connolly |
1.21 |
<!ELEMENT ADDRESS - - (%text|P)*> |
451 |
connolly |
1.22 |
<!ATTLIST ADDRESS |
452 |
|
|
%SDAFORM; "Lit" |
453 |
|
|
%SDAPREF; "Address:&#RE;" |
454 |
|
|
> |
455 |
|
|
|
456 |
connolly |
1.23 |
<!-- <ADDRESS> Address, signature, or byline --> |
457 |
connolly |
1.12 |
|
458 |
connolly |
1.6 |
|
459 |
connolly |
1.23 |
<!--======= Forms ====================--> |
460 |
connolly |
1.3 |
|
461 |
connolly |
1.19 |
<![ %HTML.Forms [ |
462 |
connolly |
1.8 |
|
463 |
connolly |
1.16 |
<!ELEMENT FORM - - %body.content -(FORM) +(INPUT|SELECT|TEXTAREA)> |
464 |
connolly |
1.8 |
<!ATTLIST FORM |
465 |
connolly |
1.21 |
ACTION %URI #IMPLIED |
466 |
connolly |
1.17 |
METHOD (%HTTP-Method) GET |
467 |
|
|
ENCTYPE %Content-Type; "application/x-www-form-urlencoded" |
468 |
connolly |
1.22 |
%SDAPREF; "<Para><?SDATrans Form: #AttList>Form:</Para>" |
469 |
|
|
%SDASUFF; "<Para><?SDATrans Form: #End>Form End.</Para>" |
470 |
connolly |
1.8 |
> |
471 |
|
|
|
472 |
connolly |
1.21 |
<!-- <FORM> Fill-out or data-entry form --> |
473 |
|
|
<!-- <FORM ACTION="..."> Address for completed form --> |
474 |
|
|
<!-- <FORM METHOD=...> Method of submitting form --> |
475 |
|
|
<!-- <FORM ENCTYPE="..."> Representation of form data --> |
476 |
|
|
|
477 |
connolly |
1.8 |
<!ENTITY % InputType "(TEXT | PASSWORD | CHECKBOX | |
478 |
|
|
RADIO | SUBMIT | RESET | |
479 |
|
|
IMAGE | HIDDEN )"> |
480 |
|
|
<!ELEMENT INPUT - O EMPTY> |
481 |
|
|
<!ATTLIST INPUT |
482 |
connolly |
1.17 |
TYPE %InputType TEXT |
483 |
connolly |
1.21 |
NAME CDATA #IMPLIED |
484 |
connolly |
1.8 |
VALUE CDATA #IMPLIED |
485 |
connolly |
1.21 |
SRC %URI #IMPLIED |
486 |
connolly |
1.11 |
CHECKED (CHECKED) #IMPLIED |
487 |
connolly |
1.21 |
SIZE CDATA #IMPLIED |
488 |
connolly |
1.8 |
MAXLENGTH NUMBER #IMPLIED |
489 |
connolly |
1.17 |
ALIGN (top|middle|bottom) #IMPLIED |
490 |
connolly |
1.22 |
%SDAPREF; "<?SDATrans Input: #AttList>" |
491 |
connolly |
1.8 |
> |
492 |
|
|
|
493 |
connolly |
1.21 |
<!-- <INPUT> Form input datum --> |
494 |
|
|
<!-- <INPUT TYPE=...> Type of input interaction --> |
495 |
connolly |
1.23 |
<!-- <INPUT NAME=...> Name of form datum --> |
496 |
connolly |
1.21 |
<!-- <INPUT VALUE="..."> Default/initial/selected value --> |
497 |
|
|
<!-- <INPUT SRC="..."> Address of image --> |
498 |
|
|
<!-- <INPUT CHECKED> Initial state is "on" --> |
499 |
|
|
<!-- <INPUT SIZE=...> Field size hint --> |
500 |
|
|
<!-- <INPUT MAXLENGTH=...> Data length maximum --> |
501 |
|
|
<!-- <INPUT ALIGN=...> Image alignment --> |
502 |
|
|
|
503 |
connolly |
1.23 |
<!ELEMENT SELECT - - (OPTION+) -(INPUT|SELECT|TEXTAREA)> |
504 |
connolly |
1.8 |
<!ATTLIST SELECT |
505 |
|
|
NAME CDATA #REQUIRED |
506 |
|
|
SIZE NUMBER #IMPLIED |
507 |
connolly |
1.11 |
MULTIPLE (MULTIPLE) #IMPLIED |
508 |
connolly |
1.22 |
%SDAFORM; "List" |
509 |
|
|
%SDAPREF; |
510 |
connolly |
1.23 |
"<?SDATrans Select: |
511 |
|
|
#AttList><LHead>Select #AttVal(Multiple)</LHead>" |
512 |
connolly |
1.8 |
> |
513 |
|
|
|
514 |
connolly |
1.23 |
<!-- <SELECT> Selection of option(s) --> |
515 |
|
|
<!-- <SELECT NAME=...> Name of form datum --> |
516 |
|
|
<!-- <SELECT SIZE=...> Options displayed at a time --> |
517 |
|
|
<!-- <SELECT MULTIPLE> Multiple selections allowed --> |
518 |
connolly |
1.21 |
|
519 |
connolly |
1.22 |
<!ELEMENT OPTION - O (#PCDATA)*> |
520 |
connolly |
1.8 |
<!ATTLIST OPTION |
521 |
connolly |
1.11 |
SELECTED (SELECTED) #IMPLIED |
522 |
connolly |
1.8 |
VALUE CDATA #IMPLIED |
523 |
connolly |
1.22 |
%SDAFORM; "LItem" |
524 |
|
|
%SDAPREF; |
525 |
connolly |
1.23 |
"<?SDATrans Option: |
526 |
|
|
#AttList>#AttVal(Value) #AttVal(Selected)" |
527 |
connolly |
1.8 |
> |
528 |
|
|
|
529 |
connolly |
1.23 |
<!-- <OPTION> A selection option --> |
530 |
|
|
<!-- <OPTION SELECTED> Initial state --> |
531 |
|
|
<!-- <OPTION VALUE="..."> Form datum value for this option--> |
532 |
connolly |
1.21 |
|
533 |
connolly |
1.23 |
<!ELEMENT TEXTAREA - - (#PCDATA)* -(INPUT|SELECT|TEXTAREA)> |
534 |
connolly |
1.8 |
<!ATTLIST TEXTAREA |
535 |
|
|
NAME CDATA #REQUIRED |
536 |
connolly |
1.17 |
ROWS NUMBER #REQUIRED |
537 |
connolly |
1.8 |
COLS NUMBER #REQUIRED |
538 |
connolly |
1.22 |
%SDAFORM; "Para" |
539 |
|
|
%SDAPREF; "<?SDATrans TextArea: #AttList>#AttVal(Name): " |
540 |
connolly |
1.8 |
> |
541 |
connolly |
1.2 |
|
542 |
connolly |
1.23 |
<!-- <TEXTAREA> An area for text input --> |
543 |
|
|
<!-- <TEXTAREA NAME=...> Name of form datum --> |
544 |
|
|
<!-- <TEXTAREA ROWS=...> Height of area --> |
545 |
|
|
<!-- <TEXTAREA COLS=...> Width of area --> |
546 |
connolly |
1.21 |
|
547 |
connolly |
1.19 |
]]> |
548 |
|
|
|
549 |
|
|
|
550 |
connolly |
1.23 |
<!--======= Document Head ======================--> |
551 |
connolly |
1.19 |
|
552 |
|
|
<![ %HTML.Recommended [ |
553 |
connolly |
1.23 |
<!ENTITY % head.extra "META* & LINK*"> |
554 |
connolly |
1.19 |
]]> |
555 |
|
|
|
556 |
connolly |
1.23 |
<!ENTITY % head.extra "NEXTID? & META* & LINK*"> |
557 |
|
|
|
558 |
|
|
<!ENTITY % head.content "TITLE & ISINDEX? & BASE? & |
559 |
|
|
(%head.extra)"> |
560 |
connolly |
1.19 |
|
561 |
|
|
<!ELEMENT HEAD O O (%head.content)> |
562 |
connolly |
1.22 |
<!ATTLIST HEAD |
563 |
|
|
%SDAPREF; "<?SDATrans Head: #AttList>" |
564 |
|
|
> |
565 |
|
|
|
566 |
connolly |
1.21 |
<!-- <HEAD> Document head --> |
567 |
connolly |
1.19 |
|
568 |
connolly |
1.22 |
<!ELEMENT TITLE - - (#PCDATA)*> |
569 |
|
|
<!ATTLIST TITLE |
570 |
|
|
%SDAFORM; "Ti" |
571 |
|
|
> |
572 |
|
|
|
573 |
connolly |
1.21 |
<!-- <TITLE> Title of document --> |
574 |
|
|
|
575 |
connolly |
1.19 |
<!ELEMENT LINK - O EMPTY> |
576 |
|
|
<!ATTLIST LINK |
577 |
|
|
HREF %URI #REQUIRED |
578 |
connolly |
1.22 |
%linkExtraAttributes; |
579 |
|
|
%SDAPREF; "<?SDATrans Link: #AttList>" |
580 |
|
|
> |
581 |
|
|
|
582 |
connolly |
1.23 |
<!-- <LINK> Link from this document --> |
583 |
|
|
<!-- <LINK HREF="..."> Address of link destination --> |
584 |
|
|
<!-- <LINK URN="..."> Lasting name of destination --> |
585 |
|
|
<!-- <LINK REL=...> Relationship to destination --> |
586 |
|
|
<!-- <LINK REV=...> Relationship of destination to this --> |
587 |
|
|
<!-- <LINK TITLE="..."> Title of destination (advisory) --> |
588 |
|
|
<!-- <LINK METHODS="..."> Operations allowed (advisory) --> |
589 |
connolly |
1.19 |
|
590 |
|
|
<!ELEMENT ISINDEX - O EMPTY> |
591 |
connolly |
1.22 |
<!ATTLIST ISINDEX |
592 |
|
|
%SDAPREF; |
593 |
connolly |
1.23 |
"<Para><?SDATrans |
594 |
|
|
IsIndex: #AttList>[Document indexed/searchable.]</Para>"> |
595 |
connolly |
1.22 |
|
596 |
connolly |
1.21 |
<!-- <ISINDEX> Document is a searchable index --> |
597 |
connolly |
1.19 |
|
598 |
|
|
<!ELEMENT BASE - O EMPTY> |
599 |
|
|
<!ATTLIST BASE |
600 |
|
|
HREF %URI; #REQUIRED |
601 |
connolly |
1.22 |
%SDAPREF; "<?SDATrans Base: #AttList>" |
602 |
connolly |
1.19 |
> |
603 |
connolly |
1.22 |
|
604 |
connolly |
1.21 |
<!-- <BASE> Base context document --> |
605 |
|
|
<!-- <BASE HREF="..."> Address for this document --> |
606 |
connolly |
1.19 |
|
607 |
|
|
<!ELEMENT NEXTID - O EMPTY> |
608 |
connolly |
1.22 |
<!ATTLIST NEXTID |
609 |
|
|
N %linkName #REQUIRED |
610 |
|
|
%SDAPREF; "<?SDATrans NextID: #AttList>" |
611 |
|
|
> |
612 |
|
|
|
613 |
connolly |
1.23 |
<!-- <NEXTID> Next ID to use for link name --> |
614 |
|
|
<!-- <NEXTID N=...> Next ID to use for link name --> |
615 |
connolly |
1.19 |
|
616 |
connolly |
1.21 |
<!ELEMENT META - O EMPTY> |
617 |
connolly |
1.19 |
<!ATTLIST META |
618 |
connolly |
1.21 |
HTTP-EQUIV NAME #IMPLIED |
619 |
|
|
NAME NAME #IMPLIED |
620 |
|
|
CONTENT CDATA #REQUIRED |
621 |
connolly |
1.22 |
%SDAPREF; "<?SDATrans Meta: #AttList>" |
622 |
connolly |
1.19 |
> |
623 |
connolly |
1.22 |
|
624 |
connolly |
1.21 |
<!-- <META> Generic Metainformation --> |
625 |
|
|
<!-- <META HTTP-EQUIV=...> HTTP response header name --> |
626 |
|
|
<!-- <META HTTP-EQUIV=...> Metainformation name --> |
627 |
|
|
<!-- <META CONTENT="..."> Associated information --> |
628 |
connolly |
1.19 |
|
629 |
connolly |
1.23 |
<!--======= Document Structure =================--> |
630 |
connolly |
1.19 |
|
631 |
|
|
<![ %HTML.Deprecated [ |
632 |
|
|
<!ENTITY % html.content "HEAD, BODY, PLAINTEXT?"> |
633 |
|
|
]]> |
634 |
|
|
<!ENTITY % html.content "HEAD, BODY"> |
635 |
|
|
|
636 |
|
|
<!ELEMENT HTML O O (%html.content)> |
637 |
connolly |
1.22 |
<!ENTITY % version.attr "VERSION CDATA #FIXED '%HTML.Version;'"> |
638 |
connolly |
1.19 |
|
639 |
|
|
<!ATTLIST HTML |
640 |
connolly |
1.21 |
%version.attr; |
641 |
connolly |
1.22 |
%SDAFORM; "Book" |
642 |
|
|
%SDAPREF; "<?SDATrans HTML: #AttList>" |
643 |
connolly |
1.19 |
> |
644 |
connolly |
1.21 |
|
645 |
connolly |
1.23 |
<!-- <HTML> HTML Document --> |