1 |
connolly |
1.2 |
<!-- |
2 |
connolly |
1.4 |
$Id: html.dtd,v 1.4 93/01/20 20:56:08 connolly Exp $ |
3 |
connolly |
1.2 |
--> |
4 |
|
|
|
5 |
connolly |
1.4 |
<!-- Regarding clause 6.1, SGML Document: |
6 |
connolly |
1.2 |
|
7 |
connolly |
1.4 |
[1] SGML document = SGML document entity, |
8 |
|
|
(SGML subdocument entity | |
9 |
|
|
SGML text entity | non-SGML data entity)* |
10 |
connolly |
1.2 |
|
11 |
connolly |
1.4 |
The role of SGML document entity is filled by this DTD, |
12 |
|
|
followed by the conventional HTML data stream. |
13 |
connolly |
1.2 |
--> |
14 |
|
|
|
15 |
connolly |
1.3 |
<!-- DTD definitions --> |
16 |
|
|
|
17 |
connolly |
1.2 |
<!ENTITY % heading "H1|H2|H3|H4|H5|H6" > |
18 |
|
|
<!ENTITY % list "UL|OL|DIR|MENU"> |
19 |
|
|
<!ENTITY % literal "XMP|LISTING"> |
20 |
|
|
|
21 |
|
|
<!ENTITY % headelement |
22 |
connolly |
1.4 |
"TITLE | NEXTID | ISINDEX" > |
23 |
connolly |
1.2 |
|
24 |
|
|
<!ENTITY % bodyelement |
25 |
connolly |
1.4 |
"P | %heading | |
26 |
|
|
%list | DL | HEADERS | ADDRESS | PRE | BLOCKQUOTE |
27 |
|
|
| %literal"> |
28 |
connolly |
1.3 |
|
29 |
|
|
<!ENTITY % oldstyle "%headelement | %bodyelement | #PCDATA"> |
30 |
connolly |
1.4 |
<!ENTITY % URL "CDATA" |
31 |
|
|
-- The term URL means a CDATA attribute |
32 |
|
|
whose value is a Universal Resource Locator, |
33 |
|
|
as defined in ftp://info.cern.ch/pub/www/doc/url3.txt |
34 |
|
|
--> |
35 |
|
|
|
36 |
|
|
<!ENTITY % linkattributes |
37 |
|
|
"NAME NMTOKEN #IMPLIED |
38 |
|
|
HREF %URL; #IMPLIED |
39 |
|
|
TYPE NAME #IMPLIED -- type of relashionship to referent data: |
40 |
|
|
PARENT CHILD, SIBLING, NEXT, TOP, |
41 |
|
|
DEFINITION, UPDATE, ORIGINAL etc. -- |
42 |
|
|
URN CDATA #IMPLIED -- universal resource number. unique doc id -- |
43 |
|
|
TITLE CDATA #IMPLIED -- advisory only -- |
44 |
|
|
METHODS NAMES #IMPLIED -- supported methods of the object: |
45 |
|
|
TEXTSEARCH, GET, HEAD, ... -- |
46 |
|
|
"> |
47 |
connolly |
1.3 |
|
48 |
connolly |
1.4 |
<!-- Document Element --> |
49 |
connolly |
1.2 |
|
50 |
connolly |
1.4 |
<!ELEMENT HTML O O ((HEAD | BODY | %oldstyle)*, PLAINTEXT?)> |
51 |
connolly |
1.2 |
|
52 |
connolly |
1.4 |
<!ELEMENT HEAD - - (TITLE? & ISINDEX? & NEXTID? & LINK*)> |
53 |
connolly |
1.2 |
|
54 |
connolly |
1.4 |
<!ELEMENT TITLE - - RCDATA |
55 |
|
|
-- The TITLE element is not considered part of the flow of text. |
56 |
|
|
It should be displayed, for example as the page header or |
57 |
|
|
window title. |
58 |
|
|
--> |
59 |
connolly |
1.2 |
|
60 |
|
|
<!ELEMENT ISINDEX - O EMPTY |
61 |
connolly |
1.4 |
-- WWW clients should offer the option to perform a search on |
62 |
|
|
documents containing ISINDEX. |
63 |
|
|
--> |
64 |
connolly |
1.2 |
|
65 |
|
|
<!ELEMENT NEXTID - O EMPTY> |
66 |
|
|
<!ATTLIST NEXTID N NUMBER #REQUIRED |
67 |
connolly |
1.4 |
-- The number should be the highest number that appears in |
68 |
|
|
any NAME attribute in the document. |
69 |
|
|
--> |
70 |
|
|
|
71 |
|
|
<!ELEMENT LINK - O EMPTY> |
72 |
|
|
<!ATTLIST LINK |
73 |
|
|
%linkattributes> |
74 |
|
|
|
75 |
connolly |
1.3 |
<!ENTITY % inline "EM | TT | STRONG | B | I | U | |
76 |
connolly |
1.4 |
CODE | SAMP | KBD | KEY | VAR | DFN | CITE " |
77 |
|
|
> |
78 |
connolly |
1.3 |
|
79 |
|
|
<!ELEMENT (%inline;) - - (#PCDATA)> |
80 |
|
|
|
81 |
connolly |
1.4 |
<!ENTITY % hypertext "#PCDATA | %inline; | A"> |
82 |
|
|
|
83 |
|
|
<!ELEMENT BODY - - (%bodyelement|%hypertext;)*> |
84 |
|
|
|
85 |
|
|
<!ELEMENT A - - (#PCDATA)> |
86 |
|
|
<!ATTLIST A |
87 |
|
|
%linkattributes; |
88 |
|
|
> |
89 |
connolly |
1.3 |
|
90 |
connolly |
1.4 |
<!ELEMENT P - O EMPTY -- separates paragraphs --> |
91 |
connolly |
1.3 |
|
92 |
connolly |
1.4 |
<!ELEMENT (%heading) - - (%hypertext;)+> |
93 |
connolly |
1.2 |
|
94 |
connolly |
1.4 |
<!ELEMENT DL - - (DT | DD | P | %hypertext;)*> |
95 |
|
|
<!-- Content should match ((DT,(%hypertext;)+)+,(DD,(%hypertext;)+)) |
96 |
|
|
But mixed content is messy. |
97 |
connolly |
1.2 |
--> |
98 |
connolly |
1.4 |
<!ATTLIST DL |
99 |
|
|
STYLE NAME #IMPLIED -- COMPACT, etc.-- |
100 |
|
|
> |
101 |
connolly |
1.2 |
|
102 |
connolly |
1.4 |
<!ELEMENT DT - O EMPTY> |
103 |
|
|
<!ELEMENT DD - O EMPTY> |
104 |
connolly |
1.2 |
|
105 |
connolly |
1.4 |
<!ELEMENT (UL|OL) - - (%hypertext;|LI|P)+> |
106 |
|
|
<!ELEMENT (DIR|MENU) - - (%hypertext;|LI)+> |
107 |
|
|
<!-- Content should match ((LI,(%hypertext;)+)+) |
108 |
|
|
But mixed content is messy. |
109 |
connolly |
1.2 |
--> |
110 |
|
|
|
111 |
connolly |
1.4 |
<!ELEMENT LI - O EMPTY> |
112 |
connolly |
1.2 |
|
113 |
connolly |
1.4 |
<!ELEMENT BLOCKQUOTE - - (%hypertext;|P)+ |
114 |
|
|
-- for quoting some other source --> |
115 |
connolly |
1.3 |
<!ATTLIST BLOCKQUOTE |
116 |
connolly |
1.4 |
SOURCE CDATA #IMPLIED -- URL of source -- |
117 |
|
|
> |
118 |
connolly |
1.3 |
|
119 |
connolly |
1.4 |
<!ELEMENT ADDRESS - - (%hypertext;|P)+> |
120 |
connolly |
1.2 |
|
121 |
connolly |
1.4 |
<!ELEMENT PRE - - (#PCDATA | A | B | I | U | P)+> |
122 |
connolly |
1.2 |
<!ATTLIST PRE |
123 |
connolly |
1.4 |
WIDTH NUMBER #implied |
124 |
connolly |
1.2 |
> |
125 |
|
|
|
126 |
connolly |
1.4 |
|
127 |
|
|
<!-- Mnemonic character entities. --> |
128 |
|
|
<!ENTITY AElig "Æ" -- capital AE diphthong (ligature) --> |
129 |
|
|
<!ENTITY Aacute "Á" -- capital A, acute accent --> |
130 |
|
|
<!ENTITY Acirc "Â" -- capital A, circumflex accent --> |
131 |
|
|
<!ENTITY Agrave "À" -- capital A, grave accent --> |
132 |
|
|
<!ENTITY Aring "Å" -- capital A, ring --> |
133 |
|
|
<!ENTITY Atilde "Ã" -- capital A, tilde --> |
134 |
|
|
<!ENTITY Auml "Ä" -- capital A, dieresis or umlaut mark --> |
135 |
|
|
<!ENTITY Ccedil "Ç" -- capital C, cedilla --> |
136 |
|
|
<!ENTITY ETH "Ð" -- capital Eth, Icelandic --> |
137 |
|
|
<!ENTITY Eacute "É" -- capital E, acute accent --> |
138 |
|
|
<!ENTITY Ecirc "Ê" -- capital E, circumflex accent --> |
139 |
|
|
<!ENTITY Egrave "È" -- capital E, grave accent --> |
140 |
|
|
<!ENTITY Euml "Ë" -- capital E, dieresis or umlaut mark --> |
141 |
|
|
<!ENTITY Iacute "Í" -- capital I, acute accent --> |
142 |
|
|
<!ENTITY Icirc "Î" -- capital I, circumflex accent --> |
143 |
|
|
<!ENTITY Igrave "Ì" -- capital I, grave accent --> |
144 |
|
|
<!ENTITY Iuml "Ï" -- capital I, dieresis or umlaut mark --> |
145 |
|
|
<!ENTITY Ntilde "Ñ" -- capital N, tilde --> |
146 |
|
|
<!ENTITY Oacute "Ó" -- capital O, acute accent --> |
147 |
|
|
<!ENTITY Ocirc "Ô" -- capital O, circumflex accent --> |
148 |
|
|
<!ENTITY Ograve "Ò" -- capital O, grave accent --> |
149 |
|
|
<!ENTITY Oslash "Ø" -- capital O, slash --> |
150 |
|
|
<!ENTITY Otilde "Õ" -- capital O, tilde --> |
151 |
|
|
<!ENTITY Ouml "Ö" -- capital O, dieresis or umlaut mark --> |
152 |
|
|
<!ENTITY THORN "Þ" -- capital THORN, Icelandic --> |
153 |
|
|
<!ENTITY Uacute "Ú" -- capital U, acute accent --> |
154 |
|
|
<!ENTITY Ucirc "Û" -- capital U, circumflex accent --> |
155 |
|
|
<!ENTITY Ugrave "Ù" -- capital U, grave accent --> |
156 |
|
|
<!ENTITY Uuml "Ü" -- capital U, dieresis or umlaut mark --> |
157 |
|
|
<!ENTITY Yacute "Ý" -- capital Y, acute accent --> |
158 |
|
|
<!ENTITY aacute "á" -- small a, acute accent --> |
159 |
|
|
<!ENTITY acirc "â" -- small a, circumflex accent --> |
160 |
|
|
<!ENTITY aelig "æ" -- small ae diphthong (ligature) --> |
161 |
|
|
<!ENTITY agrave "à" -- small a, grave accent --> |
162 |
|
|
<!ENTITY amp "&" -- ampersand --> |
163 |
|
|
<!ENTITY aring "å" -- small a, ring --> |
164 |
|
|
<!ENTITY atilde "ã" -- small a, tilde --> |
165 |
|
|
<!ENTITY auml "ä" -- small a, dieresis or umlaut mark --> |
166 |
|
|
<!ENTITY ccedil "ç" -- small c, cedilla --> |
167 |
|
|
<!ENTITY eacute "é" -- small e, acute accent --> |
168 |
|
|
<!ENTITY ecirc "ê" -- small e, circumflex accent --> |
169 |
|
|
<!ENTITY egrave "è" -- small e, grave accent --> |
170 |
|
|
<!ENTITY eth "ð" -- small eth, Icelandic --> |
171 |
|
|
<!ENTITY euml "ë" -- small e, dieresis or umlaut mark --> |
172 |
|
|
<!ENTITY gt ">" -- greater than --> |
173 |
|
|
<!ENTITY iacute "í" -- small i, acute accent --> |
174 |
|
|
<!ENTITY icirc "î" -- small i, circumflex accent --> |
175 |
|
|
<!ENTITY igrave "ì" -- small i, grave accent --> |
176 |
|
|
<!ENTITY iuml "ï" -- small i, dieresis or umlaut mark --> |
177 |
|
|
<!ENTITY lt "<" -- less than --> |
178 |
|
|
<!ENTITY ntilde "ñ" -- small n, tilde --> |
179 |
|
|
<!ENTITY oacute "ó" -- small o, acute accent --> |
180 |
|
|
<!ENTITY ocirc "ô" -- small o, circumflex accent --> |
181 |
|
|
<!ENTITY ograve "ò" -- small o, grave accent --> |
182 |
|
|
<!ENTITY oslash "ø" -- small o, slash --> |
183 |
|
|
<!ENTITY otilde "õ" -- small o, tilde --> |
184 |
|
|
<!ENTITY ouml "ö" -- small o, dieresis or umlaut mark --> |
185 |
|
|
<!ENTITY szlig "ß" -- small sharp s, German (sz ligature) --> |
186 |
|
|
<!ENTITY thorn "þ" -- small thorn, Icelandic --> |
187 |
|
|
<!ENTITY uacute "ú" -- small u, acute accent --> |
188 |
|
|
<!ENTITY ucirc "û" -- small u, circumflex accent --> |
189 |
|
|
<!ENTITY ugrave "ù" -- small u, grave accent --> |
190 |
|
|
<!ENTITY uuml "ü" -- small u, dieresis or umlaut mark --> |
191 |
|
|
<!ENTITY yacute "ý" -- small y, acute accent --> |
192 |
|
|
<!ENTITY yuml "ÿ" -- small y, dieresis or umlaut mark --> |
193 |
|
|
|
194 |
connolly |
1.3 |
<!-- deprecated elements --> |
195 |
|
|
|
196 |
connolly |
1.4 |
<!ELEMENT (%literal) - - CDATA> |
197 |
connolly |
1.2 |
|
198 |
|
|
<!ELEMENT PLAINTEXT - O EMPTY> |
199 |
|
|
|
200 |
connolly |
1.3 |
<!-- Local Variables: --> |
201 |
|
|
<!-- mode: sgml --> |
202 |
|
|
<!-- compile-command: "sgmls -s -p " --> |
203 |
|
|
<!-- end: --> |