1 |
<!SGML "ISO 8879:1986" |
<!-- html.dtd |
|
-- |
|
|
Document Type Definition for the HyperText Markup Language |
|
|
as used by the World Wide Web application (HTML DTD). |
|
2 |
|
|
3 |
NOTE: This is a definition of HTML with respect to |
Document Type Definition for the HyperText Markup Language |
4 |
SGML, and assumes an understanding of SGML terms. |
as used by the World Wide Web (HTML DTD). |
5 |
|
|
6 |
If you find bugs in this DTD or find it does not compile |
$Id$ |
|
under some circumstances please mail www-bug@info.cern.ch |
|
|
-- |
|
|
|
|
|
CHARSET |
|
|
BASESET "ISO 646:1983//CHARSET |
|
|
International Reference Version (IRV)//ESC 2/5 4/0" |
|
|
DESCSET 0 9 UNUSED |
|
|
9 2 9 |
|
|
11 2 UNUSED |
|
|
13 1 13 |
|
|
14 18 UNUSED |
|
|
32 95 32 |
|
|
127 1 UNUSED |
|
|
BASESET "ISO Registration Number 100//CHARSET |
|
|
ECMA-94 Right Part of Latin Alphabet Nr. 1//ESC 2/13 4/1" |
|
|
DESCSET 128 32 UNUSED |
|
|
160 95 32 |
|
|
255 1 UNUSED |
|
|
|
|
|
|
|
|
CAPACITY SGMLREF |
|
|
TOTALCAP 150000 |
|
|
GRPCAP 150000 |
|
|
|
|
|
SCOPE DOCUMENT |
|
|
SYNTAX |
|
|
SHUNCHAR CONTROLS 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
|
|
19 20 21 22 23 24 25 26 27 28 29 30 31 127 255 |
|
|
BASESET "ISO 646:1983//CHARSET |
|
|
International Reference Version (IRV)//ESC 2/5 4/0" |
|
|
DESCSET 0 128 0 |
|
|
FUNCTION RE 13 |
|
|
RS 10 |
|
|
SPACE 32 |
|
|
TAB SEPCHAR 9 |
|
|
NAMING LCNMSTRT "" |
|
|
UCNMSTRT "" |
|
|
LCNMCHAR ".-" |
|
|
UCNMCHAR ".-" |
|
|
NAMECASE GENERAL YES |
|
|
ENTITY NO |
|
|
DELIM GENERAL SGMLREF |
|
|
SHORTREF SGMLREF |
|
|
NAMES SGMLREF |
|
|
QUANTITY SGMLREF |
|
|
NAMELEN 34 |
|
|
TAGLVL 100 |
|
|
LITLEN 1024 |
|
|
GRPGTCNT 150 |
|
|
GRPCNT 64 |
|
|
|
|
|
FEATURES |
|
|
MINIMIZE |
|
|
DATATAG NO |
|
|
OMITTAG NO |
|
|
RANK NO |
|
|
SHORTTAG NO |
|
|
LINK |
|
|
SIMPLE NO |
|
|
IMPLICIT NO |
|
|
EXPLICIT NO |
|
|
OTHER |
|
|
CONCUR NO |
|
|
SUBDOC NO |
|
|
FORMAL YES |
|
|
APPINFO NONE |
|
|
> |
|
|
|
|
|
<!DOCTYPE HTML [ |
|
|
<!-- Jul 1 93 --> |
|
|
<!-- Regarding clause 6.1, SGML Document: |
|
|
|
|
|
[1] SGML document = SGML document entity, |
|
|
(SGML subdocument entity | |
|
|
SGML text entity | non-SGML data entity)* |
|
7 |
|
|
8 |
The role of SGML document entity is filled by this DTD, |
Author: Daniel W. Connolly <connolly@hal.com> |
9 |
followed by the conventional HTML data stream. |
See Also: http://www.hal.com/%7Econnolly/html-spec/HTML.html |
10 |
|
http://info.cern.ch/hypertext/WWW/MarkUp2/MarkUp.html |
11 |
--> |
--> |
12 |
|
|
13 |
|
<!ENTITY HTML.Version |
14 |
|
"-//W3O//DTD WWW HTML 2.0//EN" |
15 |
|
-- public identifier for "current pracitice" version -- |
16 |
|
|
17 |
|
-- Typical usage: |
18 |
|
|
19 |
|
<!DOCTYPE HTML PUBLIC "-//W3O//DTD WWW HTML 2.0//EN"> |
20 |
|
<html> |
21 |
|
... |
22 |
|
</html> |
23 |
|
-- |
24 |
|
> |
25 |
|
|
26 |
|
|
27 |
|
<!-- Feature Test Entities --> |
28 |
|
|
29 |
|
<!-- To use these, write your document like: |
30 |
|
<!DOCTYPE HTML [ |
31 |
|
<!ENTITY % HTML.Optional "INCLUDE"> |
32 |
|
<!ENTITY % html PUBLIC "-//connolly hal.com//DTD WWW HTML 1.8//EN"> |
33 |
|
%html; |
34 |
|
]> |
35 |
|
<TITLE>Here's my doc</TITLE> |
36 |
|
<p>It uses lots of optional features |
37 |
|
|
38 |
|
In practice, if you're using sgmls to validate your docs, |
39 |
|
you can stick the <!DOCTYPE [...]> in a separate file and |
40 |
|
validate with: |
41 |
|
sgmls -s doctype.sgml foo.html |
42 |
|
--> |
43 |
|
|
44 |
|
<!ENTITY % HTML.Level0 "IGNORE"> |
45 |
|
<!ENTITY % HTML.Obsolete "IGNORE"> |
46 |
|
<!ENTITY % HTML.Prescriptive "IGNORE"> |
47 |
|
|
48 |
|
<![ %HTML.Level0 [ |
49 |
|
<!ENTITY % HTML.linkRelationships "IGNORE"> |
50 |
|
<!ENTITY % HTML.linkMethods "IGNORE"> |
51 |
|
<!ENTITY % HTML.linkRedundantInfo "IGNORE"> |
52 |
|
<!ENTITY % HTML.forms "IGNORE"> |
53 |
|
<!ENTITY % HTML.phrase "IGNORE"> |
54 |
|
<!ENTITY % HTML.NEXTID "IGNORE"> |
55 |
|
<!-- @# Are the following required for conformance? --> |
56 |
|
<!-- @# nested lists --> |
57 |
|
<!-- @# IMG --> |
58 |
|
<!-- @# headers inside A --> |
59 |
|
<!-- @# nested phrases, fonts --> |
60 |
|
]]> |
61 |
|
|
62 |
|
<![ %HTML.Obsolete [ |
63 |
|
<!ENTITY % HTML.titleCDATA "INCLUDE"> |
64 |
|
<!ENTITY % HTML.litCDATA "INCLUDE"> |
65 |
|
<!ENTITY % HTML.pSeparator "INCLUDE"> |
66 |
|
]]> |
67 |
|
|
68 |
|
<![ %HTML.Prescriptive [ |
69 |
|
<!-- |
70 |
|
This feature test entity prescribes that certain |
71 |
|
idioms detract from the structural integrity of an |
72 |
|
HTML document, and are therefore disallowed. |
73 |
|
--> |
74 |
|
<!ENTITY % HTML.font-phrase "IGNORE"> |
75 |
|
<!ENTITY % HTML.anchorNameCDATA "IGNORE"> |
76 |
|
<!ENTITY % HTML.PLAINTEXT "IGNORE"> |
77 |
|
<!ENTITY % HTML.bodyBlockOnly "INCLUDE"> |
78 |
|
]]> |
79 |
|
|
80 |
|
<!ENTITY % HTML.phrase "INCLUDE" |
81 |
|
-- phrase markup, ala TeXinfo: TT, EM, etc. |
82 |
|
--> |
83 |
|
|
84 |
|
<!ENTITY % HTML.bodyBlockOnly "IGNORE" |
85 |
|
-- only allow block elements in the BODY element |
86 |
|
This means all paragraphs need to start with a <P> tag. |
87 |
|
--> |
88 |
|
|
89 |
|
<!ENTITY % HTML.pSeparator "IGNORE" |
90 |
|
-- use P element as paragraph separator, rather that container. |
91 |
|
--> |
92 |
|
|
93 |
|
<!ENTITY % HTML.linkRelationships "INCLUDE" |
94 |
|
-- Adding markup to links to show the relationship between |
95 |
|
ends of a link |
96 |
|
see http://info.cern.ch/hypertext/WWW/MarkUp/Relationships.html |
97 |
|
--> |
98 |
|
|
99 |
|
<!ENTITY % HTML.linkMethods "INCLUDE" |
100 |
|
-- Adding markup to links to show the methods supported |
101 |
|
by the referent object |
102 |
|
see http://info.cern.ch/hypertext/WWW/MarkUp/Elements/A.html |
103 |
|
--> |
104 |
|
|
105 |
|
<!ENTITY % HTML.linkRedundantInfo "INCLUDE" |
106 |
|
-- Adding markup to links to give redundant information |
107 |
|
like URN, content type, title... |
108 |
|
--> |
109 |
|
|
110 |
|
<!ENTITY % HTML.anchorNameCDATA "INCLUDE" |
111 |
|
-- Anchor names should be distinct. SGML parser can validate |
112 |
|
this if the NAME attribute of the A element is declared as ID. |
113 |
|
But that restricts the syntax of an anchor name to an SGML name, |
114 |
|
i.e. a letter followed by letters, numbers, periods and dashes, |
115 |
|
up to NAMELEN (34) characters long. |
116 |
|
--> |
117 |
|
|
118 |
|
<!ENTITY % HTML.PLAINTEXT "INCLUDE" |
119 |
|
-- Support for the <PLAINTEXT> tag as a sign of the |
120 |
|
end of th HTML data stream and the beginning of a stream |
121 |
|
of text/plain data |
122 |
|
--> |
123 |
|
|
124 |
|
<!ENTITY % HTML.titleCDATA "IGNORE" |
125 |
|
-- Is the TITLE element #PCDATA, RCDATA, or CDATA content? |
126 |
|
On Mosaic, it's #PCDATA, but in the linemode browser, |
127 |
|
it's more like CDATA, but not quite. |
128 |
|
--> |
129 |
|
|
130 |
|
<!ENTITY % HTML.NEXTID "INCLUDE" |
131 |
|
-- Used by the NeXT implementation to keep track of the |
132 |
|
next anchor id to use |
133 |
|
--> |
134 |
|
|
135 |
|
<!ENTITY % HTML.font-phrase "INCLUDE" |
136 |
|
-- allow B, I, TT, U outside PRE, |
137 |
|
CITE, VAR, etc. inside PRE |
138 |
|
--> |
139 |
|
|
140 |
|
<!ENTITY % HTML.KEY "IGNORE" |
141 |
|
-- There was once a KEY element, for keyboard keys, menu items, |
142 |
|
buttons, etc. but it's not supported or widely documented |
143 |
|
--> |
144 |
|
|
145 |
|
<!ENTITY % HTML.U "IGNORE" |
146 |
|
-- There was also a U element, but since it clashes with |
147 |
|
the common pracitce of underlining hypertext links, it is |
148 |
|
not widely supported |
149 |
|
--> |
150 |
|
|
151 |
|
<!ENTITY % HTML.litCDATA "IGNORE" |
152 |
|
-- treat XMP, LISTING as CDATA, as per linemodeWWW |
153 |
|
--> |
154 |
|
|
155 |
|
<!ENTITY % HTML.forms "INCLUDE" |
156 |
|
-- Support for forms as per |
157 |
|
http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/Docs/fill-out-forms/overview.html |
158 |
|
--> |
159 |
|
|
160 |
<!-- DTD definitions --> |
<!-- DTD definitions --> |
161 |
|
|
162 |
<!ENTITY % heading "H1|H2|H3|H4|H5|H6" > |
<!ENTITY % heading "H1|H2|H3|H4|H5|H6" > |
163 |
<!ENTITY % list " UL | OL | DIR | MENU "> |
<!ENTITY % list " UL | OL | DIR | MENU "> |
164 |
<!ENTITY % literal " XMP | LISTING "> |
<!ENTITY % literal " XMP | LISTING "> |
165 |
|
|
166 |
<!ENTITY % headelement |
<!ENTITY % URI "CDATA" |
167 |
" TITLE | NEXTID |ISINDEX" > |
-- The term URI means a CDATA attribute |
168 |
|
whose value is a Uniform Resource Identifier, |
169 |
|
as defined by |
170 |
|
"Universal Resource Identifiers" by Tim Berners-Lee |
171 |
|
aka http://info.cern.ch/hypertext/WWW/Addressing/URL/URI_Overview.html |
172 |
|
|
173 |
|
Note that CDATA attributes are limited by the LITLEN |
174 |
|
capacity (1024 in the current version of html.decl), |
175 |
|
so that URIs in HTML have a bounded length. |
176 |
|
|
|
<!ENTITY % bodyelement |
|
|
"P | HR | %heading | |
|
|
%list | DL | ADDRESS | PRE | BLOCKQUOTE |
|
|
| %literal"> |
|
|
|
|
|
<!ENTITY % oldstyle "%headelement | %bodyelement | #PCDATA"> |
|
|
|
|
|
<!ENTITY % URL "CDATA" |
|
|
-- The term URL means a CDATA attribute |
|
|
whose value is a Uniform Resource Locator, |
|
|
as defined. (A URN may also be usable here when defined.) |
|
177 |
--> |
--> |
178 |
|
|
179 |
<!ENTITY % linkattributes |
<!ENTITY % Content-Type "CDATA" |
180 |
"NAME NMTOKEN #IMPLIED |
-- meaning a MIME content type, as per RFC1521 |
181 |
HREF %URL; #IMPLIED |
--> |
182 |
|
|
183 |
|
<![ %HTML.anchorNameCDATA [ <!ENTITY % anchor-name "CDATA"> ]]> |
184 |
|
<!ENTITY % anchor-name "ID"> |
185 |
|
|
186 |
|
<![ %HTML.linkRelationships [ <!ENTITY % linkRelAttrs " |
187 |
REL CDATA #IMPLIED -- forward relationship type -- |
REL CDATA #IMPLIED -- forward relationship type -- |
188 |
REV CDATA #IMPLIED -- reversed relationship type |
REV CDATA #IMPLIED -- reversed relationship type |
189 |
to referent data: |
to referent data: |
190 |
|
|
191 |
PARENT CHILD, SIBLING, NEXT, TOP, |
PARENT CHILD, SIBLING, NEXT, TOP, |
192 |
DEFINITION, UPDATE, ORIGINAL etc. -- |
DEFINITION, UPDATE, ORIGINAL etc. -- |
193 |
|
"> ]]> |
194 |
|
<!ENTITY % linkRelAttrs ""> |
195 |
|
|
196 |
|
<![ %HTML.linkRedundantInfo [ <!ENTITY % linkRedundantAttrs " |
197 |
URN CDATA #IMPLIED -- universal resource number -- |
URN CDATA #IMPLIED -- universal resource number -- |
198 |
|
|
199 |
TITLE CDATA #IMPLIED -- advisory only -- |
TITLE CDATA #IMPLIED -- advisory only -- |
200 |
|
"> ]]> |
201 |
|
<!ENTITY % linkRedundantAttrs ""> |
202 |
|
|
203 |
|
<![ %HTML.linkMethods [ <!ENTITY % linkMethodAttrs " |
204 |
METHODS NAMES #IMPLIED -- supported public methods of the object: |
METHODS NAMES #IMPLIED -- supported public methods of the object: |
205 |
TEXTSEARCH, GET, HEAD, ... -- |
TEXTSEARCH, GET, HEAD, ... -- |
206 |
|
"> ]]> |
207 |
|
<!ENTITY % linkMethodAttrs ""> |
208 |
|
|
209 |
|
<!ENTITY % linkattributes |
210 |
|
"NAME %anchor-name #IMPLIED |
211 |
|
HREF %URI; #IMPLIED |
212 |
|
%linkRelAttrs; |
213 |
|
%linkRedundantAttrs; |
214 |
|
%linkMethodAttrs; |
215 |
"> |
"> |
216 |
|
|
217 |
|
|
218 |
<!-- Document Element --> |
<!-- Document Element --> |
219 |
|
|
|
<!ELEMENT HTML O O (( HEAD | BODY | %oldstyle )*, PLAINTEXT?)> |
|
220 |
|
|
221 |
<!ELEMENT HEAD - - ( TITLE? & ISINDEX? & NEXTID? & LINK* |
<![ %HTML.PLAINTEXT [ <!ENTITY % obsolete-plaintext ", PLAINTEXT?"> ]]> |
222 |
& BASE?)> |
<!ENTITY % obsolete-plaintext ""> |
223 |
|
|
224 |
|
<!ENTITY % html-content "HEAD, BODY %obsolete-plaintext;"> |
225 |
|
<!ELEMENT HTML O O (%html-content)> |
226 |
|
|
227 |
<!ELEMENT TITLE - - RCDATA |
<![ %HTML.NEXTID [ <!ENTITY % head-content "TITLE? & ISINDEX? & LINK* & BASE? |
228 |
|
& NEXTID?"> ]]> |
229 |
|
<!ENTITY % head-content "TITLE & ISINDEX? & LINK* & BASE?"> |
230 |
|
<!ELEMENT HEAD O O (%head-content)> |
231 |
|
|
232 |
|
<![ %HTML.titleCDATA [ <!ENTITY % title-content "CDATA"> ]]> |
233 |
|
<!ENTITY % title-content "(#PCDATA)"> |
234 |
|
<!ELEMENT TITLE - - %title-content |
235 |
-- The TITLE element is not considered part of the flow of text. |
-- The TITLE element is not considered part of the flow of text. |
236 |
It should be displayed, for example as the page header or |
It should be displayed, for example as the page header or |
237 |
window title. |
window title. |
243 |
--> |
--> |
244 |
|
|
245 |
<!ELEMENT NEXTID - O EMPTY> |
<!ELEMENT NEXTID - O EMPTY> |
246 |
<!ATTLIST NEXTID N NAME #REQUIRED |
<!ATTLIST NEXTID N %anchor-name #REQUIRED |
247 |
-- The number should be a name suitable for use |
-- The number should be a name suitable for use |
248 |
for the ID of a new element. When used, the value |
for the ID of a new element. When used, the value |
249 |
has its numeric part incremented. EG Z67 becomes Z68 |
has its numeric part incremented. EG Z67 becomes Z68 |
252 |
<!ATTLIST LINK |
<!ATTLIST LINK |
253 |
%linkattributes> |
%linkattributes> |
254 |
|
|
255 |
<!ELEMENT BASE - O EMPTY -- Reference context for URLS --> |
<!ELEMENT BASE - O EMPTY -- Reference context for URIs --> |
256 |
<!ATTLIST BASE |
<!ATTLIST BASE |
257 |
|
|
258 |
HREF %URL; #IMPLIED |
HREF %URI; #REQUIRED |
259 |
|
|
260 |
> |
> |
|
<!ENTITY % inline "EM | TT | STRONG | B | I | U | |
|
|
CODE | SAMP | KBD | KEY | VAR | DFN | CITE " |
|
|
> |
|
|
|
|
|
<!ELEMENT (%inline;) - - (#PCDATA)> |
|
|
|
|
|
<!ENTITY % text "#PCDATA | IMG | %inline;"> |
|
|
|
|
|
<!ENTITY % htext "A | %text" -- Plus links, no structure --> |
|
261 |
|
|
262 |
<!ENTITY % stext -- as htext but also nested structure -- |
<![ %HTML.KEY [ |
263 |
"P | HR | %list | DL | ADDRESS |
<!ENTITY % key-emph "| KEY"> |
264 |
| PRE | BLOCKQUOTE |
]]> |
265 |
| %literal | %htext"> |
<!ENTITY % key-emph ""> |
266 |
|
|
267 |
|
<![ %HTML.U [ |
268 |
|
<!ENTITY % u-font "| U"> |
269 |
|
]]> |
270 |
|
<!ENTITY % u-font ""> |
271 |
|
|
272 |
|
<![ %HTML.phrase [ |
273 |
|
<!ENTITY % font "TT | B | I %u-font"> |
274 |
|
<!ENTITY % phrase "EM | STRONG | CODE | SAMP | KBD | VAR | DFN | CITE |
275 |
|
| STRIKE %key-emph"> |
276 |
|
|
277 |
|
|
278 |
|
<![ %HTML.font-phrase [ |
279 |
|
<!ENTITY % obsolete-font "| %font"> |
280 |
|
<!ENTITY % obsolete-phrase "| %phrase"> |
281 |
|
]]> |
282 |
|
<!ENTITY % obsolete-font ""> |
283 |
|
<!ENTITY % obsolete-phrase ""> |
284 |
|
<![ %HTML.pSeparator [ |
285 |
|
<!ENTITY % obsolete-p "| P"> |
286 |
|
]]> |
287 |
|
<!ENTITY % obsolete-p ""> |
288 |
|
|
289 |
|
<!ENTITY % inline "%phrase %obsolete-font"> |
290 |
|
<!ENTITY % pre-inline "%font %obsolete-phrase %obsolete-p"> |
291 |
|
]]> |
292 |
|
|
293 |
|
<!ENTITY % inline ""> |
294 |
|
<!ENTITY % pre-inline ""> |
295 |
|
|
296 |
<!ELEMENT BODY - - (%bodyelement|%htext;)*> |
<!ENTITY % text "#PCDATA | IMG | %inline | BR %obsolete-p"> |
297 |
|
|
298 |
|
<!ENTITY % htext "A | %text" -- Plus links, no structure --> |
299 |
|
|
300 |
<!ELEMENT A - - (%text)> |
<![ %HTML.font-phrase [ <!ENTITY % font-content "(%htext)+"> ]]> |
301 |
|
<!ENTITY % font-content "#PCDATA"> |
302 |
|
<!ELEMENT (%font;) - - (%font-content;)> |
303 |
|
|
304 |
|
<![ %HTML.phrase [ |
305 |
|
<!ELEMENT (%phrase;) - - (%htext)+> |
306 |
|
]]> |
307 |
|
|
308 |
|
<!ENTITY % pre "PRE | XMP | LISTING"> |
309 |
|
|
310 |
|
<![ %HTML.forms [ <!ENTITY % block-form "| FORM | ISINDEX"> ]]> |
311 |
|
<!ENTITY % block-form ""> |
312 |
|
|
313 |
|
<![ %HTML.pSeparator [ |
314 |
|
<!ENTITY % obsolete-htext "| %htext"> |
315 |
|
<!ENTITY % block-p ""> |
316 |
|
]]> |
317 |
|
<!ENTITY % obsolete-htext "| A"> |
318 |
|
<!ENTITY % block-p "| P "> |
319 |
|
|
320 |
|
<!ENTITY % block "HR | %list | DL |
321 |
|
| %pre | BLOCKQUOTE | ADDRESS |
322 |
|
%block-form %block-p"> |
323 |
|
|
324 |
|
|
325 |
|
<![ %HTML.bodyBlockOnly [ |
326 |
|
<!ENTITY % current-htext ""> |
327 |
|
]]> |
328 |
|
<!ENTITY % current-htext "| %htext"> |
329 |
|
|
330 |
|
<!ENTITY % body-content "%heading | %block %current-htext"> |
331 |
|
<!ELEMENT BODY O O (%body-content)*> |
332 |
|
|
333 |
|
|
334 |
|
<!ELEMENT A - - (%heading|%block|%text)+ -(A) |
335 |
|
-- @# Technically, this allows silliness like: |
336 |
|
<H2><A>xyz<H1>h1</H1></A></H2> |
337 |
|
The right way to do anchors outside of %htext is more like: |
338 |
|
<as id=z1><H2>lkjlkj</h2><ae start=z1> |
339 |
|
--> |
340 |
<!ATTLIST A |
<!ATTLIST A |
341 |
%linkattributes; |
%linkattributes; |
342 |
> |
> |
343 |
|
|
344 |
<!ELEMENT IMG - O EMPTY -- Embedded image --> |
<!ELEMENT IMG - O EMPTY -- Embedded image --> |
345 |
<!ATTLIST IMG |
<!ATTLIST IMG |
346 |
SRC %URL; #IMPLIED -- URL of document to embed -- |
SRC %URI; #IMPLIED -- URI of document to embed -- |
347 |
|
ALT CDATA #IMPLIED |
348 |
|
ALIGN (top|middle|bottom) #IMPLIED |
349 |
|
ISMAP (ISMAP) #IMPLIED |
350 |
> |
> |
351 |
|
|
352 |
|
|
353 |
<!ELEMENT P - O EMPTY -- separates paragraphs --> |
<![ %HTML.pSeparator [ <!ENTITY % p-content "EMPTY"> ]]> |
354 |
|
<!ENTITY % p-content "(%htext)+"> |
355 |
|
<!ELEMENT P - O %p-content> |
356 |
<!ELEMENT HR - O EMPTY -- horizontal rule --> |
<!ELEMENT HR - O EMPTY -- horizontal rule --> |
357 |
|
<!ELEMENT BR - O EMPTY -- @# BR -> &br; --> |
358 |
|
|
359 |
<!ELEMENT ( %heading ) - - (%htext;)+> |
<!ELEMENT ( %heading ) - - (%htext;)+> |
360 |
|
|
361 |
<!ELEMENT DL - - (DT | DD | %stext;)*> |
<!ELEMENT DL - - (DT*, DD?)+> |
362 |
<!-- Content should match ((DT,(%htext;)+)+,(DD,(%stext;)+)) |
<!ATTLIST DL |
363 |
But mixed content is messy. -Dan Connolly |
COMPACT (COMPACT) #IMPLIED> |
364 |
--> |
|
365 |
|
<!ELEMENT DT - O (%htext)+> |
366 |
<!ELEMENT DT - O EMPTY> |
<!ELEMENT DD - O (%htext|%block)+> |
|
<!ELEMENT DD - O EMPTY> |
|
|
|
|
|
<!ELEMENT (UL|OL) - - (%htext;|LI|P)+> |
|
|
<!ELEMENT (DIR|MENU) - - (%htext;|LI)+> |
|
|
<!-- Content should match ((LI,(%htext;)+)+) |
|
|
But mixed content is messy. |
|
|
--> |
|
|
<!ATTLIST (%list) |
|
|
COMPACT NAME #IMPLIED -- COMPACT, etc.-- |
|
|
> |
|
367 |
|
|
368 |
<!ELEMENT LI - O EMPTY> |
<!ELEMENT (%list) - - (LI)+> |
369 |
|
|
370 |
<!ELEMENT BLOCKQUOTE - - (%htext;|P)+ |
<!ELEMENT LI - O (%htext|%block)+> |
371 |
|
|
372 |
|
<!ELEMENT BLOCKQUOTE - - (%htext|%block)+ -- @# Hmm... -- |
373 |
-- for quoting some other source --> |
-- for quoting some other source --> |
374 |
|
|
375 |
<!ELEMENT ADDRESS - - (%htext;|P)+> |
<!ELEMENT ADDRESS - - (%htext;|%block)+> |
376 |
|
|
377 |
<!ELEMENT PRE - - (#PCDATA|%inline|A|P)+> |
<!ELEMENT PRE - - (#PCDATA|%pre-inline|A)+> |
378 |
<!ATTLIST PRE |
<!ATTLIST PRE |
379 |
WIDTH NUMBER #implied |
WIDTH NUMBER #implied |
380 |
> |
> |
381 |
|
|
382 |
<!-- Mnemonic character entities. --> |
<!-- Mnemonic character entities. --> |
|
<!ENTITY AElig "Æ" -- capital AE diphthong (ligature) --> |
|
|
<!ENTITY Aacute "Á" -- capital A, acute accent --> |
|
|
<!ENTITY Acirc "Â" -- capital A, circumflex accent --> |
|
|
<!ENTITY Agrave "À" -- capital A, grave accent --> |
|
|
<!ENTITY Aring "Å" -- capital A, ring --> |
|
|
<!ENTITY Atilde "Ã" -- capital A, tilde --> |
|
|
<!ENTITY Auml "Ä" -- capital A, dieresis or umlaut mark --> |
|
|
<!ENTITY Ccedil "Ç" -- capital C, cedilla --> |
|
|
<!ENTITY ETH "Ð" -- capital Eth, Icelandic --> |
|
|
<!ENTITY Eacute "É" -- capital E, acute accent --> |
|
|
<!ENTITY Ecirc "Ê" -- capital E, circumflex accent --> |
|
|
<!ENTITY Egrave "È" -- capital E, grave accent --> |
|
|
<!ENTITY Euml "Ë" -- capital E, dieresis or umlaut mark --> |
|
|
<!ENTITY Iacute "Í" -- capital I, acute accent --> |
|
|
<!ENTITY Icirc "Î" -- capital I, circumflex accent --> |
|
|
<!ENTITY Igrave "Ì" -- capital I, grave accent --> |
|
|
<!ENTITY Iuml "Ï" -- capital I, dieresis or umlaut mark --> |
|
|
<!ENTITY Ntilde "Ñ" -- capital N, tilde --> |
|
|
<!ENTITY Oacute "Ó" -- capital O, acute accent --> |
|
|
<!ENTITY Ocirc "Ô" -- capital O, circumflex accent --> |
|
|
<!ENTITY Ograve "Ò" -- capital O, grave accent --> |
|
|
<!ENTITY Oslash "Ø" -- capital O, slash --> |
|
|
<!ENTITY Otilde "Õ" -- capital O, tilde --> |
|
|
<!ENTITY Ouml "Ö" -- capital O, dieresis or umlaut mark --> |
|
|
<!ENTITY THORN "Þ" -- capital THORN, Icelandic --> |
|
|
<!ENTITY Uacute "Ú" -- capital U, acute accent --> |
|
|
<!ENTITY Ucirc "Û" -- capital U, circumflex accent --> |
|
|
<!ENTITY Ugrave "Ù" -- capital U, grave accent --> |
|
|
<!ENTITY Uuml "Ü" -- capital U, dieresis or umlaut mark --> |
|
|
<!ENTITY Yacute "Ý" -- capital Y, acute accent --> |
|
|
<!ENTITY aacute "á" -- small a, acute accent --> |
|
|
<!ENTITY acirc "â" -- small a, circumflex accent --> |
|
|
<!ENTITY aelig "æ" -- small ae diphthong (ligature) --> |
|
|
<!ENTITY agrave "à" -- small a, grave accent --> |
|
|
<!ENTITY amp "&" -- ampersand --> |
|
|
<!ENTITY aring "å" -- small a, ring --> |
|
|
<!ENTITY atilde "ã" -- small a, tilde --> |
|
|
<!ENTITY auml "ä" -- small a, dieresis or umlaut mark --> |
|
|
<!ENTITY ccedil "ç" -- small c, cedilla --> |
|
|
<!ENTITY eacute "é" -- small e, acute accent --> |
|
|
<!ENTITY ecirc "ê" -- small e, circumflex accent --> |
|
|
<!ENTITY egrave "è" -- small e, grave accent --> |
|
|
<!ENTITY eth "ð" -- small eth, Icelandic --> |
|
|
<!ENTITY euml "ë" -- small e, dieresis or umlaut mark --> |
|
|
<!ENTITY gt ">" -- greater than --> |
|
|
<!ENTITY iacute "í" -- small i, acute accent --> |
|
|
<!ENTITY icirc "î" -- small i, circumflex accent --> |
|
|
<!ENTITY igrave "ì" -- small i, grave accent --> |
|
|
<!ENTITY iuml "ï" -- small i, dieresis or umlaut mark --> |
|
|
<!ENTITY lt "<" -- less than --> |
|
|
<!ENTITY nbsp " " -- should be NON_BREAKING space --> |
|
|
<!ENTITY ntilde "ñ" -- small n, tilde --> |
|
|
<!ENTITY oacute "ó" -- small o, acute accent --> |
|
|
<!ENTITY ocirc "ô" -- small o, circumflex accent --> |
|
|
<!ENTITY ograve "ò" -- small o, grave accent --> |
|
|
<!ENTITY oslash "ø" -- small o, slash --> |
|
|
<!ENTITY otilde "õ" -- small o, tilde --> |
|
|
<!ENTITY ouml "ö" -- small o, dieresis or umlaut mark --> |
|
|
<!ENTITY szlig "ß" -- small sharp s, German (sz ligature) --> |
|
|
<!ENTITY thorn "þ" -- small thorn, Icelandic --> |
|
|
<!ENTITY uacute "ú" -- small u, acute accent --> |
|
|
<!ENTITY ucirc "û" -- small u, circumflex accent --> |
|
|
<!ENTITY ugrave "ù" -- small u, grave accent --> |
|
|
<!ENTITY uuml "ü" -- small u, dieresis or umlaut mark --> |
|
|
<!ENTITY yacute "ý" -- small y, acute accent --> |
|
|
<!ENTITY yuml "ÿ" -- small y, dieresis or umlaut mark --> |
|
|
|
|
|
<!-- deprecated elements --> |
|
383 |
|
|
384 |
<!ELEMENT (%literal) - - CDATA> |
<!ENTITY % ISOlat1 PUBLIC |
385 |
|
"ISO 8879:1986//ENTITIES Added Latin 1//EN"> |
386 |
|
%ISOlat1; |
387 |
|
|
388 |
|
<!ENTITY #DEFAULT SDATA "&unkown;" --display the markup--> |
389 |
|
<!ENTITY amp CDATA "&" -- ampersand --> |
390 |
|
<!ENTITY gt CDATA ">" -- greater than --> |
391 |
|
<!ENTITY lt CDATA "<" -- less than --> |
392 |
|
<!ENTITY quot CDATA """ -- double quote --> |
393 |
|
|
394 |
|
<!-- Processing Entities --> |
395 |
|
|
396 |
|
<!ENTITY nbsp "<? nonbreaking-space>"> |
397 |
|
<!-- @# should add entites for processing instructions |
398 |
|
for line break, centering, etc. --> |
399 |
|
|
400 |
|
|
401 |
|
<!-- Forms --> |
402 |
|
<![ %HTML.forms [ |
403 |
|
|
404 |
|
<!ENTITY % HTTP-Method "(GET | POST)"> |
405 |
|
<!ELEMENT FORM - - (%body-content)* -(FORM) +(INPUT|SELECT|TEXTAREA)> |
406 |
|
<!ATTLIST FORM |
407 |
|
ACTION %URI #REQUIRED |
408 |
|
METHOD %HTTP-Method #IMPLIED -- @# MAILTO? -- |
409 |
|
ENCTYPE %Content-Type; #IMPLIED |
410 |
|
> |
411 |
|
|
412 |
|
<!ENTITY % InputType "(TEXT | PASSWORD | CHECKBOX | |
413 |
|
RADIO | SUBMIT | RESET | |
414 |
|
IMAGE | HIDDEN )"> |
415 |
|
<!ELEMENT INPUT - O EMPTY> |
416 |
|
<!ATTLIST INPUT |
417 |
|
TYPE %InputType #IMPLIED -- @# defaults to TEXT?? -- |
418 |
|
NAME CDATA #IMPLIED -- required for all but submit and reset -- |
419 |
|
VALUE CDATA #IMPLIED |
420 |
|
SRC %URI #IMPLIED -- for image inputs -- |
421 |
|
CHECKED (CHECKED) #IMPLIED |
422 |
|
SIZE CDATA #IMPLIED -- @# should be NUMBERS: delimit with space, not comma -- |
423 |
|
MAXLENGTH NUMBER #IMPLIED |
424 |
|
ALIGN (top|middle|bottom|left|center|right) #IMPLIED --@#supported?-- |
425 |
|
> |
426 |
|
|
427 |
|
<!ELEMENT SELECT - - (OPTION+)> |
428 |
|
<!ATTLIST SELECT |
429 |
|
NAME CDATA #REQUIRED |
430 |
|
SIZE NUMBER #IMPLIED |
431 |
|
MULTIPLE (MULTIPLE) #IMPLIED |
432 |
|
> |
433 |
|
|
434 |
|
<!ELEMENT OPTION - O (#PCDATA)> |
435 |
|
<!ATTLIST OPTION |
436 |
|
SELECTED (SELECTED) #IMPLIED |
437 |
|
VALUE CDATA #IMPLIED |
438 |
|
> |
439 |
|
|
440 |
|
<!ELEMENT TEXTAREA - - (#PCDATA)> |
441 |
|
<!ATTLIST TEXTAREA |
442 |
|
NAME CDATA #REQUIRED |
443 |
|
ROWS NUMBER #REQUIRED -- @#implied? -- |
444 |
|
COLS NUMBER #REQUIRED |
445 |
|
> |
446 |
|
]]> |
447 |
|
|
448 |
|
<!-- Obsolete Elements --> |
449 |
|
|
450 |
|
<![ %HTML.litCDATA [ <!ENTITY % lit-content "CDATA"> ]]> |
451 |
|
<!ENTITY % lit-content "RCDATA"> |
452 |
|
<!ELEMENT (%literal) - - %lit-content> |
453 |
|
|
454 |
|
<![ %HTML.PLAINTEXT [ |
455 |
<!ELEMENT PLAINTEXT - O EMPTY> |
<!ELEMENT PLAINTEXT - O EMPTY> |
456 |
|
]]> |
|
<!-- Local Variables: --> |
|
|
<!-- mode: sgml --> |
|
|
<!-- compile-command: "sgmls -s -p " --> |
|
|
<!-- end: --> |
|
|
]> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|