6 |
$Id$ |
$Id$ |
7 |
--> |
--> |
8 |
|
|
9 |
|
<!-- Feature Test Entities --> |
10 |
|
|
11 |
|
<!-- To use these, write your document like: |
12 |
|
<!DOCTYPE HTML [ |
13 |
|
<!ENTITY % HTML.Optional "INCLUDE"> |
14 |
|
<!ENTITY % html PUBLIC "-//connolly hal.com//DTD WWW HTML 1.8//EN"> |
15 |
|
%html; |
16 |
|
]> |
17 |
|
<TITLE>Here's my doc</TITLE> |
18 |
|
<p>It uses lots of optional features |
19 |
|
|
20 |
|
In practice, if you're using sgmls to validate your docs, |
21 |
|
you can stick the <!DOCTYPE [...]> in a separate file and |
22 |
|
validate with: |
23 |
|
sgmls -s doctype.sgml foo.html |
24 |
|
--> |
25 |
|
|
26 |
|
<!ENTITY % HTML.Minimal "IGNORE"> |
27 |
|
<!ENTITY % HTML.Obsolete "IGNORE"> |
28 |
|
|
29 |
|
<![ %HTML.Minimal [ |
30 |
|
<!ENTITY % HTML.linkRelationships "IGNORE"> |
31 |
|
<!ENTITY % HTML.linkMethods "IGNORE"> |
32 |
|
<!ENTITY % HTML.linkRedundantInfo "IGNORE"> |
33 |
|
<!ENTITY % HTML.forms "IGNORE"> |
34 |
|
<!-- @@ nested lists --> |
35 |
|
<!-- @@ phrases --> |
36 |
|
]]> |
37 |
|
|
38 |
|
<![ %HTML.Obsolete [ |
39 |
|
<!ENTITY % HTML.PLAINTEXT "INCLUDE"> |
40 |
|
<!ENTITY % HTML.titleCDATA "INCLUDE"> |
41 |
|
<!ENTITY % HTML.litCDATA "INCLUDE"> |
42 |
|
<!ENTITY % HTML.NEXTID "INCLUDE"> |
43 |
|
<!ENTITY % HTML.font-phrase "INCLUDE"> |
44 |
|
<!ENTITY % HTML.anchorNameCDATA "INCLUDE"> |
45 |
|
<!ENTITY % HTML.pSeparator "INCLUDE"> |
46 |
|
]]> |
47 |
|
|
48 |
|
<!ENTITY % HTML.pSeparator "IGNORE" |
49 |
|
-- use P element as paragraph separator, rather that container. |
50 |
|
This means not all paragraphs need to start with a <P> tag. |
51 |
|
--> |
52 |
|
|
53 |
|
<!ENTITY % HTML.linkRelationships "INCLUDE" |
54 |
|
-- Adding markup to links to show the relationship between |
55 |
|
ends of a link |
56 |
|
see http://info.cern.ch/hypertext/WWW/MarkUp/Relationships.html |
57 |
|
--> |
58 |
|
|
59 |
|
<!ENTITY % HTML.linkMethods "INCLUDE" |
60 |
|
-- Adding markup to links to show the methods supported |
61 |
|
by the referent object |
62 |
|
see http://info.cern.ch/hypertext/WWW/MarkUp/Elements/A.html |
63 |
|
--> |
64 |
|
|
65 |
|
<!ENTITY % HTML.linkRedundantInfo "INCLUDE" |
66 |
|
-- Adding markup to links to give redundant information |
67 |
|
like URN, content type, title... |
68 |
|
--> |
69 |
|
|
70 |
|
<!ENTITY % HTML.anchorNameCDATA "IGNORE" |
71 |
|
-- Anchor names should be distinct. SGML parser can validate |
72 |
|
this if the NAME attribute of the A element is declared as ID. |
73 |
|
But that restricts the syntax of an anchor name to an SGML name, |
74 |
|
i.e. a letter followed by letters, numbers, periods and dashes, |
75 |
|
up to NAMELEN (34) characters long. |
76 |
|
--> |
77 |
|
|
78 |
|
<!ENTITY % HTML.PLAINTEXT "IGNORE" |
79 |
|
-- Support for the <PLAINTEXT> tag as a sign of the |
80 |
|
end of th HTML data stream and the beginning of a stream |
81 |
|
of text/plain data |
82 |
|
--> |
83 |
|
|
84 |
|
<!ENTITY % HTML.titleCDATA "IGNORE" |
85 |
|
-- Is the TITLE element #PCDATA, RCDATA, or CDATA content? |
86 |
|
On Mosaic, it's #PCDATA, but in the linemode browser, |
87 |
|
it's more like CDATA, but not quite. |
88 |
|
--> |
89 |
|
|
90 |
|
<!ENTITY % HTML.NEXTID "IGNORE" |
91 |
|
-- Used by the NeXT implementation to keep track of the |
92 |
|
next anchor id to use |
93 |
|
--> |
94 |
|
|
95 |
|
<!ENTITY % HTML.font-phrase "IGNORE" |
96 |
|
-- allow B, I, TT, U outside PRE, |
97 |
|
CITE, VAR, etc. inside PRE |
98 |
|
--> |
99 |
|
|
100 |
|
<!ENTITY % HTML.litCDATA "IGNORE" |
101 |
|
-- treat XMP, LISTING as CDATA, as per linemodeWWW |
102 |
|
--> |
103 |
|
|
104 |
|
<!ENTITY % HTML.forms "INCLUDE" |
105 |
|
-- Support for forms as per |
106 |
|
http://www.ncsa.uiuc.edu/SDG/Software/Mosaic/Docs/fill-out-forms/overview.html |
107 |
|
--> |
108 |
|
|
109 |
<!-- DTD definitions --> |
<!-- DTD definitions --> |
110 |
|
|
111 |
<!ENTITY % heading "H1|H2|H3|H4|H5|H6" > |
<!ENTITY % heading "H1|H2|H3|H4|H5|H6" > |
112 |
<!ENTITY % list " UL | OL | DIR | MENU "> |
<!ENTITY % list " UL | OL | DIR | MENU "> |
113 |
<!ENTITY % literal " XMP | LISTING "> |
<!ENTITY % literal " XMP | LISTING "> |
114 |
|
|
115 |
<!ENTITY % headelement |
<!ENTITY % URI "CDATA" |
116 |
" TITLE | NEXTID |ISINDEX" > |
-- The term URI means a CDATA attribute |
117 |
|
whose value is a Uniform Resource Identifier, |
118 |
<!ENTITY % bodyelement |
as defined by |
119 |
"P | HR | %heading | |
"Universal Resource Identifiers" by Tim Berners-Lee |
120 |
%list | DL | ADDRESS | PRE | BLOCKQUOTE |
aka http://info.cern.ch/hypertext/WWW/Addressing/URL/URI_Overview.html |
121 |
| %literal"> |
|
122 |
|
Note that CDATA attributes are limited by the LITLEN |
123 |
<!ENTITY % oldstyle "%headelement | %bodyelement | #PCDATA"> |
capacity (1024 in the current version of html.decl), |
124 |
|
so that URIs in HTML have a bounded length. |
|
<!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.) |
|
125 |
--> |
--> |
126 |
|
|
127 |
<!ENTITY % linkattributes |
<!ENTITY % Content-Type "CDATA" |
128 |
"NAME NMTOKEN #IMPLIED |
-- meaning a MIME content type, as per RFC1341 or any of its updates. |
129 |
HREF %URL; #IMPLIED |
--> |
130 |
|
|
131 |
|
<![ %HTML.anchorNameCDATA [ <!ENTITY % anchor-name "CDATA"> ]]> |
132 |
|
<!ENTITY % anchor-name "ID"> |
133 |
|
|
134 |
|
<![ %HTML.linkRelationships [ <!ENTITY % linkRelAttrs " |
135 |
REL CDATA #IMPLIED -- forward relationship type -- |
REL CDATA #IMPLIED -- forward relationship type -- |
136 |
REV CDATA #IMPLIED -- reversed relationship type |
REV CDATA #IMPLIED -- reversed relationship type |
137 |
to referent data: |
to referent data: |
138 |
|
|
139 |
PARENT CHILD, SIBLING, NEXT, TOP, |
PARENT CHILD, SIBLING, NEXT, TOP, |
140 |
DEFINITION, UPDATE, ORIGINAL etc. -- |
DEFINITION, UPDATE, ORIGINAL etc. -- |
141 |
|
"> ]]> |
142 |
|
<!ENTITY % linkRelAttrs ""> |
143 |
|
|
144 |
|
<![ %HTML.linkRedundantInfo [ <!ENTITY % linkRedundantAttrs " |
145 |
URN CDATA #IMPLIED -- universal resource number -- |
URN CDATA #IMPLIED -- universal resource number -- |
146 |
|
|
147 |
TITLE CDATA #IMPLIED -- advisory only -- |
TITLE CDATA #IMPLIED -- advisory only -- |
148 |
|
"> ]]> |
149 |
|
<!ENTITY % linkRedundantAttrs ""> |
150 |
|
|
151 |
|
<![ %HTML.linkMethods [ <!ENTITY % linkMethodAttrs " |
152 |
METHODS NAMES #IMPLIED -- supported public methods of the object: |
METHODS NAMES #IMPLIED -- supported public methods of the object: |
153 |
TEXTSEARCH, GET, HEAD, ... -- |
TEXTSEARCH, GET, HEAD, ... -- |
154 |
|
"> ]]> |
155 |
|
<!ENTITY % linkMethodAttrs ""> |
156 |
|
|
157 |
|
<!ENTITY % linkattributes |
158 |
|
"NAME %anchor-name #IMPLIED |
159 |
|
HREF %URI; #IMPLIED |
160 |
|
%linkRelAttrs; |
161 |
|
%linkRedundantAttrs; |
162 |
|
%linkMethodAttrs; |
163 |
"> |
"> |
164 |
|
|
165 |
|
|
166 |
<!-- Document Element --> |
<!-- Document Element --> |
167 |
|
|
|
<!ELEMENT HTML O O (( HEAD | BODY | %oldstyle )*, PLAINTEXT?)> |
|
|
|
|
|
<!ELEMENT HEAD - - ( TITLE? & ISINDEX? & NEXTID? & LINK* |
|
|
& BASE?)> |
|
168 |
|
|
169 |
<!ELEMENT TITLE - - RCDATA |
<![ %HTML.PLAINTEXT [ <!ENTITY % html-content "(HEAD, BODY), PLAINTEXT?"> ]]> |
170 |
|
<!ENTITY % html-content "HEAD, BODY"> |
171 |
|
<!ELEMENT HTML O O (%html-content)> |
172 |
|
|
173 |
|
<![ %HTML.NEXTID [ <!ENTITY % head-content "TITLE? & ISINDEX? & LINK* & BASE? |
174 |
|
& NEXTID?"> ]]> |
175 |
|
<!ENTITY % head-content "TITLE & ISINDEX? & LINK* & BASE?"> |
176 |
|
<!ELEMENT HEAD O O (%head-content)> |
177 |
|
|
178 |
|
<![ %HTML.titleCDATA [ <!ENTITY % title-content "CDATA"> ]]> |
179 |
|
<!ENTITY % title-content "(#PCDATA)"> |
180 |
|
<!ELEMENT TITLE - - %title-content |
181 |
-- The TITLE element is not considered part of the flow of text. |
-- The TITLE element is not considered part of the flow of text. |
182 |
It should be displayed, for example as the page header or |
It should be displayed, for example as the page header or |
183 |
window title. |
window title. |
189 |
--> |
--> |
190 |
|
|
191 |
<!ELEMENT NEXTID - O EMPTY> |
<!ELEMENT NEXTID - O EMPTY> |
192 |
<!ATTLIST NEXTID N NAME #REQUIRED |
<!ATTLIST NEXTID N %anchor-name #REQUIRED |
193 |
-- The number should be a name suitable for use |
-- The number should be a name suitable for use |
194 |
for the ID of a new element. When used, the value |
for the ID of a new element. When used, the value |
195 |
has its numeric part incremented. EG Z67 becomes Z68 |
has its numeric part incremented. EG Z67 becomes Z68 |
198 |
<!ATTLIST LINK |
<!ATTLIST LINK |
199 |
%linkattributes> |
%linkattributes> |
200 |
|
|
201 |
<!ELEMENT BASE - O EMPTY -- Reference context for URLS --> |
<!ELEMENT BASE - O EMPTY -- Reference context for URIs --> |
202 |
<!ATTLIST BASE |
<!ATTLIST BASE |
203 |
|
|
204 |
HREF %URL; #IMPLIED |
HREF %URI; #IMPLIED |
205 |
|
|
206 |
> |
> |
|
<!ENTITY % inline "EM | TT | STRONG | B | I | U | |
|
|
CODE | SAMP | KBD | KEY | VAR | DFN | CITE " |
|
|
> |
|
207 |
|
|
208 |
<!ELEMENT (%inline;) - - (#PCDATA)> |
<!ENTITY % font "TT | B | I | U "> |
209 |
|
<!ENTITY % phrase "EM | STRONG | CODE | SAMP | KBD | KEY | VAR | DFN | CITE"> |
210 |
|
|
211 |
<!ENTITY % text "#PCDATA | IMG | %inline;"> |
<![ %HTML.font-phrase [ |
212 |
|
<!ENTITY % obsolete-font "| %font"> |
213 |
|
<!ENTITY % obsolete-phrase "| %phrase"> |
214 |
|
]]> |
215 |
|
<!ENTITY % obsolete-font ""> |
216 |
|
<!ENTITY % obsolete-phrase ""> |
217 |
|
<![ %HTML.pSeparator [ |
218 |
|
<!ENTITY % obsolete-p "| P"> |
219 |
|
]]> |
220 |
|
<!ENTITY % obsolete-p ""> |
221 |
|
|
222 |
|
<!ENTITY % inline "%phrase %obsolete-font"> |
223 |
|
<!ENTITY % pre-inline "%font %obsolete-phrase %obsolete-p"> |
224 |
|
|
225 |
|
<!ENTITY % text "#PCDATA | IMG | %inline | BR %obsolete-p"> |
226 |
|
|
227 |
<!ENTITY % htext "A | %text" -- Plus links, no structure --> |
<!ENTITY % htext "A | %text" -- Plus links, no structure --> |
228 |
|
|
229 |
<!ENTITY % stext -- as htext but also nested structure -- |
<![ %HTML.font-phrase [ <!ENTITY % font-content "(%htext)+"> ]]> |
230 |
"P | HR | %list | DL | ADDRESS |
<!ENTITY % font-content "#PCDATA"> |
231 |
| PRE | BLOCKQUOTE |
<!ELEMENT (%font;) - - (%font-content;)> |
232 |
| %literal | %htext"> |
|
233 |
|
<!ELEMENT (%phrase;) - - (%htext)+> |
234 |
|
|
235 |
|
<!ENTITY % pre "PRE | XMP | LISTING"> |
236 |
|
|
237 |
<!ELEMENT BODY - - (%bodyelement|%htext;)*> |
<![ %HTML.forms [ <!ENTITY % block-form "| FORM"> ]]> |
238 |
|
<!ENTITY % block-form ""> |
239 |
|
|
240 |
|
<![ %HTML.pSeparator [ |
241 |
|
<!ENTITY % obsolete-htext "| %htext"> |
242 |
|
<!ENTITY % block-p ""> |
243 |
|
]]> |
244 |
|
<!ENTITY % obsolete-htext "| A"> |
245 |
|
<!ENTITY % block-p "| P "> |
246 |
|
|
247 |
<!ELEMENT A - - (%text)> |
<!ENTITY % block "HR | %list | DL |
248 |
|
| %pre | BLOCKQUOTE | ADDRESS |
249 |
|
%block-form %block-p"> |
250 |
|
|
251 |
|
|
252 |
|
<!ENTITY % body-content "%heading | %block %obsolete-htext"> |
253 |
|
<!ELEMENT BODY O O (%body-content)*> |
254 |
|
|
255 |
|
|
256 |
|
<!ELEMENT A - - (%heading|%block|%text)+ -(A) |
257 |
|
-- @# Technically, this allows silliness like: |
258 |
|
<H2><A>xyz<H1>h1</H1></A></H2> |
259 |
|
The right way to do anchors outside of %htext is more like: |
260 |
|
<as id=z1><H2>lkjlkj</h2><ae start=z1> |
261 |
|
--> |
262 |
<!ATTLIST A |
<!ATTLIST A |
263 |
%linkattributes; |
%linkattributes; |
264 |
> |
> |
265 |
|
|
266 |
<!ELEMENT IMG - O EMPTY -- Embedded image --> |
<!ELEMENT IMG - O EMPTY -- Embedded image --> |
267 |
<!ATTLIST IMG |
<!ATTLIST IMG |
268 |
SRC %URL; #IMPLIED -- URL of document to embed -- |
SRC %URI; #IMPLIED -- URI of document to embed -- |
269 |
|
ALT CDATA #IMPLIED |
270 |
|
ALIGN (top|middle|bottom) #IMPLIED |
271 |
|
ISMAP (ISMAP) #IMPLIED |
272 |
> |
> |
273 |
|
|
274 |
|
|
275 |
<!ELEMENT P - O EMPTY -- separates paragraphs --> |
<![ %HTML.pSeparator [ <!ENTITY % p-content "EMPTY"> ]]> |
276 |
|
<!ENTITY % p-content "(%htext)+"> |
277 |
|
<!ELEMENT P - O %p-content> |
278 |
<!ELEMENT HR - O EMPTY -- horizontal rule --> |
<!ELEMENT HR - O EMPTY -- horizontal rule --> |
279 |
|
<!ELEMENT BR - O EMPTY -- @# BR -> &br; --> |
280 |
|
|
281 |
<!ELEMENT ( %heading ) - - (%htext;)+> |
<!ELEMENT ( %heading ) - - (%htext;)+> |
282 |
|
|
283 |
<!ELEMENT DL - - (DT | DD | %stext;)*> |
<!ELEMENT DL - - (DT*, DD?)+> |
284 |
<!-- Content should match ((DT,(%htext;)+)+,(DD,(%stext;)+)) |
<!ATTLIST DL |
285 |
But mixed content is messy. -Dan Connolly |
STYLE (COMPACT) #IMPLIED> |
286 |
--> |
|
287 |
|
<!ELEMENT DT - O (%htext)+> |
288 |
<!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.-- |
|
|
> |
|
289 |
|
|
290 |
<!ELEMENT LI - O EMPTY> |
<!ELEMENT (%list) - - (LI)+> |
291 |
|
|
292 |
<!ELEMENT BLOCKQUOTE - - (%htext;|P)+ |
<!ELEMENT LI - O (%htext|%block)+> |
293 |
|
|
294 |
|
<!ELEMENT BLOCKQUOTE - - ((%htext)+, ADDRESS?)+ -- @# Hmm... -- |
295 |
-- for quoting some other source --> |
-- for quoting some other source --> |
296 |
|
|
297 |
<!ELEMENT ADDRESS - - (%htext;|P)+> |
<!ELEMENT ADDRESS - - (%htext;)+> |
298 |
|
|
299 |
<!ELEMENT PRE - - (#PCDATA|%inline|A|P)+> |
<!ELEMENT PRE - - (#PCDATA|%pre-inline|A)+> |
300 |
<!ATTLIST PRE |
<!ATTLIST PRE |
301 |
WIDTH NUMBER #implied |
WIDTH NUMBER #implied |
302 |
> |
> |
303 |
|
|
304 |
<!-- Mnemonic character entities. --> |
<!-- Mnemonic character entities. --> |
305 |
<!ENTITY AElig "Æ" -- capital AE diphthong (ligature) --> |
|
306 |
<!ENTITY Aacute "Á" -- capital A, acute accent --> |
<!ENTITY % ISOlat1 PUBLIC |
307 |
<!ENTITY Acirc "Â" -- capital A, circumflex accent --> |
"ISO 8879:1986//ENTITIES Added Latin 1//EN"> |
308 |
<!ENTITY Agrave "À" -- capital A, grave accent --> |
%ISOlat1; |
309 |
<!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 --> |
|
310 |
<!ENTITY amp "&" -- ampersand --> |
<!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 --> |
|
311 |
<!ENTITY gt ">" -- greater than --> |
<!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 --> |
|
312 |
<!ENTITY lt "<" -- less than --> |
<!ENTITY lt "<" -- less than --> |
313 |
<!ENTITY nbsp " " -- should be NON_BREAKING space --> |
<!ENTITY nbsp "<? nonbreaking-space>"> |
314 |
<!ENTITY ntilde "ñ" -- small n, tilde --> |
<!-- @# should add entites for processing instructions |
315 |
<!ENTITY oacute "ó" -- small o, acute accent --> |
for line break, centering, etc. --> |
|
<!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 --> |
|
316 |
|
|
|
<!-- deprecated elements --> |
|
317 |
|
|
318 |
<!ELEMENT (%literal) - - CDATA> |
<![ %HTML.litCDATA [ <!ENTITY % lit-content "CDATA"> ]]> |
319 |
|
<!ENTITY % lit-content "RCDATA"> |
320 |
|
<!ELEMENT (%literal) - - %lit-content> |
321 |
|
|
322 |
|
<![ %HTML.PLAINTEXT [ |
323 |
<!ELEMENT PLAINTEXT - O EMPTY> |
<!ELEMENT PLAINTEXT - O EMPTY> |
324 |
|
]]> |
325 |
|
|
326 |
|
|
327 |
|
<!-- Forms --> |
328 |
|
<![ %HTML.forms [ |
329 |
|
|
330 |
|
<!ENTITY % HTTP-Method "(GET | POST)"> |
331 |
|
<!ELEMENT FORM - - (%body-content) -(FORM) +(INPUT|SELECT|TEXTAREA)> |
332 |
|
<!ATTLIST FORM |
333 |
|
ACTION %URI #REQUIRED |
334 |
|
METHOD %HTTP-Method #IMPLIED -- @# MAILTO? -- |
335 |
|
ENCTYPE %Content-Type; #IMPLIED |
336 |
|
> |
337 |
|
|
338 |
|
<!ENTITY % InputType "(TEXT | PASSWORD | CHECKBOX | |
339 |
|
RADIO | SUBMIT | RESET | |
340 |
|
IMAGE | HIDDEN )"> |
341 |
|
<!ELEMENT INPUT - O EMPTY> |
342 |
|
<!ATTLIST INPUT |
343 |
|
TYPE %InputType #IMPLIED -- @# defaults to TEXT?? -- |
344 |
|
NAME CDATA #IMPLIED -- required for all but submit and reset -- |
345 |
|
VALUE CDATA #IMPLIED |
346 |
|
SRC %URI #IMPLIED -- for image inputs -- |
347 |
|
STATE (CHECKED) #IMPLIED |
348 |
|
SIZE CDATA #IMPLIED -- @# should be NUMBERS: delimit with space, not comma -- |
349 |
|
MAXLENGTH NUMBER #IMPLIED |
350 |
|
ALIGN (top|middle|bottom|left|center|right) #IMPLIED --@#supported?-- |
351 |
|
> |
352 |
|
|
353 |
|
<!ELEMENT SELECT - - (OPTION+)> |
354 |
|
<!ATTLIST SELECT |
355 |
|
NAME CDATA #REQUIRED |
356 |
|
SIZE NUMBER #IMPLIED |
357 |
|
SELECTIONS (MULTIPLE) #IMPLIED |
358 |
|
> |
359 |
|
|
360 |
|
<!ELEMENT OPTION - O (#PCDATA)> |
361 |
|
<!ATTLIST OPTION |
362 |
|
STATE (SELECTED) #IMPLIED |
363 |
|
VALUE CDATA #IMPLIED |
364 |
|
> |
365 |
|
|
366 |
|
<!ELEMENT TEXTAREA - - (#PCDATA)> |
367 |
|
<!ATTLIST TEXTAREA |
368 |
|
NAME CDATA #REQUIRED |
369 |
|
ROWS NUMBER #REQUIRED -- @#implied? -- |
370 |
|
COLS NUMBER #REQUIRED |
371 |
|
> |
372 |
|
]]> |
373 |
|
|
|
<!-- Local Variables: --> |
|
|
<!-- mode: sgml --> |
|
|
<!-- compile-command: "sgmls -s -p " --> |
|
|
<!-- end: --> |
|