/[pub]/test/html.dtd
Suika

Diff of /test/html.dtd

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

revision 1.21 by connolly, Tue Nov 15 19:54:38 1994 UTC revision 1.29 by connolly, Fri Aug 4 17:50:22 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@w3.org>
9          See Also: html.decl, html-0.dtd, html-1.dtd          See Also: html.decl, html-1.dtd
10                    http://www.hal.com/%7Econnolly/html-spec/index.html            http://www.w3.org/hypertext/WWW/MarkUp/MarkUp.html
                   http://info.cern.ch/hypertext/WWW/MarkUp2/MarkUp.html  
11  -->  -->
12    
13  <!ENTITY % HTML.Version  <!ENTITY % HTML.Version
14          "-//IETF//DTD HTML//EN//2.0"          "-//IETF//DTD HTML 2.0//EN"
15    
16          -- Typical usage:          -- Typical usage:
17    
18              <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">              <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
19              <html>              <html>
20              ...              ...
21              </html>              </html>
22          --          --
23          >          >
24    
25    
26  <!--================== Feature Test Entities ==============================-->  <!--============ Feature Test Entities ========================-->
27    
28  <!ENTITY % HTML.Recommended "IGNORE"  <!ENTITY % HTML.Recommended "IGNORE"
29          -- Certain features of the language are necessary for compatibility          -- Certain features of the language are necessary for
30             with widespread usage, but they may compromise the structural             compatibility with widespread usage, but they may
31             integrity of a document. This feature test entity enables             compromise the structural integrity of a document.
32             a more prescriptive document type definition that eliminates             This feature test entity enables a more prescriptive
33               document type definition that eliminates
34             those features.             those features.
35          -->          -->
36    
37  <![ %HTML.Recommended [  <![ %HTML.Recommended [
38          <!ENTITY % HTML.Deprecated "IGNORE">          <!ENTITY % HTML.Deprecated "IGNORE">
39  ]]>  ]]>
40    
41  <!ENTITY % HTML.Deprecated "INCLUDE"  <!ENTITY % HTML.Deprecated "INCLUDE"
42          -- Certain features of the language are necessary for compatibility          -- Certain features of the language are necessary for
43             with earlier versions of the specification, but they tend             compatibility with earlier versions of the specification,
44             to be used an implemented inconsistently, and their use is             but they tend to be used an implemented inconsistently,
45             deprecated. This feature test entity enables a document type             and their use is deprecated. This feature test entity
46             definition that eliminates these features.             enables a document type definition that eliminates
47               these features.
48          -->          -->
49    
50  <!ENTITY % HTML.Highlighting "INCLUDE"  <!ENTITY % HTML.Highlighting "INCLUDE"
51          -- Use this feature test entity to validate that a document          -- Use this feature test entity to validate that a
52             uses no highlighting tags, which may be ignored on minimal             document uses no highlighting tags, which may be
53             implementations.             ignored on minimal implementations.
54          -->          -->
55    
56  <!ENTITY % HTML.Forms "INCLUDE"  <!ENTITY % HTML.Forms "INCLUDE"
57          -- Use this feature test entity to validate that a document          -- Use this feature test entity to validate that a document
58             contains no forms, which may not be supported in minimal             contains no forms, which may not be supported in minimal
59             implementations             implementations
60          -->          -->
61    
62  <!--================== Imported Names =====================================-->  <!--============== Imported Names ==============================-->
63    
64  <!ENTITY % Content-Type "CDATA"  <!ENTITY % Content-Type "CDATA"
65          -- meaning an internet media type          -- meaning an internet media type
66             (aka MIME content type, as per RFC1521)             (aka MIME content type, as per RFC1521)
67          -->          -->
68    
69  <!ENTITY % HTTP-Method "GET | POST"  <!ENTITY % HTTP-Method "GET | POST"
70          -- as per HTTP specification, in progress          -- as per HTTP specification, in progress
         -->  
   
 <!ENTITY % URI "CDATA"  
         -- The term URI means a CDATA attribute  
            whose value is a Uniform Resource Identifier,  
            as defined by  
         "Universal Resource Identifiers" by Tim Berners-Lee  
         aka http://info.cern.ch/hypertext/WWW/Addressing/URL/URI_Overview.html  
         aka RFC 1630  
   
         Note that CDATA attributes are limited by the LITLEN  
         capacity (1024 in the current version of html.decl),  
         so that URIs in HTML have a bounded length.  
   
71          -->          -->
72    
73    <!--========= DTD "Macros" =====================-->
 <!--================== DTD "Macros" =======================================-->  
74    
75  <!ENTITY % heading "H1|H2|H3|H4|H5|H6">  <!ENTITY % heading "H1|H2|H3|H4|H5|H6">
76    
77  <!ENTITY % list " UL | OL | DIR | MENU " >  <!ENTITY % list " UL | OL | DIR | MENU " >
78    
79    
80  <!--================ Character mnemonic entities ==========================-->  <!--======= Character mnemonic entities =================-->
81    
82  <!ENTITY % ISOlat1 PUBLIC  <!ENTITY % ISOlat1 PUBLIC
83    "-//IETF//ENTITIES Added Latin 1 for HTML//EN">    "ISO 8879-1986//ENTITIES Added Latin 1//EN//HTML">
84  %ISOlat1;  %ISOlat1;
85    
86  <!ENTITY amp CDATA "&#38;"     -- ampersand          -->  <!ENTITY amp CDATA "&#38;"     -- ampersand          -->
# Line 102  Line 89 
89  <!ENTITY quot CDATA "&#34;"    -- double quote       -->  <!ENTITY quot CDATA "&#34;"    -- double quote       -->
90    
91    
92  <!--=================== Text Markup =======================================-->  <!--========= 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 [  <![ %HTML.Highlighting [
125    
# Line 112  Line 129 
129    
130  <!ENTITY % text "#PCDATA | A | IMG | BR | %phrase | %font">  <!ENTITY % text "#PCDATA | A | IMG | BR | %phrase | %font">
131    
132  <!ELEMENT (%font;|%phrase) - - (%text)+>  <!ELEMENT (%font;|%phrase) - - (%text)*>
133  <!-- <TT>       Typewriter text                         -->  <!ATTLIST ( TT | CODE | SAMP | KBD | VAR )
134  <!-- <B>        Bold text                               -->          %SDAFORM; "Lit"
135  <!-- <I>        Italic text                             -->          >
136    <!ATTLIST ( B | STRONG )
137  <!-- <EM>       Emphasized phrase                       -->          %SDAFORM; "B"
138  <!-- <STRONG>   Strong emphais                          -->          >
139  <!-- <CODE>     Source code phrase                      -->  <!ATTLIST ( I | EM | CITE )
140  <!-- <SAMP>     Sample text or characters               -->          %SDAFORM; "It"
141  <!-- <KBD>      Keyboard phrase, e.g. user input        -->          >
142  <!-- <VAR>      Variable phrase or substituable         -->  
143  <!-- <CITE>     Name or title of cited work             -->  <!-- <TT>       Typewriter text                         -->
144    <!-- <B>        Bold text                               -->
145    <!-- <I>        Italic text                             -->
146    
147    <!-- <EM>       Emphasized phrase                       -->
148    <!-- <STRONG>   Strong emphais                          -->
149    <!-- <CODE>     Source code phrase                      -->
150    <!-- <SAMP>     Sample text or characters               -->
151    <!-- <KBD>      Keyboard phrase, e.g. user input        -->
152    <!-- <VAR>      Variable phrase or substituable         -->
153    <!-- <CITE>     Name or title of cited work             -->
154    
155  <!ENTITY % pre.content "#PCDATA | A | HR | BR | %font | %phrase">  <!ENTITY % pre.content "#PCDATA | A | HR | BR | %font | %phrase">
156    
# Line 132  Line 159 
159  <!ENTITY % text "#PCDATA | A | IMG | BR">  <!ENTITY % text "#PCDATA | A | IMG | BR">
160    
161  <!ELEMENT BR    - O EMPTY>  <!ELEMENT BR    - O EMPTY>
162  <!-- <BR>       Line break      -->  <!ATTLIST BR
163            %SDAPREF; "&#RE;"
164            >
165    
166    <!-- <BR>       Line break      -->
167    
 <!--================== Link Markup ========================================-->  
168    
169  <![ %HTML.Recommended [  <!--========= Link Markup ======================-->
         <!ENTITY % linkName "ID">  
 ]]>  
   
 <!ENTITY % linkName "CDATA">  
170    
171  <!ENTITY % linkType "NAME"  <!ENTITY % linkType "NAMES">
         -- a list of these will be specified at a later date -->  
172    
173  <!ENTITY % linkExtraAttributes  <!ENTITY % linkExtraAttributes
174          "REL %linkType #IMPLIED          "REL %linkType #IMPLIED
# Line 155  Line 179 
179          ">          ">
180    
181  <![ %HTML.Recommended [  <![ %HTML.Recommended [
182          <!ENTITY % A.content   "(%text)+"          <!ENTITY % A.content   "(%text)*"
183          -- <H1><a name="xxx">Heading</a></H1>          -- <H1><a name="xxx">Heading</a></H1>
184                  is preferred to                  is preferred to
185             <a name="xxx"><H1>Heading</H1></a>             <a name="xxx"><H1>Heading</H1></a>
186          -->          -->
187  ]]>  ]]>
188    
189  <!ENTITY % A.content   "(%heading|%text)+">  <!ENTITY % A.content   "(%heading|%text)*">
190    
191  <!ELEMENT A     - - %A.content -(A)>  <!ELEMENT A     - - %A.content -(A)>
192  <!ATTLIST A  <!ATTLIST A
193          HREF %URI #IMPLIED          HREF CDATA #IMPLIED
194          NAME %linkName #IMPLIED          NAME CDATA #IMPLIED
195          %linkExtraAttributes;          %linkExtraAttributes;
196            %SDAPREF; "<Anchor: #AttList>"
197          >          >
198  <!-- <A>                Anchor; source and/or destination of a link     -->  <!-- <A>                Anchor; source/destination of link      -->
199  <!-- <A NAME="...">     Name of this anchor                             -->  <!-- <A NAME="...">     Name of this anchor                     -->
200  <!-- <A HREF="...">     Address of link destination                     -->  <!-- <A HREF="...">     Address of link destination             -->
201  <!-- <A URN="...">      Permanent address of destination                -->  <!-- <A URN="...">      Permanent address of destination        -->
202  <!-- <A REL=...>        Relationship of this anchor to destination      -->  <!-- <A REL=...>        Relationship to destination             -->
203  <!-- <A REV=...>        Relationship of destination to this anchor      -->  <!-- <A REV=...>        Relationship of destination to this     -->
204  <!-- <A TITLE="...">    Title of destination (advisory)                 -->  <!-- <A TITLE="...">    Title of destination (advisory)         -->
205  <!-- <A METHODS="...">  Operations allowed on destination (advisory)    -->  <!-- <A METHODS="...">  Operations on destination (advisory)    -->
206    
207    
208  <!--=================== Images ============================================-->  <!--========== Images ==========================-->
209    
210  <!ELEMENT IMG    - O EMPTY>  <!ELEMENT IMG    - O EMPTY>
211  <!ATTLIST IMG  <!ATTLIST IMG
212          SRC %URI;  #REQUIRED          SRC CDATA  #REQUIRED
213          ALT CDATA #IMPLIED          ALT CDATA #IMPLIED
214          ALIGN (top|middle|bottom) #IMPLIED          ALIGN (top|middle|bottom) #IMPLIED
215          ISMAP (ISMAP) #IMPLIED          ISMAP (ISMAP) #IMPLIED
216            %SDAPREF; "<Fig><?SDATrans Img: #AttList>#AttVal(Alt)</Fig>"
217          >          >
218    
219  <!-- <IMG>              Image; icon, glyph or illustration      -->  <!-- <IMG>              Image; icon, glyph or illustration      -->
220  <!-- <IMG SRC="...">    Address of image object                 -->  <!-- <IMG SRC="...">    Address of image object                 -->
221  <!-- <IMG ALT="...">    Textual alternative                     -->  <!-- <IMG ALT="...">    Textual alternative                     -->
222  <!-- <IMG ALIGN=...>    Position relative to text               -->  <!-- <IMG ALIGN=...>    Position relative to text               -->
223  <!-- <IMG ISMAP>        Each pixel can be a link                -->  <!-- <IMG ISMAP>        Each pixel can be a link                -->
224    
225  <!--=================== Paragraphs=========================================-->  <!--========== Paragraphs=======================-->
226    
227    <!ELEMENT P     - O (%text)*>
228    <!ATTLIST P
229            %SDAFORM; "Para"
230            >
231    
232  <!ELEMENT P     - O (%text)+>  <!-- <P>        Paragraph       -->
 <!-- <P>        Paragraph       -->  
233    
234    
235  <!--=================== Headings, Titles, Sections ========================-->  <!--========== Headings, Titles, Sections ===============-->
236    
237  <!ELEMENT HR    - O EMPTY>  <!ELEMENT HR    - O EMPTY>
238  <!-- <HR>       Horizontal rule -->  <!ATTLIST HR
239            %SDAPREF; "&#RE;&#RE;"
240            >
241    
242    <!-- <HR>       Horizontal rule -->
243    
244  <!ELEMENT ( %heading )  - -  (%text;)+>  <!ELEMENT ( %heading )  - -  (%text;)*>
245  <!-- <H1>       Heading, level 1 -->  <!ATTLIST H1
246  <!-- <H2>       Heading, level 2 -->          %SDAFORM; "H1"
247  <!-- <H3>       Heading, level 3 -->          >
248  <!-- <H4>       Heading, level 4 -->  <!ATTLIST H2
249  <!-- <H5>       Heading, level 5 -->          %SDAFORM; "H2"
250  <!-- <H6>       Heading, level 6 -->          >
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 ========================================-->  <!--========== Text Flows ======================-->
273    
274  <![ %HTML.Forms [  <![ %HTML.Forms [
275          <!ENTITY % block.forms "| FORM | ISINDEX">          <!ENTITY % block.forms "BLOCKQUOTE | FORM | ISINDEX">
276  ]]>  ]]>
277    
278  <!ENTITY % block.forms "">  <!ENTITY % block.forms "BLOCKQUOTE">
279    
280  <![ %HTML.Deprecated [  <![ %HTML.Deprecated [
281          <!ENTITY % preformatted "PRE | XMP | LISTING">          <!ENTITY % preformatted "PRE | XMP | LISTING">
282  ]]>  ]]>
283    
284  <!ENTITY % preformatted "PRE">  <!ENTITY % preformatted "PRE">
285    
286  <!ENTITY % block "P | %list | DL  <!ENTITY % block "P | %list | DL
287          | %preformatted          | %preformatted
288          | BLOCKQUOTE %block.forms">          | %block.forms">
289    
290  <!ENTITY % flow "(%text|%block)*">  <!ENTITY % flow "(%text|%block)*">
291    
292  <!ENTITY % pre.content "#PCDATA | A | HR | BR">  <!ENTITY % pre.content "#PCDATA | A | HR | BR">
293  <!ELEMENT PRE - - (%pre.content)+>  <!ELEMENT PRE - - (%pre.content)*>
294  <!ATTLIST PRE  <!ATTLIST PRE
295          WIDTH NUMBER #implied          WIDTH NUMBER #implied
296            %SDAFORM; "Lit"
297          >          >
298    
299  <!-- <PRE>              Preformatted text               -->  <!-- <PRE>              Preformatted text               -->
300  <!-- <PRE WIDTH=...>    Maximum characters per line     -->  <!-- <PRE WIDTH=...>    Maximum characters per line     -->
301    
302  <![ %HTML.Deprecated [  <![ %HTML.Deprecated [
303    
304  <!ENTITY % literal "CDATA"  <!ENTITY % literal "CDATA"
305          -- historical, non-conforming parsing mode where          -- historical, non-conforming parsing mode where
306             the only markup signal is the end tag             the only markup signal is the end tag
307             in full             in full
308          -->          -->
309    
310  <!ELEMENT (XMP|LISTING) - -  %literal>  <!ELEMENT (XMP|LISTING) - -  %literal>
311  <!-- <XMP>              Example section         -->  <!ATTLIST XMP
312  <!-- <LISTING>          Computer listing        -->          %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>  <!ELEMENT PLAINTEXT - O %literal>
324  <!-- <PLAINTEXT>        Plain text passage      -->  <!-- <PLAINTEXT>        Plain text passage      -->
325    
326    <!ATTLIST PLAINTEXT
327            %SDAFORM; "Lit"
328            >
329  ]]>  ]]>
330    
331    
332  <!--=================== Lists =============================================-->  <!--========== Lists ==================-->
333    
334  <!ELEMENT DL    - -  (DT | DD)+>  <!ELEMENT DL    - -  (DT | DD)+>
335  <!ATTLIST DL  <!ATTLIST DL
336          COMPACT (COMPACT) #IMPLIED>          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    
 <!ELEMENT DT    - O (%text)+>  
346  <!ELEMENT DD    - O %flow>  <!ELEMENT DD    - O %flow>
347    <!ATTLIST DD
348            %SDAFORM; "LItem"
349            >
350    
351  <!-- <DL>               Definition list, or glossary    -->  <!-- <DL>               Definition list, or glossary    -->
352  <!-- <DL COMPACT>       Compact style list              -->  <!-- <DL COMPACT>       Compact style list              -->
353  <!-- <DT>               Term in definition list         -->  <!-- <DT>               Term in definition list         -->
354  <!-- <DD>               Definition of term              -->  <!-- <DD>               Definition of term              -->
355    
356  <!ELEMENT (OL|UL) - -  (LI)+>  <!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)>  <!ELEMENT (DIR|MENU) - -  (LI)+ -(%block)>
372  <!ATTLIST (%list)  <!ATTLIST DIR
373          COMPACT (COMPACT) #IMPLIED>          COMPACT (COMPACT) #IMPLIED
374  <!-- <UL>               Unordered list                  -->          %SDAFORM; "List"
375  <!-- <UL COMPACT>       Compact list style              -->          %SDAPREF; "<LHead>Directory</LHead>"
376  <!-- <OL>               Ordered, or numbered list       -->          >
377  <!-- <OL COMPACT>       Compact list style              -->  <!ATTLIST MENU
378  <!-- <DIR>              Directory list                  -->          COMPACT (COMPACT) #IMPLIED
379  <!-- <DIR COMPACT>      Compact list style              -->          %SDAFORM; "List"
380  <!-- <MENU>             Menu list                       -->          %SDAPREF; "<LHead>Menu</LHead>"
381  <!-- <MENU COMPACT>     Compact list style              -->          >
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>  <!ELEMENT LI    - O %flow>
389    <!ATTLIST LI
390            %SDAFORM; "LItem"
391            >
392    
393  <!-- <LI>               List item                       -->  <!-- <LI>               List item                       -->
394    
395  <!--=================== Document Body =====================================-->  <!--========== Document Body ===================-->
396    
397  <![ %HTML.Recommended [  <![ %HTML.Recommended [
398          <!ENTITY % body.content "(%heading|%block|HR|ADDRESS)*"          <!ENTITY % body.content "(%heading|%block|HR|ADDRESS|IMG)*"
399          -- <h1>Heading</h1>          -- <h1>Heading</h1>
400             <p>Text ...             <p>Text ...
401                  is preferred to                  is preferred to
# Line 306  Line 404 
404          -->          -->
405  ]]>  ]]>
406    
407  <!ENTITY % body.content "(%heading | %text | %block | HR | ADDRESS)*">  <!ENTITY % body.content "(%heading | %text | %block |
408                                     HR | ADDRESS)*">
409    
410  <!ELEMENT BODY O O  %body.content>  <!ELEMENT BODY O O  %body.content>
411  <!-- <BODY>     Document body   -->  
412    <!-- <BODY>     Document body   -->
413    
414  <!ELEMENT BLOCKQUOTE - - %body.content>  <!ELEMENT BLOCKQUOTE - - %body.content>
415  <!-- <BLOCKQUOTE>       Quoted passage  -->  <!ATTLIST BLOCKQUOTE
416            %SDAFORM; "BQ"
417            >
418    
419    <!-- <BLOCKQUOTE>       Quoted passage  -->
420    
421  <!ELEMENT ADDRESS - - (%text|P)*>  <!ELEMENT ADDRESS - - (%text|P)*>
422  <!-- <ADDRESS>  Address, signature, or byline for document or passage   -->  <!ATTLIST  ADDRESS
423            %SDAFORM; "Lit"
424            %SDAPREF; "Address:&#RE;"
425            >
426    
427    <!-- <ADDRESS>  Address, signature, or byline   -->
428    
429    
430  <!--================ Forms ===============================================-->  <!--======= Forms ====================-->
431    
432  <![ %HTML.Forms [  <![ %HTML.Forms [
433    
434  <!ELEMENT FORM - - %body.content -(FORM) +(INPUT|SELECT|TEXTAREA)>  <!ELEMENT FORM - - %body.content -(FORM) +(INPUT|SELECT|TEXTAREA)>
435  <!ATTLIST FORM  <!ATTLIST FORM
436          ACTION %URI #IMPLIED          ACTION CDATA #IMPLIED
437          METHOD (%HTTP-Method) GET          METHOD (%HTTP-Method) GET
438          ENCTYPE %Content-Type; "application/x-www-form-urlencoded"          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     -->  <!-- <FORM>                     Fill-out or data-entry form     -->
444  <!-- <FORM ACTION="...">        Address for completed form      -->  <!-- <FORM ACTION="...">        Address for completed form      -->
445  <!-- <FORM METHOD=...>          Method of submitting form       -->  <!-- <FORM METHOD=...>          Method of submitting form       -->
446  <!-- <FORM ENCTYPE="...">       Representation of form data     -->  <!-- <FORM ENCTYPE="...">       Representation of form data     -->
447    
448  <!ENTITY % InputType "(TEXT | PASSWORD | CHECKBOX |  <!ENTITY % InputType "(TEXT | PASSWORD | CHECKBOX |
449                          RADIO | SUBMIT | RESET |                          RADIO | SUBMIT | RESET |
450                          IMAGE | HIDDEN )">                          IMAGE | HIDDEN )">
451  <!ELEMENT INPUT - O EMPTY>  <!ELEMENT INPUT - O EMPTY>
452  <!ATTLIST INPUT  <!ATTLIST INPUT
453          TYPE %InputType TEXT          TYPE %InputType TEXT
454          NAME CDATA #IMPLIED          NAME CDATA #IMPLIED
455          VALUE CDATA #IMPLIED          VALUE CDATA #IMPLIED
456          SRC %URI #IMPLIED          SRC CDATA #IMPLIED
457          CHECKED (CHECKED) #IMPLIED          CHECKED (CHECKED) #IMPLIED
458          SIZE CDATA #IMPLIED          SIZE CDATA #IMPLIED
459          MAXLENGTH NUMBER #IMPLIED          MAXLENGTH NUMBER #IMPLIED
460          ALIGN (top|middle|bottom) #IMPLIED          ALIGN (top|middle|bottom) #IMPLIED
461            %SDAPREF; "Input: "
462          >          >
463    
464  <!-- <INPUT>                    Form input datum                -->  <!-- <INPUT>                    Form input datum                -->
465  <!-- <INPUT TYPE=...>           Type of input interaction       -->  <!-- <INPUT TYPE=...>           Type of input interaction       -->
466  <!-- <INPUT TYPE=...>           Name of form datum              -->  <!-- <INPUT NAME=...>           Name of form datum              -->
467  <!-- <INPUT VALUE="...">        Default/initial/selected value  -->  <!-- <INPUT VALUE="...">        Default/initial/selected value  -->
468  <!-- <INPUT SRC="...">          Address of image                -->  <!-- <INPUT SRC="...">          Address of image                -->
469  <!-- <INPUT CHECKED>            Initial state is "on"           -->  <!-- <INPUT CHECKED>            Initial state is "on"           -->
# Line 359  Line 471 
471  <!-- <INPUT MAXLENGTH=...>      Data length maximum             -->  <!-- <INPUT MAXLENGTH=...>      Data length maximum             -->
472  <!-- <INPUT ALIGN=...>          Image alignment                 -->  <!-- <INPUT ALIGN=...>          Image alignment                 -->
473    
474  <!ELEMENT SELECT - - (OPTION+)>  <!ELEMENT SELECT - - (OPTION+) -(INPUT|SELECT|TEXTAREA)>
475  <!ATTLIST SELECT  <!ATTLIST SELECT
476          NAME CDATA #REQUIRED          NAME CDATA #REQUIRED
477          SIZE NUMBER #IMPLIED          SIZE NUMBER #IMPLIED
478          MULTIPLE (MULTIPLE) #IMPLIED          MULTIPLE (MULTIPLE) #IMPLIED
479            %SDAFORM; "List"
480            %SDAPREF;
481            "<LHead>Select #AttVal(Multiple)</LHead>"
482          >          >
483    
484  <!-- <SELECT>                   Selection of option(s)                  -->  <!-- <SELECT>                   Selection of option(s)          -->
485  <!-- <SELECT NAME=...>          Name of form datum                      -->  <!-- <SELECT NAME=...>          Name of form datum              -->
486  <!-- <SELECT SIZE=...>          Number of options displayed at a time   -->  <!-- <SELECT SIZE=...>          Options displayed at a time     -->
487  <!-- <SELECT MULTIPLE>          Multiple selections allowed             -->  <!-- <SELECT MULTIPLE>          Multiple selections allowed     -->
488    
489  <!ELEMENT OPTION - O (#PCDATA)>  <!ELEMENT OPTION - O (#PCDATA)*>
490  <!ATTLIST OPTION  <!ATTLIST OPTION
491          SELECTED (SELECTED) #IMPLIED          SELECTED (SELECTED) #IMPLIED
492          VALUE CDATA #IMPLIED          VALUE CDATA #IMPLIED
493            %SDAFORM; "LItem"
494            %SDAPREF;
495            "Option: #AttVal(Value) #AttVal(Selected)"
496          >          >
497    
498  <!-- <OPTION>                   A selection option                      -->  <!-- <OPTION>                   A selection option              -->
499  <!-- <OPTION SELECTED>          Initial state                           -->  <!-- <OPTION SELECTED>          Initial state                   -->
500  <!-- <OPTION VALUE>             Form datum value for this option        -->  <!-- <OPTION VALUE="...">       Form datum value for this option-->
501    
502  <!ELEMENT TEXTAREA - - (#PCDATA)>  <!ELEMENT TEXTAREA - - (#PCDATA)* -(INPUT|SELECT|TEXTAREA)>
503  <!ATTLIST TEXTAREA  <!ATTLIST TEXTAREA
504          NAME CDATA #REQUIRED          NAME CDATA #REQUIRED
505          ROWS NUMBER #REQUIRED          ROWS NUMBER #REQUIRED
506          COLS NUMBER #REQUIRED          COLS NUMBER #REQUIRED
507          >          %SDAFORM; "Para"
508            %SDAPREF; "Input Text -- #AttVal(Name): "
509            >
510    
511  <!-- <TEXTAREA>                 An area for text input                  -->  <!-- <TEXTAREA>                 An area for text input          -->
512  <!-- <TEXTAREA NAME=...>        Name of form datum                      -->  <!-- <TEXTAREA NAME=...>        Name of form datum              -->
513  <!-- <TEXTAREA ROWS=...>        Height of area                          -->  <!-- <TEXTAREA ROWS=...>        Height of area                  -->
514  <!-- <TEXTAREA COLS=...>        Width of area                           -->  <!-- <TEXTAREA COLS=...>        Width of area                   -->
515    
516  ]]>  ]]>
517    
518    
519  <!--================ Document Head ========================================-->  <!--======= Document Head ======================-->
   
 <!ENTITY % head.link "& LINK*">  
520    
521  <![ %HTML.Recommended [  <![ %HTML.Recommended [
522          <!ENTITY % head.nextid "">          <!ENTITY % head.extra "">
523  ]]>  ]]>
524  <!ENTITY % head.nextid "& NEXTID?">  <!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  <!ENTITY % head.content "TITLE & ISINDEX? & BASE? & META*  <!-- <HEAD>     Document head   -->
                          %head.nextid  
                          %head.link">  
531    
532  <!ELEMENT HEAD O O  (%head.content)>  <!ELEMENT TITLE - -  (#PCDATA)*>
533  <!-- <HEAD>     Document head   -->  <!ATTLIST TITLE
534            %SDAFORM; "Ti"    >
535    
536  <!ELEMENT TITLE - -  (#PCDATA)>  <!-- <TITLE>    Title of document -->
 <!-- <TITLE>    Title of document -->  
537    
538  <!ELEMENT LINK - O EMPTY>  <!ELEMENT LINK - O EMPTY>
539  <!ATTLIST LINK  <!ATTLIST LINK
540          HREF %URI #REQUIRED          HREF CDATA #REQUIRED
541          %linkExtraAttributes; >          %linkExtraAttributes;
542  <!-- <LINK>             Link from this document                         -->          %SDAPREF; "Linked to : #AttVal (TITLE) (URN) (HREF)>"    >
543  <!-- <LINK HREF="...">  Address of link destination                     -->  
544  <!-- <LINK URN="...">   Lasting name of destination                     -->  <!-- <LINK>             Link from this document                 -->
545  <!-- <LINK REL=...>     Relationship of this document to destination    -->  <!-- <LINK HREF="...">  Address of link destination             -->
546  <!-- <LINK REV=...>     Relationship of destination to this document    -->  <!-- <LINK URN="...">   Lasting name of destination             -->
547  <!-- <LINK TITLE="..."> Title of destination (advisory)                 -->  <!-- <LINK REL=...>     Relationship to destination             -->
548  <!-- <LINK METHODS="..."> Operations allowed on destination (advisory)  -->  <!-- <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>  <!ELEMENT ISINDEX - O EMPTY>
553  <!-- <ISINDEX>          Document is a searchable index          -->  <!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>  <!ELEMENT BASE - O EMPTY>
560  <!ATTLIST BASE  <!ATTLIST BASE
561          HREF %URI; #REQUIRED          HREF CDATA #REQUIRED     >
562          >  
563  <!-- <BASE>             Base context document                   -->  <!-- <BASE>             Base context document                   -->
564  <!-- <BASE HREF="...">  Address for this document               -->  <!-- <BASE HREF="...">  Address for this document               -->
565    
566  <!ELEMENT NEXTID - O EMPTY>  <!ELEMENT NEXTID - O EMPTY>
567  <!ATTLIST NEXTID N %linkName #REQUIRED>  <!ATTLIST NEXTID
568  <!-- <NEXTID>           Next ID to use for link name                    -->          N CDATA #REQUIRED     >
569  <!-- <NEXTID N=...>     Next ID to use for link name                    -->  
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>  <!ELEMENT META - O EMPTY>
574  <!ATTLIST META  <!ATTLIST META
575          HTTP-EQUIV  NAME    #IMPLIED          HTTP-EQUIV  NAME    #IMPLIED
576          NAME        NAME    #IMPLIED          NAME        NAME    #IMPLIED
577          CONTENT     CDATA   #REQUIRED          CONTENT     CDATA   #REQUIRED    >
         >  
 <!-- <META>                     Generic Metainformation         -->  
 <!-- <META HTTP-EQUIV=...>      HTTP response header name       -->  
 <!-- <META HTTP-EQUIV=...>      Metainformation name            -->  
 <!-- <META CONTENT="...">       Associated information          -->  
578    
579  <!--================ Document Structure ===================================-->  <!-- <META>                     Generic Metainformation         -->
580    <!-- <META HTTP-EQUIV=...>      HTTP response header name       -->
581    <!-- <META NAME=...>            Metainformation name            -->
582    <!-- <META CONTENT="...">       Associated information          -->
583    
584    <!--======= Document Structure =================-->
585    
586  <![ %HTML.Deprecated [  <![ %HTML.Deprecated [
587          <!ENTITY % html.content "HEAD, BODY, PLAINTEXT?">          <!ENTITY % html.content "HEAD, BODY, PLAINTEXT?">
588  ]]>  ]]>
589  <!ENTITY % html.content "HEAD, BODY">  <!ENTITY % html.content "HEAD, BODY">
590    
591  <!ELEMENT HTML O O  (%html.content)>  <!ELEMENT HTML O O  (%html.content)>
592  <!ENTITY % version.attr "VERSION CDATA #FIXED &#34;%HTML.Version;&#34;">  <!ENTITY % version.attr "VERSION CDATA #FIXED '%HTML.Version;'">
593    
594  <!ATTLIST HTML  <!ATTLIST HTML
595          %version.attr;          %version.attr;
596          >          %SDAFORM; "Book"
597            >
 <!-- <HTML>                     HyperText Markup Language Document      -->  
 <!-- <HTML VERSION="...">       Version of HTML specification           -->  
   
598    
599    <!-- <HTML>                     HTML Document   -->

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.29

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24