/[suikacvs]/test/html.dtd
Suika

Diff of /test/html.dtd

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

revision 1.14 by connolly, Fri Jun 3 20:02:52 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          Document Type Definition for the HyperText Markup Language
4          as used by the World Wide Web (HTML DTD).                   (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: http://www.hal.com/%7Econnolly/html-spec/HTML.html          See Also: html.decl, html-0.dtd, html-1.dtd
10                    http://info.cern.ch/hypertext/WWW/MarkUp2/MarkUp.html            http://www.hal.com/%7Econnolly/html-spec/index.html
11              http://info.cern.ch/hypertext/WWW/MarkUp2/MarkUp.html
12  -->  -->
13    
14  <!ENTITY HTML.Version  <!ENTITY % HTML.Version
15          "-//W3O//DTD WWW HTML 2.0//EN"          "-//IETF//DTD HTML 2.0//EN"
         -- public identifier for "current pracitice" version             --  
16    
17          -- Typical usage:          -- Typical usage:
18    
19              <!DOCTYPE HTML PUBLIC "-//W3O//DTD WWW HTML 2.0//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  <!-- To use these, write your document like:  <!ENTITY % HTML.Recommended "IGNORE"
30          <!DOCTYPE HTML [          -- Certain features of the language are necessary for
31          <!ENTITY % HTML.Optional "INCLUDE">             compatibility with widespread usage, but they may
32          <!ENTITY % html PUBLIC "-//connolly hal.com//DTD WWW HTML 1.8//EN">             compromise the structural integrity of a document.
33          %html;             This feature test entity enables a more prescriptive
34          ]>             document type definition that eliminates
35          <TITLE>Here's my doc</TITLE>             those features.
         <p>It uses lots of optional features  
   
  In practice, if you're using sgmls to validate your docs,  
  you can stick the <!DOCTYPE [...]> in a separate file and  
  validate with:  
         sgmls -s doctype.sgml foo.html  
  -->  
   
 <!ENTITY % HTML.Level0  "IGNORE">  
 <!ENTITY % HTML.Obsolete "IGNORE">  
 <!ENTITY % HTML.Prescriptive "IGNORE">  
   
 <![ %HTML.Level0 [  
         <!ENTITY % HTML.linkRelationships "IGNORE">  
         <!ENTITY % HTML.linkMethods "IGNORE">  
         <!ENTITY % HTML.linkRedundantInfo "IGNORE">  
         <!ENTITY % HTML.forms "IGNORE">  
         <!ENTITY % HTML.phrase "IGNORE">  
         <!ENTITY % HTML.NEXTID "IGNORE">  
         <!-- @# Are the following required for conformance? -->  
         <!-- @# nested lists -->  
         <!-- @# IMG -->  
         <!-- @# headers inside A -->  
         <!-- @# nested phrases, fonts -->  
         ]]>  
           
 <![ %HTML.Obsolete [  
         <!ENTITY % HTML.titleCDATA "INCLUDE">  
         <!ENTITY % HTML.litCDATA "INCLUDE">  
         <!ENTITY % HTML.pSeparator "INCLUDE">  
         ]]>  
   
 <![ %HTML.Prescriptive [  
         <!--  
         This feature test entity prescribes that certain  
         idioms detract from the structural integrity of an  
         HTML document, and are therefore disallowed.  
36          -->          -->
         <!ENTITY % HTML.font-phrase "IGNORE">  
         <!ENTITY % HTML.anchorNameCDATA "IGNORE">  
         <!ENTITY % HTML.PLAINTEXT "IGNORE">  
         <!ENTITY % HTML.bodyBlockOnly "INCLUDE">  
         ]]>  
37    
38  <!ENTITY % HTML.phrase "INCLUDE"  <![ %HTML.Recommended [
39          -- phrase markup, ala TeXinfo: TT, EM, etc.          <!ENTITY % HTML.Deprecated "IGNORE">
40          -->  ]]>
41    
42  <!ENTITY % HTML.bodyBlockOnly "IGNORE"  <!ENTITY % HTML.Deprecated "INCLUDE"
43          -- only allow block elements in the BODY element          -- Certain features of the language are necessary for
44          This means all paragraphs need to start with a <P> tag.             compatibility with earlier versions of the specification,
45          -->             but they tend to be used an implemented inconsistently,
46               and their use is deprecated. This feature test entity
47               enables a document type definition that eliminates
48               these features.
49            -->
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.Forms "INCLUDE"
58            -- Use this feature test entity to validate that a document
59               contains no forms, which may not be supported in minimal
60               implementations
61            -->
62    
63  <!ENTITY % HTML.pSeparator "IGNORE"  <!--============== Imported Names ==============================-->
         -- use P element as paragraph separator, rather that container.  
         -->  
64    
65  <!ENTITY % HTML.linkRelationships "INCLUDE"  <!ENTITY % Content-Type "CDATA"
66          -- Adding markup to links to show the relationship between          -- meaning an internet media type
67          ends of a link             (aka MIME content type, as per RFC1521)
68          see http://info.cern.ch/hypertext/WWW/MarkUp/Relationships.html          -->
         -->  
69    
70  <!ENTITY % HTML.linkMethods "INCLUDE"  <!ENTITY % HTTP-Method "GET | POST"
71          -- Adding markup to links to show the methods supported          -- as per HTTP specification, in progress
72          by the referent object          -->
         see http://info.cern.ch/hypertext/WWW/MarkUp/Elements/A.html  
         -->  
73    
74  <!ENTITY % HTML.linkRedundantInfo "INCLUDE"  <!ENTITY % URI "CDATA"
75          -- Adding markup to links to give redundant information          -- The term URI means a CDATA attribute
76          like URN, content type, title...             whose value is a Uniform Resource Identifier,
77          -->             as defined by
78            "Universal Resource Identifiers" by Tim Berners-Lee
79            aka RFC 1630
80    
81  <!ENTITY % HTML.anchorNameCDATA "INCLUDE"          Note that CDATA attributes are limited by the LITLEN
82          -- Anchor names should be distinct. SGML parser can validate          capacity (1024 in the current version of html.decl),
83          this if the NAME attribute of the A element is declared as ID.          so that URIs in HTML have a bounded length.
         But that restricts the syntax of an anchor name to an SGML name,  
         i.e. a letter followed by letters, numbers, periods and dashes,  
         up to NAMELEN (34) characters long.  
         -->  
84    
85  <!ENTITY % HTML.PLAINTEXT "INCLUDE"          -->
         -- Support for the <PLAINTEXT> tag as a sign of the  
         end of th HTML data stream and the beginning of a stream  
         of text/plain data  
         -->  
86    
 <!ENTITY % HTML.titleCDATA "IGNORE"  
         -- Is the TITLE element #PCDATA, RCDATA, or CDATA content?  
         On Mosaic, it's #PCDATA, but in the linemode browser,  
         it's more like CDATA, but not quite.  
         -->  
87    
88  <!ENTITY % HTML.NEXTID "INCLUDE"  <!--========= DTD "Macros" =====================-->
         -- Used by the NeXT implementation to keep track of the  
         next anchor id to use  
         -->  
89    
90  <!ENTITY % HTML.font-phrase "INCLUDE"  <!ENTITY % heading "H1|H2|H3|H4|H5|H6">
         -- allow B, I, TT, U outside PRE,  
         CITE, VAR, etc. inside PRE  
         -->  
91    
92  <!ENTITY % HTML.KEY "IGNORE"  <!ENTITY % list " UL | OL | DIR | MENU " >
         -- There was once a KEY element, for keyboard keys, menu items,  
         buttons, etc. but it's not supported or widely documented  
         -->  
93    
 <!ENTITY % HTML.U "IGNORE"  
         -- There was also a U element, but since it clashes with  
         the common pracitce of underlining hypertext links, it is  
         not widely supported  
         -->  
94    
95  <!ENTITY % HTML.litCDATA "IGNORE"  <!--======= Character mnemonic entities =================-->
         -- treat XMP, LISTING as CDATA, as per linemodeWWW  
         -->  
96    
97  <!ENTITY % HTML.forms "INCLUDE"  <!ENTITY % ISOlat1 PUBLIC
98          -- Support for forms as per    "ISO 8879-1986//ENTITIES Added Latin 1//EN//HTML">
99  http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/Docs/fill-out-forms/overview.html  %ISOlat1;
         -->  
100    
101  <!-- DTD definitions -->  <!ENTITY amp CDATA "&#38;"     -- ampersand          -->
102    <!ENTITY gt CDATA "&#62;"      -- greater than       -->
103    <!ENTITY lt CDATA "&#60;"      -- less than          -->
104    <!ENTITY quot CDATA "&#34;"    -- double quote       -->
105    
106    
107    <!--========= 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 % heading "H1|H2|H3|H4|H5|H6" >  <!ENTITY % SDAFORM  "SDAFORM  CDATA  #FIXED"
126  <!ENTITY % list " UL | OL | DIR | MENU ">            -- one to one mapping        -->
127  <!ENTITY % literal " XMP | LISTING ">  <!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    
 <!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  
136    
137          Note that CDATA attributes are limited by the LITLEN  <!--========== Text Markup =====================-->
         capacity (1024 in the current version of html.decl),  
         so that URIs in HTML have a bounded length.  
138    
139          -->  <![ %HTML.Highlighting [
140    
141  <!ENTITY % Content-Type "CDATA"  <!ENTITY % font " TT | B | I ">
         -- meaning a MIME content type, as per RFC1521  
         -->  
142    
143  <![ %HTML.anchorNameCDATA [ <!ENTITY % anchor-name "CDATA"> ]]>  <!ENTITY % phrase "EM | STRONG | CODE | SAMP | KBD | VAR | CITE ">
 <!ENTITY % anchor-name "ID">  
144    
145  <![ %HTML.linkRelationships [ <!ENTITY % linkRelAttrs "  <!ENTITY % text "#PCDATA | A | IMG | BR | %phrase | %font">
         REL CDATA #IMPLIED -- forward relationship type --  
         REV CDATA #IMPLIED -- reversed relationship type  
                               to referent data:  
   
                                 PARENT CHILD, SIBLING, NEXT, TOP,  
                                 DEFINITION, UPDATE, ORIGINAL etc. --  
         "> ]]>  
 <!ENTITY % linkRelAttrs "">  
   
 <![ %HTML.linkRedundantInfo [ <!ENTITY % linkRedundantAttrs "  
         URN CDATA #IMPLIED -- universal resource number --  
   
         TITLE CDATA #IMPLIED -- advisory only --  
         "> ]]>  
 <!ENTITY % linkRedundantAttrs "">  
   
 <![ %HTML.linkMethods [ <!ENTITY % linkMethodAttrs "  
         METHODS NAMES #IMPLIED -- supported public methods of the object:  
                                         TEXTSEARCH, GET, HEAD, ... --  
         "> ]]>  
 <!ENTITY % linkMethodAttrs "">  
   
 <!ENTITY % linkattributes  
         "NAME %anchor-name #IMPLIED  
         HREF %URI;  #IMPLIED  
         %linkRelAttrs;  
         %linkRedundantAttrs;  
         %linkMethodAttrs;  
         ">  
146    
147    <!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  <!-- Document Element -->  <!-- <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  <![ %HTML.PLAINTEXT [ <!ENTITY % obsolete-plaintext ", PLAINTEXT?"> ]]>  ]]>
 <!ENTITY % obsolete-plaintext "">  
173    
174  <!ENTITY % html-content "HEAD, BODY %obsolete-plaintext;">  <!ENTITY % text "#PCDATA | A | IMG | BR">
 <!ELEMENT HTML O O  (%html-content)>  
175    
176  <![ %HTML.NEXTID [  <!ENTITY % head-content "TITLE? & ISINDEX? & LINK* & BASE?  <!ELEMENT BR    - O EMPTY>
177                          & NEXTID?"> ]]>  <!ATTLIST BR
178  <!ENTITY % head-content "TITLE & ISINDEX? & LINK* & BASE?">          %SDAPREF; "&#RE;"
179  <!ELEMENT HEAD O O  (%head-content)>          >
   
 <![ %HTML.titleCDATA [ <!ENTITY % title-content "CDATA"> ]]>  
 <!ENTITY % title-content "(#PCDATA)">  
 <!ELEMENT TITLE - -  %title-content  
           -- 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.  
           -->  
180    
181  <!ELEMENT NEXTID - O EMPTY>  <!-- <BR>       Line break      -->
182  <!ATTLIST NEXTID N %anchor-name #REQUIRED  
183            -- The number should be a name suitable for use  
184               for the ID of a new element. When used, the value  <!--========= Link Markup ======================-->
185               has its numeric part incremented. EG Z67 becomes Z68  
186            -->  <![ %HTML.Recommended [
187  <!ELEMENT LINK - O EMPTY>          <!ENTITY % linkName "ID">
188  <!ATTLIST LINK  ]]>
189          %linkattributes>  
190            <!ENTITY % linkName "CDATA">
191  <!ELEMENT BASE - O EMPTY    -- Reference context for URIs -->  
192  <!ATTLIST BASE  <!ENTITY % linkType "NAME"
193            -- a list of these will be specified at a later date -->
194    
195    <!ENTITY % linkExtraAttributes
196            "REL %linkType #IMPLIED
197            REV %linkType #IMPLIED
198            URN CDATA #IMPLIED
199            TITLE CDATA #IMPLIED
200            METHODS NAMES #IMPLIED
201            ">
202    
203          HREF %URI; #REQUIRED  <![ %HTML.Recommended [
204            <!ENTITY % A.content   "(%text)*"
205            -- <H1><a name="xxx">Heading</a></H1>
206                    is preferred to
207               <a name="xxx"><H1>Heading</H1></a>
208            -->
209    ]]>
210    
211    <!ENTITY % A.content   "(%heading|%text)*">
212    
213    <!ELEMENT A     - - %A.content -(A)>
214    <!ATTLIST A
215            HREF %URI #IMPLIED
216            NAME %linkName #IMPLIED
217            %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    
 <![ %HTML.KEY [  
         <!ENTITY % key-emph "| KEY">  
         ]]>  
 <!ENTITY % key-emph "">  
229    
230  <![ %HTML.U [  <!--========== Images ==========================-->
         <!ENTITY % u-font "| U">  
         ]]>  
 <!ENTITY % u-font "">  
231    
232  <![ %HTML.phrase [  <!ELEMENT IMG    - O EMPTY>
233  <!ENTITY % font "TT | B | I %u-font">  <!ATTLIST IMG
234  <!ENTITY % phrase "EM | STRONG | CODE | SAMP | KBD | VAR | DFN | CITE          SRC %URI;  #REQUIRED
235           | STRIKE %key-emph">          ALT CDATA #IMPLIED
236            ALIGN (top|middle|bottom) #IMPLIED
237            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  <![ %HTML.font-phrase [  <!-- <P>        Paragraph       -->
         <!ENTITY % obsolete-font "| %font">  
         <!ENTITY % obsolete-phrase "| %phrase">  
         ]]>  
 <!ENTITY % obsolete-font "">  
 <!ENTITY % obsolete-phrase "">  
 <![ %HTML.pSeparator [  
         <!ENTITY % obsolete-p "| P">  
         ]]>  
 <!ENTITY % obsolete-p "">  
255    
 <!ENTITY % inline "%phrase %obsolete-font">  
 <!ENTITY % pre-inline "%font %obsolete-phrase %obsolete-p">  
 ]]>  
256    
257  <!ENTITY % inline "">  <!--========== Headings, Titles, Sections ===============-->
 <!ENTITY % pre-inline "">  
258    
259  <!ENTITY % text "#PCDATA | IMG | %inline | BR %obsolete-p">  <!ELEMENT HR    - O EMPTY>
260    <!ATTLIST HR
261            %SDAPREF; "&#RE;&#RE;"
262            >
263    
264  <!ENTITY % htext "A | %text"    -- Plus links, no structure -->  <!-- <HR>       Horizontal rule -->
265    
266  <![ %HTML.font-phrase [ <!ENTITY % font-content "(%htext)+"> ]]>  <!ELEMENT ( %heading )  - -  (%text;)*>
267  <!ENTITY % font-content "#PCDATA">  <!ATTLIST H1
268  <!ELEMENT (%font;) - - (%font-content;)>          %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  <![ %HTML.phrase [  <!-- <H1>       Heading, level 1 -->
287  <!ELEMENT (%phrase;) - - (%htext)+>  <!-- <H2>       Heading, level 2 -->
288  ]]>  <!-- <H3>       Heading, level 3 -->
289    <!-- <H4>       Heading, level 4 -->
290    <!-- <H5>       Heading, level 5 -->
291    <!-- <H6>       Heading, level 6 -->
292    
 <!ENTITY % pre "PRE | XMP | LISTING">  
293    
294  <![ %HTML.forms [ <!ENTITY % block-form "| FORM | ISINDEX"> ]]>  <!--========== Text Flows ======================-->
 <!ENTITY % block-form "">  
295    
296  <![ %HTML.pSeparator [  <![ %HTML.Forms [
297          <!ENTITY % obsolete-htext "| %htext">          <!ENTITY % block.forms "BLOCKQUOTE | FORM | ISINDEX">
298          <!ENTITY % block-p "">  ]]>
         ]]>  
 <!ENTITY % obsolete-htext "| A">  
 <!ENTITY % block-p "| P ">  
299    
300  <!ENTITY % block "HR | %list | DL  <!ENTITY % block.forms "BLOCKQUOTE">
                 | %pre | BLOCKQUOTE | ADDRESS  
                 %block-form %block-p">  
301    
302    <![ %HTML.Deprecated [
303            <!ENTITY % preformatted "PRE | XMP | LISTING">
304    ]]>
305    
306  <![ %HTML.bodyBlockOnly [  <!ENTITY % preformatted "PRE">
         <!ENTITY % current-htext "">  
         ]]>  
 <!ENTITY % current-htext "| %htext">  
307    
308  <!ENTITY % body-content "%heading | %block %current-htext">  <!ENTITY % block "P | %list | DL
309  <!ELEMENT BODY O O  (%body-content)*>          | %preformatted
310            | %block.forms">
311    
312    <!ENTITY % flow "(%text|%block)*">
313    
314  <!ELEMENT A     - - (%heading|%block|%text)+ -(A)  <!ENTITY % pre.content "#PCDATA | A | HR | BR">
315          -- @# Technically, this allows silliness like:  <!ELEMENT PRE - - (%pre.content)*>
316                  <H2><A>xyz<H1>h1</H1></A></H2>  <!ATTLIST PRE
317          The right way to do anchors outside of %htext is more like:          WIDTH NUMBER #implied
318                  <as id=z1><H2>lkjlkj</h2><ae start=z1>          %SDAFORM; "Lit"
         -->  
 <!ATTLIST A  
         %linkattributes;  
319          >          >
320    
321  <!ELEMENT IMG    - O EMPTY --  Embedded image -->  <!-- <PRE>              Preformatted text               -->
322  <!ATTLIST IMG  <!-- <PRE WIDTH=...>    Maximum characters per line     -->
323          SRC %URI;  #IMPLIED     -- URI of document to embed --  
324          ALT CDATA #IMPLIED  <![ %HTML.Deprecated [
325          ALIGN (top|middle|bottom) #IMPLIED  
326          ISMAP (ISMAP) #IMPLIED  <!ENTITY % literal "CDATA"
327            -- historical, non-conforming parsing mode where
328               the only markup signal is the end tag
329               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    
345    <!ELEMENT PLAINTEXT - O %literal>
346    <!-- <PLAINTEXT>        Plain text passage      -->
347    
348    <!ATTLIST PLAINTEXT
349            %SDAFORM; "Lit"
350            >
351    ]]>
352    
 <![ %HTML.pSeparator [ <!ENTITY % p-content "EMPTY"> ]]>  
 <!ENTITY % p-content "(%htext)+">  
 <!ELEMENT P     - O %p-content>  
 <!ELEMENT HR    - O EMPTY -- horizontal rule -->  
 <!ELEMENT BR    - O EMPTY -- @# BR -> &br; -->  
353    
354  <!ELEMENT ( %heading )  - -  (%htext;)+>  <!--========== 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 (%htext)+>  <!ELEMENT DT    - O (%text)*>
364  <!ELEMENT DD    - O (%htext|%block)+>  <!ATTLIST DT
365            %SDAFORM; "Term"
366            >
367    
368  <!ELEMENT (%list) - -  (LI)+>  <!ELEMENT DD    - O %flow>
369    <!ATTLIST DD
370            %SDAFORM; "LItem"
371            >
372    
373  <!ELEMENT LI    - O (%htext|%block)+>  <!-- <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)+>
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    
 <!ELEMENT BLOCKQUOTE - - (%htext|%block)+ -- @# Hmm... --  
         -- for quoting some other source -->  
392    
393  <!ELEMENT ADDRESS - - (%htext;|%block)+>  <!ELEMENT (DIR|MENU) - -  (LI)+ -(%block)>
394    <!ATTLIST DIR
395            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  <!ELEMENT PRE - - (#PCDATA|%pre-inline|A)+>  <!-- <DIR>              Directory list                  -->
406  <!ATTLIST PRE  <!-- <DIR COMPACT>      Compact list style              -->
407          WIDTH NUMBER #implied  <!-- <MENU>             Menu list                       -->
408    <!-- <MENU COMPACT>     Compact list style              -->
409    
410    <!ELEMENT LI    - O %flow>
411    <!ATTLIST LI
412            %SDAFORM; "LItem"
413          >          >
414    
415  <!-- Mnemonic character entities. -->  <!-- <LI>               List item                       -->
416    
417  <!ENTITY % ISOlat1 PUBLIC  <!--========== Document Body ===================-->
418    "ISO 8879:1986//ENTITIES Added Latin 1//EN">  
419  %ISOlat1;  <![ %HTML.Recommended [
420            <!ENTITY % body.content "(%heading|%block|HR|ADDRESS|IMG)*"
421            -- <h1>Heading</h1>
422               <p>Text ...
423                    is preferred to
424               <h1>Heading</h1>
425               Text ...
426            -->
427    ]]>
428    
429    <!ENTITY % body.content "(%heading | %text | %block |
430                                     HR | ADDRESS)*">
431    
432    <!ELEMENT BODY O O  %body.content>
433    
434    <!-- <BODY>     Document body   -->
435    
436    <!ELEMENT BLOCKQUOTE - - %body.content>
437    <!ATTLIST BLOCKQUOTE
438            %SDAFORM; "BQ"
439            >
440    
441  <!ENTITY #DEFAULT SDATA "&#38;unkown;" --display the markup-->  <!-- <BLOCKQUOTE>       Quoted passage  -->
 <!ENTITY amp CDATA "&#38;"     -- ampersand -->  
 <!ENTITY gt CDATA "&#62;"      -- greater than -->  
 <!ENTITY lt CDATA "&#60;"      -- less than -->  
 <!ENTITY quot CDATA "&#34;"    -- double quote -->  
442    
443  <!-- Processing Entities -->  <!ELEMENT ADDRESS - - (%text|P)*>
444    <!ATTLIST  ADDRESS
445            %SDAFORM; "Lit"
446            %SDAPREF; "Address:&#RE;"
447            >
448    
449    <!-- <ADDRESS>  Address, signature, or byline   -->
450    
 <!ENTITY nbsp "<? nonbreaking-space>">  
 <!-- @# should add entites for processing instructions  
         for line break, centering, etc. -->  
451    
452    <!--======= Forms ====================-->
453    
454  <!-- Forms  -->  <![ %HTML.Forms [
 <![ %HTML.forms [  
455    
456  <!ENTITY % HTTP-Method "(GET | POST)">  <!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 #IMPLIED -- @# MAILTO? --          METHOD (%HTTP-Method) GET
460          ENCTYPE %Content-Type; #IMPLIED          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 #IMPLIED -- @# defaults to 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 -- @# should be NUMBERS: delimit with space, not comma --          SIZE CDATA #IMPLIED
481          MAXLENGTH NUMBER #IMPLIED          MAXLENGTH NUMBER #IMPLIED
482          ALIGN (top|middle|bottom|left|center|right) #IMPLIED --@#supported?--          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 -- @#implied? --          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    
 <!-- Obsolete Elements  -->  
540    
541  <![ %HTML.litCDATA [ <!ENTITY % lit-content "CDATA"> ]]>  <!--======= Document Head ======================-->
542  <!ENTITY % lit-content "RCDATA">  
543  <!ELEMENT (%literal) - -  %lit-content>  <![ %HTML.Recommended [
544            <!ENTITY % head.extra "META* & LINK*">
545    ]]>
546    
547    <!ENTITY % head.extra "NEXTID? & META* & LINK*">
548    
549    <!ENTITY % head.content "TITLE & ISINDEX? & BASE? &
550                             (%head.extra)">
551    
552    <!ELEMENT HEAD O O  (%head.content)>
553    
554  <![ %HTML.PLAINTEXT [  <!-- <HEAD>     Document head   -->
555  <!ELEMENT PLAINTEXT - O EMPTY>  
556    <!ELEMENT TITLE - -  (#PCDATA)*>
557    <!ATTLIST TITLE
558            %SDAFORM; "Ti"    >
559    
560    <!-- <TITLE>    Title of document -->
561    
562    <!ELEMENT LINK - O EMPTY>
563    <!ATTLIST LINK
564            HREF %URI #REQUIRED
565            %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>
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>
584    <!ATTLIST BASE
585            HREF %URI; #REQUIRED     >
586    
587    <!-- <BASE>             Base context document                   -->
588    <!-- <BASE HREF="...">  Address for this document               -->
589    
590    <!ELEMENT NEXTID - O EMPTY>
591    <!ATTLIST NEXTID
592            N %linkName #REQUIRED     >
593    
594    <!-- <NEXTID>           Next ID to use for link name            -->
595    <!-- <NEXTID N=...>     Next ID to use for link name            -->
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 =================-->
609    
610    <![ %HTML.Deprecated [
611            <!ENTITY % html.content "HEAD, BODY, PLAINTEXT?">
612  ]]>  ]]>
613    <!ENTITY % html.content "HEAD, BODY">
614    
615    <!ELEMENT HTML O O  (%html.content)>
616    <!ENTITY % version.attr "VERSION CDATA #FIXED '%HTML.Version;'">
617    
618    <!ATTLIST HTML
619            %version.attr;
620            %SDAFORM; "Book"
621            >
622    
623    <!-- <HTML>                     HTML Document   -->

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24