/[pub]/test/html.dtd
Suika

Diff of /test/html.dtd

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

revision 1.4 by connolly, Wed Feb 3 21:30:13 1993 UTC revision 1.5 by connolly, Wed Mar 30 02:28:06 1994 UTC
# Line 1  Line 1 
1    <!SGML  "ISO 8879:1986"
2    --
3            Document Type Definition for the HyperText Markup Language
4            as used by the World Wide Web application (HTML DTD).
5    
6            NOTE: This is a definition of HTML with respect to
7            SGML, and assumes an understaning of SGML terms.
8    
9            For a description of HTML in layman's terms, see
10    
11            "HTML: A Representation for Nodes in the World Wide Web"
12                    by Dan Connolly.
13    
14            aka
15    
16            http://info.cern.ch/hypertext/WWW/MarkUp/MarkUp.html
17                    by <connolly@convex.com>
18    --
19    
20    CHARSET
21             BASESET  "ISO 646:1983//CHARSET
22                       International Reference Version (IRV)//ESC 2/5 4/0"
23             DESCSET  0   9   UNUSED
24                      9   2   9
25                      11  2   UNUSED
26                      13  1   13
27                      14  18  UNUSED
28                      32  95  32
29                      127 1   UNUSED
30    
31    CAPACITY        SGMLREF
32                    TOTALCAP        150000
33                    GRPCAP          150000
34      
35    SCOPE    DOCUMENT
36    SYNTAX  
37             SHUNCHAR CONTROLS 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
38                               19 20 21 22 23 24 25 26 27 28 29 30 31 127 255
39             BASESET  "ISO 646:1983//CHARSET
40                       International Reference Version (IRV)//ESC 2/5 4/0"
41             DESCSET  0 128 0
42             FUNCTION RE          13
43                      RS          10
44                      SPACE       32
45                      TAB SEPCHAR  9
46             NAMING   LCNMSTRT ""
47                      UCNMSTRT ""
48                      LCNMCHAR ".-"
49                      UCNMCHAR ".-"
50                      NAMECASE GENERAL YES
51                               ENTITY  NO
52             DELIM    GENERAL  SGMLREF
53                      SHORTREF SGMLREF
54             NAMES    SGMLREF
55             QUANTITY SGMLREF
56                      NAMELEN  34
57                      TAGLVL   100
58                      LITLEN   1024
59                      GRPGTCNT 150
60                      GRPCNT   64                  
61    
62    FEATURES
63      MINIMIZE
64        DATATAG  NO
65        OMITTAG  NO
66        RANK     NO
67        SHORTTAG NO
68      LINK
69        SIMPLE   NO
70        IMPLICIT NO
71        EXPLICIT NO
72      OTHER
73        CONCUR   NO
74        SUBDOC   NO
75        FORMAL   YES
76      APPINFO    NONE
77    >
78    
79    <!DOCTYPE HTML [
80  <!--  <!--
81   $Id$   $Id$
82  -->  -->
83    
84  <!--    Regarding clause 6.1, SGML Document:  <!--    Regarding clause 6.1, SGML Document:
85    
86          [1] SGML document = SGML document entity,          [1] SGML document = SGML document entity,
87              (SGML subdocument entity |              (SGML subdocument entity |
88              SGML text entity | non-SGML data entity)*              SGML text entity | non-SGML data entity)*
89    
90          The role of SGML document entity is filled by this DTD,          The role of SGML document entity is filled by this DTD,
91          followed by the conventional HTML data stream.          followed by the conventional HTML data stream.
92  -->  -->
93    
94  <!-- DTD definitions -->  <!-- DTD definitions -->
# Line 19  Line 98 
98  <!ENTITY % literal "XMP|LISTING">  <!ENTITY % literal "XMP|LISTING">
99    
100  <!ENTITY % headelement  <!ENTITY % headelement
101           "TITLE | NEXTID | ISINDEX" >           "TITLE | NEXTID | ISINDEX" >
102    
103  <!ENTITY % bodyelement  <!ENTITY % bodyelement
104           "P | %heading |           "P | A | %heading |
105           %list | DL | HEADERS | ADDRESS | PRE | BLOCKQUOTE           %list | DL | HEADERS | ADDRESS | PRE | BLOCKQUOTE
106          | %literal">          | %literal">
107    
108  <!ENTITY % oldstyle "%headelement | %bodyelement | #PCDATA">  <!ENTITY % oldstyle "%headelement | %bodyelement | #PCDATA">
 <!ENTITY % URL "CDATA"  
         -- The term URL means a CDATA attribute  
            whose value is a Universal Resource Locator,  
            as defined in ftp://info.cern.ch/pub/www/doc/url3.txt  
         -->  
   
 <!ENTITY % linkattributes  
         "NAME NMTOKEN #IMPLIED  
         HREF %URL; #IMPLIED  
         TYPE NAME #IMPLIED -- type of relashionship to referent data:  
                                 PARENT CHILD, SIBLING, NEXT, TOP,  
                                  DEFINITION, UPDATE, ORIGINAL etc. --  
         URN CDATA #IMPLIED -- universal resource number. unique doc id --  
         TITLE CDATA #IMPLIED -- advisory only --  
         METHODS NAMES #IMPLIED -- supported methods of the object:  
                                         TEXTSEARCH, GET, HEAD, ... --  
         ">  
109    
110  <!-- Document Element -->  <!-- Characters from various Latin alphabets. -->
111    <!ENTITY % ISOlat1 PUBLIC
112            "ISO 8879:1986//ENTITIES Added Latin 1//EN">
113    %ISOlat1;
114    
115    
116  <!ELEMENT HTML O O  ((HEAD | BODY | %oldstyle)*, PLAINTEXT?)>  <!-- Document Element -->
117    
118  <!ELEMENT HEAD - -  (TITLE? & ISINDEX? & NEXTID? & LINK*)>  <!ELEMENT HTML O O  (HEAD | BODY | %oldstyle)*>
119    
120  <!ELEMENT TITLE - -  RCDATA  <!ELEMENT HEAD - -  (TITLE? & ISINDEX? & NEXTID?)>
121            -- The TITLE element is not considered part of the flow of text.  <!-- LINK element (from timbl) -->
122               It should be displayed, for example as the page header or  <!ATTLIST HEAD
123               window title.          EXPIRES NUMBER #IMPLIED -- expiration date
124            -->                                  in ISO format: yyyymmddhhmmssZ --
125            >
126    
127    <!ELEMENT TITLE - -  RCDATA
128              -- The TITLE element is not considered part of the flow of text.
129                 It should be displayed, for example as the page header or
130                 window title.
131              -->
132    
133  <!ELEMENT ISINDEX - O EMPTY  <!ELEMENT ISINDEX - O EMPTY
134            -- WWW clients should offer the option to perform a search on            -- WWW clients should offer the option to perform a search on
135               documents containing ISINDEX.               documents containing ISINDEX.
136            -->            -->
137    
138  <!ELEMENT NEXTID - O EMPTY>  <!ELEMENT NEXTID - O EMPTY>
139  <!ATTLIST NEXTID N NUMBER #REQUIRED  <!ATTLIST NEXTID N NUMBER #REQUIRED
140            -- The number should be the highest number that appears in            -- The number should be the highest number that appears in
141               any NAME attribute in the document.               any NAME attribute in the document.
142            -->            -->
143            
 <!ELEMENT LINK - O EMPTY>  
 <!ATTLIST LINK  
         %linkattributes>  
           
144  <!ENTITY % inline "EM | TT | STRONG | B | I | U |  <!ENTITY % inline "EM | TT | STRONG | B | I | U |
145                          CODE | SAMP | KBD | KEY | VAR | DFN | CITE "                          CODE | SAMP | KBD | KEY | VAR | DFN | CITE "
146          >          >
147    
148  <!ELEMENT (%inline;) - - (#PCDATA)>  <!ELEMENT (%inline;) - - (#PCDATA)>
149    
150  <!ENTITY % hypertext "#PCDATA | %inline; | A">  <!ENTITY % text "#PCDATA | %inline;">
   
 <!ELEMENT BODY - -  (%bodyelement|%hypertext;)*>  
   
 <!ELEMENT A     - -  (#PCDATA)>  
 <!ATTLIST A  
         %linkattributes;  
         >  
151    
152  <!ELEMENT P     - O EMPTY -- separates paragraphs -->  <!ELEMENT BODY - -  (%bodyelement|%text;)*>
153    
154  <!ELEMENT (%heading)    - -  (%hypertext;)+>  <!ENTITY % URL "CDATA"
155            -- The term URL means a CDATA attribute
156               whose value is a Universal Resource Locator,
157               as defined in ftp://info.cern.ch/pub/www/doc/url3.txt
158            -->
159    
160  <!ELEMENT DL    - -  (DT | DD | P | %hypertext;)*>  <!ELEMENT A     - -  (#PCDATA)>
161  <!--    Content should match ((DT,(%hypertext;)+)+,(DD,(%hypertext;)+))  <!ATTLIST A
162          But mixed content is messy.          NAME NMTOKEN #IMPLIED
163            HREF %URL; #IMPLIED
164            TYPE NAME #IMPLIED -- type of relashionship to referent data:
165                                    PARENT CHILD, SIBLING, NEXT, TOP,
166                                     DEFINITION, UPDATE, ORIGINAL etc. --
167            URN CDATA #IMPLIED -- universal resource number. unique doc id --
168            TITLE CDATA #IMPLIED -- advisory only --
169            METHODS NAMES #IMPLIED -- supported methods of the object:
170                                            TEXTSEARCH, GET, HEAD, ... --
171            >
172    
173    <!ELEMENT P     - O EMPTY -- separates paragraphs -->
174    
175    <!ELEMENT (%heading)    - -  (%text;|A)+>
176    
177    <!ELEMENT HEADERS - - (DT | #PCDATA | DD | A)+>
178    <!ELEMENT DL    - -  (DT | DD | A | P | %text;)*>
179    <!--    Content should match ((DT,(A|%text;)+)+,(DD,(A|%text;)+))
180            But mixed content is messy.
181    -->    -->
 <!ATTLIST DL  
         STYLE NAME #IMPLIED -- COMPACT, etc.--  
         >  
182    
183  <!ELEMENT DT    - O EMPTY>  <!ELEMENT DT    - O EMPTY>
184  <!ELEMENT DD    - O EMPTY>  <!ELEMENT DD    - O EMPTY>
185    
186  <!ELEMENT (UL|OL) - -  (%hypertext;|LI|P)+>  <!ELEMENT (%list) - -  (%text;|LI|A|P)+>
187  <!ELEMENT (DIR|MENU) - -  (%hypertext;|LI)+>  <!--    Content should match ((LI,(A|%text;)+)+)
188  <!--    Content should match ((LI,(%hypertext;)+)+)          But mixed content is messy.
         But mixed content is messy.  
189    -->    -->
190    <!ATTLIST (%list)
191            STYLE NAME #IMPLIED -- COMPACT, etc.--
192            >
193    
194  <!ELEMENT LI    - O EMPTY>  <!ELEMENT LI    - O EMPTY>
195    
196  <!ELEMENT BLOCKQUOTE - - (%hypertext;|P)+  <!ELEMENT BLOCKQUOTE - - (%text;|A|P|ADDRESS)+
197          -- for quoting some other source -->          -- for quoting some other source -->
198  <!ATTLIST BLOCKQUOTE  <!ATTLIST BLOCKQUOTE
199          SOURCE CDATA #IMPLIED -- URL of source --          SOURCE CDATA #IMPLIED
200          >          >
201    
202  <!ELEMENT ADDRESS - - (%hypertext;|P)+>  <!ELEMENT ADDRESS - - (%text;|A|P)+>
203    
204  <!ELEMENT PRE - - (#PCDATA | A | B | I | U | P)+>  <!ELEMENT PRE - - (#PCDATA|A|P)+>
205  <!ATTLIST PRE  <!ATTLIST PRE
206          WIDTH NUMBER #implied          WIDTH NUMBER #implied
207          >          >
208    
   
 <!-- Mnemonic character entities. -->  
 <!ENTITY AElig "&#198;" -- capital AE diphthong (ligature) -->  
 <!ENTITY Aacute "&#193;" -- capital A, acute accent -->  
 <!ENTITY Acirc "&#194;" -- capital A, circumflex accent -->  
 <!ENTITY Agrave "&#192;" -- capital A, grave accent -->  
 <!ENTITY Aring "&#197;" -- capital A, ring -->  
 <!ENTITY Atilde "&#195;" -- capital A, tilde -->  
 <!ENTITY Auml "&#196;" -- capital A, dieresis or umlaut mark -->  
 <!ENTITY Ccedil "&#199;" -- capital C, cedilla -->  
 <!ENTITY ETH "&#208;" -- capital Eth, Icelandic -->  
 <!ENTITY Eacute "&#201;" -- capital E, acute accent -->  
 <!ENTITY Ecirc "&#202;" -- capital E, circumflex accent -->  
 <!ENTITY Egrave "&#200;" -- capital E, grave accent -->  
 <!ENTITY Euml "&#203;" -- capital E, dieresis or umlaut mark -->  
 <!ENTITY Iacute "&#205;" -- capital I, acute accent -->  
 <!ENTITY Icirc "&#206;" -- capital I, circumflex accent -->  
 <!ENTITY Igrave "&#204;" -- capital I, grave accent -->  
 <!ENTITY Iuml "&#207;" -- capital I, dieresis or umlaut mark -->  
 <!ENTITY Ntilde "&#209;" -- capital N, tilde -->  
 <!ENTITY Oacute "&#211;" -- capital O, acute accent -->  
 <!ENTITY Ocirc "&#212;" -- capital O, circumflex accent -->  
 <!ENTITY Ograve "&#210;" -- capital O, grave accent -->  
 <!ENTITY Oslash "&#216;" -- capital O, slash -->  
 <!ENTITY Otilde "&#213;" -- capital O, tilde -->  
 <!ENTITY Ouml "&#214;" -- capital O, dieresis or umlaut mark -->  
 <!ENTITY THORN "&#222;" -- capital THORN, Icelandic -->  
 <!ENTITY Uacute "&#218;" -- capital U, acute accent -->  
 <!ENTITY Ucirc "&#219;" -- capital U, circumflex accent -->  
 <!ENTITY Ugrave "&#217;" -- capital U, grave accent -->  
 <!ENTITY Uuml "&#220;" -- capital U, dieresis or umlaut mark -->  
 <!ENTITY Yacute "&#221;" -- capital Y, acute accent -->  
 <!ENTITY aacute "&#225;" -- small a, acute accent -->  
 <!ENTITY acirc "&#226;" -- small a, circumflex accent -->  
 <!ENTITY aelig "&#230;" -- small ae diphthong (ligature) -->  
 <!ENTITY agrave "&#224;" -- small a, grave accent -->  
 <!ENTITY amp "&#38;" -- ampersand -->  
 <!ENTITY aring "&#229;" -- small a, ring -->  
 <!ENTITY atilde "&#227;" -- small a, tilde -->  
 <!ENTITY auml "&#228;" -- small a, dieresis or umlaut mark -->  
 <!ENTITY ccedil "&#231;" -- small c, cedilla -->  
 <!ENTITY eacute "&#233;" -- small e, acute accent -->  
 <!ENTITY ecirc "&#234;" -- small e, circumflex accent -->  
 <!ENTITY egrave "&#232;" -- small e, grave accent -->  
 <!ENTITY eth "&#240;" -- small eth, Icelandic -->  
 <!ENTITY euml "&#235;" -- small e, dieresis or umlaut mark -->  
 <!ENTITY gt "&#62;" -- greater than -->  
 <!ENTITY iacute "&#237;" -- small i, acute accent -->  
 <!ENTITY icirc "&#238;" -- small i, circumflex accent -->  
 <!ENTITY igrave "&#236;" -- small i, grave accent -->  
 <!ENTITY iuml "&#239;" -- small i, dieresis or umlaut mark -->  
 <!ENTITY lt "&#60;" -- less than -->  
 <!ENTITY ntilde "&#241;" -- small n, tilde -->  
 <!ENTITY oacute "&#243;" -- small o, acute accent -->  
 <!ENTITY ocirc "&#244;" -- small o, circumflex accent -->  
 <!ENTITY ograve "&#242;" -- small o, grave accent -->  
 <!ENTITY oslash "&#248;" -- small o, slash -->  
 <!ENTITY otilde "&#245;" -- small o, tilde -->  
 <!ENTITY ouml "&#246;" -- small o, dieresis or umlaut mark -->  
 <!ENTITY szlig "&#223;" -- small sharp s, German (sz ligature) -->  
 <!ENTITY thorn "&#254;" -- small thorn, Icelandic -->  
 <!ENTITY uacute "&#250;" -- small u, acute accent -->  
 <!ENTITY ucirc "&#251;" -- small u, circumflex accent -->  
 <!ENTITY ugrave "&#249;" -- small u, grave accent -->  
 <!ENTITY uuml "&#252;" -- small u, dieresis or umlaut mark -->  
 <!ENTITY yacute "&#253;" -- small y, acute accent -->  
 <!ENTITY yuml "&#255;" -- small y, dieresis or umlaut mark -->  
   
209  <!-- deprecated elements -->  <!-- deprecated elements -->
210    
211  <!ELEMENT (%literal) - -  CDATA>  <!ELEMENT (%literal) - -  RCDATA>
212    
213  <!ELEMENT PLAINTEXT - O EMPTY>  <!ELEMENT PLAINTEXT - O EMPTY>
214    
# Line 201  Line 216 
216  <!-- mode: sgml -->  <!-- mode: sgml -->
217  <!-- compile-command: "sgmls -s -p " -->  <!-- compile-command: "sgmls -s -p " -->
218  <!-- end: -->  <!-- end: -->
219    ]>

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24