/[pub]/test/html.dtd
Suika

Contents of /test/html.dtd

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.30 - (show annotations) (download)
Thu Sep 21 23:30:19 1995 UTC (29 years, 1 month ago) by connolly
Branch: MAIN
CVS Tags: HEAD
Changes since 1.29: +7 -7 lines
,changes

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24