/[pub]/test/html.dtd
Suika

Diff of /test/html.dtd

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.19 by connolly, Fri Sep 23 22:46:51 1994 UTC revision 1.24 by connolly, Mon Feb 6 21:28:45 1995 UTC
# Line 1  Line 1 
1  <!--    html.dtd  <!--    html.dtd
2    
3          Document Type Definition for the HyperText Markup Language (HTML DTD)          Document Type Definition for the HyperText Markup Language
4                     (HTML DTD)
5    
6          $Id$          $Id$
7    
8          Author: Daniel W. Connolly <connolly@hal.com>          Author: Daniel W. Connolly <connolly@hal.com>
9          See Also: html.decl, html-0.dtd, html-1.dtd          See Also: html.decl, html-0.dtd, html-1.dtd
10                    http://www.hal.com/%7Econnolly/html-spec/index.html            http://www.hal.com/%7Econnolly/html-spec/index.html
11                    http://info.cern.ch/hypertext/WWW/MarkUp2/MarkUp.html            http://info.cern.ch/hypertext/WWW/MarkUp2/MarkUp.html
12  -->  -->
13    
14  <!ENTITY % HTML.Version  <!ENTITY % HTML.Version
15          "-//IETF//DTD HTML//EN//2.0"          "-//IETF//DTD HTML 2.0//EN"
16    
17          -- Typical usage:          -- Typical usage:
18    
19              <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">              <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
20              <html>              <html>
21              ...              ...
22              </html>              </html>
23          --          --
24          >          >
25    
26    
27  <!--================== Feature Test Entities ==============================-->  <!--============ Feature Test Entities ========================-->
28    
29  <!ENTITY % HTML.Recommended "IGNORE"  <!ENTITY % HTML.Recommended "IGNORE"
30          -- Certain features of the language are necessary for compatibility          -- Certain features of the language are necessary for
31             with widespread usage, but they may compromise the structural             compatibility with widespread usage, but they may
32             integrity of a document. This feature test entity enables             compromise the structural integrity of a document.
33             a more prescriptive document type definition that eliminates             This feature test entity enables a more prescriptive
34             the above features.             document type definition that eliminates
35               those features.
36          -->          -->
37    
38  <![ %HTML.Recommended [  <![ %HTML.Recommended [
39          <!ENTITY % HTML.Deprecated "IGNORE">          <!ENTITY % HTML.Deprecated "IGNORE">
40  ]]>  ]]>
41    
42  <!ENTITY % HTML.Deprecated "INCLUDE"  <!ENTITY % HTML.Deprecated "INCLUDE"
43          -- Certain features of the language are necessary for compatibility          -- Certain features of the language are necessary for
44             with earlier versions of the specification, but they tend             compatibility with earlier versions of the specification,
45             to be used an implemented inconsistently, and their use is             but they tend to be used an implemented inconsistently,
46             deprecated. This feature test entity enables a document type             and their use is deprecated. This feature test entity
47             definition that eliminates these features.             enables a document type definition that eliminates
48               these features.
49            -->
50    
51    <!ENTITY % HTML.Highlighting "INCLUDE"
52            -- Use this feature test entity to validate that a
53               document uses no highlighting tags, which may be
54               ignored on minimal implementations.
55          -->          -->
56    
57  <!ENTITY % HTML.Highlighting "INCLUDE">  <!ENTITY % HTML.Forms "INCLUDE"
58  <!ENTITY % HTML.Forms "INCLUDE">          -- 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    
63  <!--================== Imported Names =====================================-->  <!--============== Imported Names ==============================-->
64    
65  <!ENTITY % Content-Type "CDATA"  <!ENTITY % Content-Type "CDATA"
66          -- meaning a MIME content type, as per RFC1521          -- meaning an internet media type
67          -->             (aka MIME content type, as per RFC1521)
68            -->
69    
70  <!ENTITY % HTTP-Method "GET | POST"  <!ENTITY % HTTP-Method "GET | POST"
71          -- as per HTTP specification          -- as per HTTP specification, in progress
72          -->          -->
73    
74  <!ENTITY % URI "CDATA"  <!ENTITY % URI "CDATA"
75          -- The term URI means a CDATA attribute          -- The term URI means a CDATA attribute
76             whose value is a Uniform Resource Identifier,             whose value is a Uniform Resource Identifier,
77             as defined by             as defined by
78          "Universal Resource Identifiers" by Tim Berners-Lee          "Universal Resource Identifiers" by Tim Berners-Lee
         aka http://info.cern.ch/hypertext/WWW/Addressing/URL/URI_Overview.html  
79          aka RFC 1630          aka RFC 1630
80    
81          Note that CDATA attributes are limited by the LITLEN          Note that CDATA attributes are limited by the LITLEN
# Line 73  Line 85 
85          -->          -->
86    
87    
88  <!-- DTD "macros" -->  <!--========= DTD "Macros" =====================-->
89    
90  <!ENTITY % heading "H1|H2|H3|H4|H5|H6">  <!ENTITY % heading "H1|H2|H3|H4|H5|H6">
91    
92  <!ENTITY % list " UL | OL | DIR | MENU " >  <!ENTITY % list " UL | OL | DIR | MENU " >
93    
94    
95  <!--================ Character mnemonic entities ==========================-->  <!--======= Character mnemonic entities =================-->
96    
97  <!ENTITY % ISOlat1 PUBLIC  <!ENTITY % ISOlat1 PUBLIC
98    "-//IETF//ENTITIES Added Latin 1 for HTML//EN">    "ISO 8879-1986//ENTITIES Added Latin 1//EN//HTML">
99  %ISOlat1;  %ISOlat1;
100    
101  <!ENTITY amp CDATA "&#38;"     -- ampersand          -->  <!ENTITY amp CDATA "&#38;"     -- ampersand          -->
# Line 92  Line 104 
104  <!ENTITY quot CDATA "&#34;"    -- double quote       -->  <!ENTITY quot CDATA "&#34;"    -- double quote       -->
105    
106    
107  <!--=================== Text Markup =======================================-->  <!--========= SGML Document Access (SDA) Parameter Entities =====-->
108    
109    <!-- 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            - Usenet news group bit.listserv.easi
122            - Recording for the Blind, +1 800 221 4792
123    -->
124    
125    <!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    
136    
137    <!--========== Text Markup =====================-->
138    
139  <![ %HTML.Highlighting [  <![ %HTML.Highlighting [
140    
# Line 102  Line 144 
144    
145  <!ENTITY % text "#PCDATA | A | IMG | BR | %phrase | %font">  <!ENTITY % text "#PCDATA | A | IMG | BR | %phrase | %font">
146    
147  <!ENTITY % pre.content "#PCDATA | A | HR | BR | %font | %phrase">  <!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  <!ELEMENT (%font;|%phrase) - - (%text)+>  <!-- <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    <!ENTITY % pre.content "#PCDATA | A | HR | BR | %font | %phrase">
171    
172  ]]>  ]]>
173    
174  <!ENTITY % text "#PCDATA | A | IMG | BR">  <!ENTITY % text "#PCDATA | A | IMG | BR">
175    
176  <!ELEMENT BR    - O EMPTY>  <!ELEMENT BR    - O EMPTY>
177    <!ATTLIST BR
178            %SDAPREF; "&#RE;"
179            >
180    
181    <!-- <BR>       Line break      -->
182    
183  <!--================== Link Markup ========================================-->  
184    <!--========= Link Markup ======================-->
185    
186  <![ %HTML.Recommended [  <![ %HTML.Recommended [
187          <!ENTITY % linkName "ID">          <!ENTITY % linkName "ID">
188  ]]>  ]]>
189    
190  <!ENTITY % linkName "CDATA">  <!ENTITY % linkName "CDATA">
191    
192  <!ENTITY % linkType "NAME"  <!ENTITY % linkType "NAME"
193          -- a list of these will be specified at a later date -->          -- a list of these will be specified at a later date -->
194    
195  <!ENTITY % linkExtraAttributes  <!ENTITY % linkExtraAttributes
196          "REL %linkType #IMPLIED -- forward relationship type --          "REL %linkType #IMPLIED
197          REV %linkType #IMPLIED -- reversed relationship type          REV %linkType #IMPLIED
198                                to referent data --          URN CDATA #IMPLIED
199          URN CDATA #IMPLIED -- universal resource number --          TITLE CDATA #IMPLIED
200            METHODS NAMES #IMPLIED
         TITLE CDATA #IMPLIED -- advisory only --  
         METHODS NAMES #IMPLIED -- supported public methods of the object:  
                                         TEXTSEARCH, GET, HEAD, ... --  
201          ">          ">
202    
203  <![ %HTML.Recommended [  <![ %HTML.Recommended [
204          <!ENTITY % A.content   "(%text)+"          <!ENTITY % A.content   "(%text)*"
205          -- <H1><a name="xxx">Heading</a></H1>          -- <H1><a name="xxx">Heading</a></H1>
206                  is preferred to                  is preferred to
207             <a name="xxx"><H1>Heading</H1></a>             <a name="xxx"><H1>Heading</H1></a>
208          -->          -->
209  ]]>  ]]>
210    
211  <!ENTITY % A.content   "(%heading|%text)+">  <!ENTITY % A.content   "(%heading|%text)*">
212    
213  <!ELEMENT A     - - %A.content -(A)>  <!ELEMENT A     - - %A.content -(A)>
   
214  <!ATTLIST A  <!ATTLIST A
215          HREF %URI #IMPLIED          HREF %URI #IMPLIED
216          NAME %linkName #IMPLIED          NAME %linkName #IMPLIED
217          %linkExtraAttributes;          %linkExtraAttributes;
218            %SDAPREF; "<Anchor: #AttList>"
219          >          >
220    <!-- <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    
 <!--=================== Images ============================================-->  
229    
230  <!ENTITY % img.alt.default "#IMPLIED"  <!--========== Images ==========================-->
         -- ALT attribute required in Level 0 docs -->  
231    
232  <!ELEMENT IMG    - O EMPTY --  Embedded image -->  <!ELEMENT IMG    - O EMPTY>
233  <!ATTLIST IMG  <!ATTLIST IMG
234          SRC %URI;  #REQUIRED     -- URI of document to embed --          SRC %URI;  #REQUIRED
235          ALT CDATA %img.alt.default;          ALT CDATA #IMPLIED
236          ALIGN (top|middle|bottom) #IMPLIED          ALIGN (top|middle|bottom) #IMPLIED
237          ISMAP (ISMAP) #IMPLIED          ISMAP (ISMAP) #IMPLIED
238            %SDAPREF; "<Fig><?SDATrans Img: #AttList>#AttVal(Alt)</Fig>"
239          >          >
240    
241    <!-- <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    
247    <!--========== Paragraphs=======================-->
248    
249    <!ELEMENT P     - O (%text)*>
250    <!ATTLIST P
251            %SDAFORM; "Para"
252            >
253    
254  <!--=================== Paragraphs=========================================-->  <!-- <P>        Paragraph       -->
255    
 <!ELEMENT P     - O (%text)+>  
256    
257    <!--========== Headings, Titles, Sections ===============-->
258    
259  <!--=================== Headings, Titles, Sections ========================-->  <!ELEMENT HR    - O EMPTY>
260    <!ATTLIST HR
261            %SDAPREF; "&#RE;&#RE;"
262            >
263    
264  <!ELEMENT HR    - O EMPTY -- horizontal rule -->  <!-- <HR>       Horizontal rule -->
265    
266  <!ELEMENT ( %heading )  - -  (%text;)+>  <!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  <!ELEMENT TITLE - -  (#PCDATA)  <!-- <H1>       Heading, level 1 -->
287            -- The TITLE element is not considered part of the flow of text.  <!-- <H2>       Heading, level 2 -->
288               It should be displayed, for example as the page header or  <!-- <H3>       Heading, level 3 -->
289               window title.  <!-- <H4>       Heading, level 4 -->
290            -->  <!-- <H5>       Heading, level 5 -->
291    <!-- <H6>       Heading, level 6 -->
292    
293    
294  <!--=================== Text Flows ========================================-->  <!--========== Text Flows ======================-->
295    
296  <![ %HTML.Forms [  <![ %HTML.Forms [
297          <!ENTITY % block.forms "| FORM | ISINDEX">          <!ENTITY % block.forms "BLOCKQUOTE | FORM | ISINDEX">
298  ]]>  ]]>
299    
300  <!ENTITY % block.forms "">  <!ENTITY % block.forms "BLOCKQUOTE">
301    
302  <![ %HTML.Deprecated [  <![ %HTML.Deprecated [
303          <!ENTITY % preformatted "PRE | XMP | LISTING">          <!ENTITY % preformatted "PRE | XMP | LISTING">
304  ]]>  ]]>
305    
306  <!ENTITY % preformatted "PRE">  <!ENTITY % preformatted "PRE">
307    
308  <!ENTITY % block "P | %list | DL  <!ENTITY % block "P | %list | DL
309          | %preformatted          | %preformatted
310          | BLOCKQUOTE %block.forms">          | %block.forms">
311    
312  <!ENTITY % flow "(%text|%block)*">  <!ENTITY % flow "(%text|%block)*">
313    
314  <!ENTITY % pre.content "#PCDATA | A | HR | BR">  <!ENTITY % pre.content "#PCDATA | A | HR | BR">
315  <!ELEMENT PRE - - (%pre.content)+>  <!ELEMENT PRE - - (%pre.content)*>
   
316  <!ATTLIST PRE  <!ATTLIST PRE
317          WIDTH NUMBER #implied          WIDTH NUMBER #implied
318            %SDAFORM; "Lit"
319          >          >
320    
321    <!-- <PRE>              Preformatted text               -->
322    <!-- <PRE WIDTH=...>    Maximum characters per line     -->
323    
324  <![ %HTML.Deprecated [  <![ %HTML.Deprecated [
325    
326  <!ENTITY % literal "CDATA"  <!ENTITY % literal "CDATA"
327          -- special non-conforming parsing mode where          -- historical, non-conforming parsing mode where
328             the only markup signal is the end tag             the only markup signal is the end tag
329             in full             in full
330          -->          -->
331    
332    <!ELEMENT (XMP|LISTING) - -  %literal>
333    <!ATTLIST XMP
334            %SDAFORM; "Lit"
335            %SDAPREF; "Example:&#RE;"
336            >
337    <!ATTLIST LISTING
338            %SDAFORM; "Lit"
339            %SDAPREF; "Listing:&#RE;"
340            >
341    
342    <!-- <XMP>              Example section         -->
343    <!-- <LISTING>          Computer listing        -->
344    
 <!ELEMENT XMP - -  %literal>  
 <!ELEMENT LISTING - -  %literal>  
345  <!ELEMENT PLAINTEXT - O %literal>  <!ELEMENT PLAINTEXT - O %literal>
346    <!-- <PLAINTEXT>        Plain text passage      -->
347    
348    <!ATTLIST PLAINTEXT
349            %SDAFORM; "Lit"
350            >
351  ]]>  ]]>
352    
353    
354  <!--=================== Lists =============================================-->  <!--========== Lists ==================-->
355    
356  <!ELEMENT DL    - -  (DT*, DD?)+>  <!ELEMENT DL    - -  (DT | DD)+>
357  <!ATTLIST DL  <!ATTLIST DL
358          COMPACT (COMPACT) #IMPLIED>          COMPACT (COMPACT) #IMPLIED
359            %SDAFORM; "List"
360            %SDAPREF; "Definition List:"
361            >
362    
363    <!ELEMENT DT    - O (%text)*>
364    <!ATTLIST DT
365            %SDAFORM; "Term"
366            >
367    
 <!ELEMENT DT    - O (%text)+>  
368  <!ELEMENT DD    - O %flow>  <!ELEMENT DD    - O %flow>
369    <!ATTLIST DD
370            %SDAFORM; "LItem"
371            >
372    
373    <!-- <DL>               Definition list, or glossary    -->
374    <!-- <DL COMPACT>       Compact style list              -->
375    <!-- <DT>               Term in definition list         -->
376    <!-- <DD>               Definition of term              -->
377    
378  <!ELEMENT (OL|UL) - -  (LI)+>  <!ELEMENT (OL|UL) - -  (LI)+>
379    <!ATTLIST OL
380            COMPACT (COMPACT) #IMPLIED
381            %SDAFORM; "List"
382            >
383    <!ATTLIST UL
384            COMPACT (COMPACT) #IMPLIED
385            %SDAFORM; "List"
386            >
387    <!-- <UL>               Unordered list                  -->
388    <!-- <UL COMPACT>       Compact list style              -->
389    <!-- <OL>               Ordered, or numbered list       -->
390    <!-- <OL COMPACT>       Compact list style              -->
391    
392    
393  <!ELEMENT (DIR|MENU) - -  (LI)+ -(%block)>  <!ELEMENT (DIR|MENU) - -  (LI)+ -(%block)>
394  <!ATTLIST (%list)  <!ATTLIST DIR
395          COMPACT (COMPACT) #IMPLIED>          COMPACT (COMPACT) #IMPLIED
396            %SDAFORM; "List"
397            %SDAPREF; "<LHead>Directory</LHead>"
398            >
399    <!ATTLIST MENU
400            COMPACT (COMPACT) #IMPLIED
401            %SDAFORM; "List"
402            %SDAPREF; "<LHead>Menu</LHead>"
403            >
404    
405    <!-- <DIR>              Directory list                  -->
406    <!-- <DIR COMPACT>      Compact list style              -->
407    <!-- <MENU>             Menu list                       -->
408    <!-- <MENU COMPACT>     Compact list style              -->
409    
410  <!ELEMENT LI    - O %flow>  <!ELEMENT LI    - O %flow>
411    <!ATTLIST LI
412            %SDAFORM; "LItem"
413            >
414    
415    <!-- <LI>               List item                       -->
416    
417  <!--=================== Document Body =====================================-->  <!--========== Document Body ===================-->
418    
419  <![ %HTML.Recommended [  <![ %HTML.Recommended [
420          <!ENTITY % body.content "(%heading|%block|HR|ADDRESS)*">          <!ENTITY % body.content "(%heading|%block|HR|ADDRESS|IMG)*"
421          -- <h1>Heading</h1>          -- <h1>Heading</h1>
422             <p>Text ...             <p>Text ...
423                  is preferred to                  is preferred to
# Line 255  Line 426 
426          -->          -->
427  ]]>  ]]>
428    
429  <!ENTITY % body.content "(%heading | %text | %block | HR | ADDRESS)*">  <!ENTITY % body.content "(%heading | %text | %block |
430                                     HR | ADDRESS)*">
431    
432  <!ELEMENT BODY O O  %body.content>  <!ELEMENT BODY O O  %body.content>
433    
434    <!-- <BODY>     Document body   -->
435    
436  <!ELEMENT BLOCKQUOTE - - %body.content>  <!ELEMENT BLOCKQUOTE - - %body.content>
437    <!ATTLIST BLOCKQUOTE
438            %SDAFORM; "BQ"
439            >
440    
441  <![ %HTML.Recommended [  <!-- <BLOCKQUOTE>       Quoted passage  -->
442          <!ENTITY % address.content "(%text)*">  
443  ]]>  <!ELEMENT ADDRESS - - (%text|P)*>
444  <!ENTITY % address.content "(%text|P)*">  <!ATTLIST  ADDRESS
445  <!ELEMENT ADDRESS - - %address.content>          %SDAFORM; "Lit"
446            %SDAPREF; "Address:&#RE;"
447            >
448    
449    <!-- <ADDRESS>  Address, signature, or byline   -->
450    
451  <!--================ Forms ===============================================-->  
452    <!--======= Forms ====================-->
453    
454  <![ %HTML.Forms [  <![ %HTML.Forms [
455    
456  <!ELEMENT FORM - - %body.content -(FORM) +(INPUT|SELECT|TEXTAREA)>  <!ELEMENT FORM - - %body.content -(FORM) +(INPUT|SELECT|TEXTAREA)>
457  <!ATTLIST FORM  <!ATTLIST FORM
458          ACTION %URI #REQUIRED          ACTION %URI #IMPLIED
459          METHOD (%HTTP-Method) GET          METHOD (%HTTP-Method) GET
460          ENCTYPE %Content-Type; "application/x-www-form-urlencoded"          ENCTYPE %Content-Type; "application/x-www-form-urlencoded"
461          >          %SDAPREF; "<Para>Form:</Para>"
462            %SDASUFF; "<Para>Form End.</Para>"
463            >
464    
465    <!-- <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    
470  <!ENTITY % InputType "(TEXT | PASSWORD | CHECKBOX |  <!ENTITY % InputType "(TEXT | PASSWORD | CHECKBOX |
471                          RADIO | SUBMIT | RESET |                          RADIO | SUBMIT | RESET |
472                          IMAGE | HIDDEN )">                          IMAGE | HIDDEN )">
473  <!ELEMENT INPUT - O EMPTY>  <!ELEMENT INPUT - O EMPTY>
474  <!ATTLIST INPUT  <!ATTLIST INPUT
475          TYPE %InputType TEXT          TYPE %InputType TEXT
476          NAME CDATA #IMPLIED -- required for all but submit and reset --          NAME CDATA #IMPLIED
477          VALUE CDATA #IMPLIED          VALUE CDATA #IMPLIED
478          SRC %URI #IMPLIED -- for image inputs --          SRC %URI #IMPLIED
479          CHECKED (CHECKED) #IMPLIED          CHECKED (CHECKED) #IMPLIED
480          SIZE CDATA #IMPLIED -- like NUMBERS,          SIZE CDATA #IMPLIED
                                  but delimited with comma, not space --  
481          MAXLENGTH NUMBER #IMPLIED          MAXLENGTH NUMBER #IMPLIED
482          ALIGN (top|middle|bottom) #IMPLIED          ALIGN (top|middle|bottom) #IMPLIED
483            %SDAPREF; "Input: "
484          >          >
485    
486  <!ELEMENT SELECT - - (OPTION+)>  <!-- <INPUT>                    Form input datum                -->
487    <!-- <INPUT TYPE=...>           Type of input interaction       -->
488    <!-- <INPUT NAME=...>           Name of form datum              -->
489    <!-- <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    <!ELEMENT SELECT - - (OPTION+) -(INPUT|SELECT|TEXTAREA)>
497  <!ATTLIST SELECT  <!ATTLIST SELECT
498          NAME CDATA #REQUIRED          NAME CDATA #REQUIRED
499          SIZE NUMBER #IMPLIED          SIZE NUMBER #IMPLIED
500          MULTIPLE (MULTIPLE) #IMPLIED          MULTIPLE (MULTIPLE) #IMPLIED
501            %SDAFORM; "List"
502            %SDAPREF;
503            "<LHead>Select #AttVal(Multiple)</LHead>"
504          >          >
505    
506  <!ELEMENT OPTION - O (#PCDATA)>  <!-- <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    
511    <!ELEMENT OPTION - O (#PCDATA)*>
512  <!ATTLIST OPTION  <!ATTLIST OPTION
513          SELECTED (SELECTED) #IMPLIED          SELECTED (SELECTED) #IMPLIED
514          VALUE CDATA #IMPLIED          VALUE CDATA #IMPLIED
515            %SDAFORM; "LItem"
516            %SDAPREF;
517            "Option: #AttVal(Value) #AttVal(Selected)"
518          >          >
519    
520  <!ELEMENT TEXTAREA - - (#PCDATA)>  <!-- <OPTION>                   A selection option              -->
521    <!-- <OPTION SELECTED>          Initial state                   -->
522    <!-- <OPTION VALUE="...">       Form datum value for this option-->
523    
524    <!ELEMENT TEXTAREA - - (#PCDATA)* -(INPUT|SELECT|TEXTAREA)>
525  <!ATTLIST TEXTAREA  <!ATTLIST TEXTAREA
526          NAME CDATA #REQUIRED          NAME CDATA #REQUIRED
527          ROWS NUMBER #REQUIRED          ROWS NUMBER #REQUIRED
528          COLS NUMBER #REQUIRED          COLS NUMBER #REQUIRED
529          >          %SDAFORM; "Para"
530            %SDAPREF; "Input Text -- #AttVal(Name): "
531            >
532    
533  ]]>  <!-- <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    
538    ]]>
539    
 <!--================ Document Head ========================================-->  
540    
541  <!ENTITY % head.link "& LINK*">  <!--======= Document Head ======================-->
542    
543  <![ %HTML.Recommended [  <![ %HTML.Recommended [
544          <!ENTITY % head.nextid "">          <!ENTITY % head.extra "META* & LINK*">
545  ]]>  ]]>
 <!ENTITY % head.nextid "& NEXTID?">  
546    
547  <!ENTITY % head.content "TITLE & ISINDEX? & BASE? & META*  <!ENTITY % head.extra "NEXTID? & META* & LINK*">
548                           %head.nextid  
549                           %head.link">  <!ENTITY % head.content "TITLE & ISINDEX? & BASE? &
550                             (%head.extra)">
551    
552  <!ELEMENT HEAD O O  (%head.content)>  <!ELEMENT HEAD O O  (%head.content)>
553    
554    <!-- <HEAD>     Document head   -->
555    
556    <!ELEMENT TITLE - -  (#PCDATA)*>
557    <!ATTLIST TITLE
558            %SDAFORM; "Ti"    >
559    
560    <!-- <TITLE>    Title of document -->
561    
562  <!ELEMENT LINK - O EMPTY>  <!ELEMENT LINK - O EMPTY>
563  <!ATTLIST LINK  <!ATTLIST LINK
564          HREF %URI #REQUIRED          HREF %URI #REQUIRED
565          %linkExtraAttributes; >          %linkExtraAttributes;
566            %SDAPREF; "Linked to : #AttVal (TITLE) (URN) (HREF)>"    >
567    
568    <!-- <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    
576  <!ELEMENT ISINDEX - O EMPTY>  <!ELEMENT ISINDEX - O EMPTY>
577    <!ATTLIST ISINDEX
578            %SDAPREF;
579       "<Para>[Document is indexed/searchable.]</Para>">
580    
581    <!-- <ISINDEX>          Document is a searchable index          -->
582    
583  <!ELEMENT BASE - O EMPTY>  <!ELEMENT BASE - O EMPTY>
584  <!ATTLIST BASE  <!ATTLIST BASE
585          HREF %URI; #REQUIRED          HREF %URI; #REQUIRED     >
586          >  
587    <!-- <BASE>             Base context document                   -->
588    <!-- <BASE HREF="...">  Address for this document               -->
589    
590  <!ELEMENT NEXTID - O EMPTY>  <!ELEMENT NEXTID - O EMPTY>
591  <!ATTLIST NEXTID N %linkName #REQUIRED>  <!ATTLIST NEXTID
592            N %linkName #REQUIRED     >
593    
594  <!ELEMENT META - O EMPTY    -- Generic Metainformation -->  <!-- <NEXTID>           Next ID to use for link name            -->
595  <!ATTLIST META  <!-- <NEXTID N=...>     Next ID to use for link name            -->
         HTTP-EQUIV  NAME    #IMPLIED  -- HTTP response header name  --  
         NAME        NAME    #IMPLIED  -- metainformation name       --  
         CONTENT     CDATA   #REQUIRED -- associated information     --  
         >  
596    
597    <!ELEMENT META - O EMPTY>
598    <!ATTLIST META
599            HTTP-EQUIV  NAME    #IMPLIED
600            NAME        NAME    #IMPLIED
601            CONTENT     CDATA   #REQUIRED    >
602    
603    <!-- <META>                     Generic Metainformation         -->
604    <!-- <META HTTP-EQUIV=...>      HTTP response header name       -->
605    <!-- <META HTTP-EQUIV=...>      Metainformation name            -->
606    <!-- <META CONTENT="...">       Associated information          -->
607    
608  <!--================ Document Structure ===================================-->  <!--======= Document Structure =================-->
609    
610  <![ %HTML.Deprecated [  <![ %HTML.Deprecated [
611          <!ENTITY % html.content "HEAD, BODY, PLAINTEXT?">          <!ENTITY % html.content "HEAD, BODY, PLAINTEXT?">
612  ]]>  ]]>
613  <!ENTITY % html.content "HEAD, BODY">  <!ENTITY % html.content "HEAD, BODY">
614    
615  <!ELEMENT HTML O O  (%html.content)>  <!ELEMENT HTML O O  (%html.content)>
616  <!ENTITY % version.attr "VERSION CDATA #FIXED &#34;%HTML.Version;&#34;">  <!ENTITY % version.attr "VERSION CDATA #FIXED '%HTML.Version;'">
617    
618  <!ATTLIST HTML  <!ATTLIST HTML
619          %version.attr;-- report DTD version to application --          %version.attr;
620          >          %SDAFORM; "Book"
621            >
622    
623    <!-- <HTML>                     HTML Document   -->

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.24

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24