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