author | erikj |
Tue, 12 Sep 2017 19:03:39 +0200 | |
changeset 47216 | 71c04702a3d5 |
parent 23010 | jdk/make/data/dtdbuilder/html32.dtd@6dadb192ad81 |
permissions | -rw-r--r-- |
2 | 1 |
<!-- |
23010
6dadb192ad81
8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013
lana
parents:
21805
diff
changeset
|
2 |
Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. |
2 | 3 |
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 |
||
5 |
This code is free software; you can redistribute it and/or modify it |
|
6 |
under the terms of the GNU General Public License version 2 only, as |
|
5506 | 7 |
published by the Free Software Foundation. Oracle designates this |
2 | 8 |
particular file as subject to the "Classpath" exception as provided |
5506 | 9 |
by Oracle in the LICENSE file that accompanied this code. |
2 | 10 |
|
11 |
This code is distributed in the hope that it will be useful, but WITHOUT |
|
12 |
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
13 |
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
14 |
version 2 for more details (a copy is included in the LICENSE file that |
|
15 |
accompanied this code). |
|
16 |
||
17 |
You should have received a copy of the GNU General Public License version |
|
18 |
2 along with this work; if not, write to the Free Software Foundation, |
|
19 |
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
20 |
||
5506 | 21 |
Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
22 |
or visit www.oracle.com if you need additional information or have any |
|
23 |
questions. |
|
2 | 24 |
--> |
25 |
||
26 |
<!-- |
|
27 |
W3C Document Type Definition for the HyperText Markup Language |
|
28 |
This version is code named Wilbur, and also as "HTML 3.2". |
|
29 |
||
30 |
Draft: Tuesday August 21st 1996 |
|
31 |
||
32 |
Author: Dave Raggett <dsr@w3.org> |
|
33 |
||
34 |
This is subject to change, pending final approval by the W3C |
|
35 |
member companies. |
|
36 |
||
37 |
HTML 3.2 aims to capture recommended practice as of early '96 |
|
38 |
and as such to be used as a replacement for HTML 2.0 (RFC 1866). |
|
39 |
Widely deployed rendering attributes are included where they |
|
40 |
have been shown to be interoperable. SCRIPT and STYLE are |
|
41 |
included to smooth the introduction of client-side scripts |
|
42 |
and style sheets. Browsers must avoid showing the contents |
|
43 |
of these element Otherwise support for them is not required. |
|
44 |
ID, CLASS and STYLE attributes are not included in this version |
|
45 |
of HTML. |
|
46 |
||
47 |
The next version of HTML after Wilbur is code named Cougar and |
|
48 |
will add support for <OBJECT>, client-side scripting, style |
|
49 |
sheets, and extensions to fill-out forms. |
|
50 |
--> |
|
51 |
||
52 |
<!-- HotJava modifications by Steve Byrne, 9/13/1996 --> |
|
53 |
||
54 |
<!ENTITY % HTML.Version |
|
55 |
"-//HotJava//DTD HotJava 1.0 HTML 3.2 Draft 19960821//EN" |
|
56 |
||
57 |
-- Typical usage: |
|
58 |
||
59 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Draft 19960821//EN"> |
|
60 |
<html> |
|
61 |
... |
|
62 |
</html> |
|
63 |
-- |
|
64 |
> |
|
65 |
||
66 |
<!--================== Deprecated Features Switch =========================--> |
|
67 |
||
68 |
<!ENTITY % HTML.Deprecated "INCLUDE"> |
|
69 |
||
70 |
<!--================== Feature Test Entities ==============================--> |
|
71 |
||
72 |
<!ENTITY % HTML.Recommended "IGNORE" |
|
73 |
-- Certain features of the language are necessary for compatibility |
|
74 |
with widespread usage, but they may compromise the structural |
|
75 |
integrity of a document. This feature test entity enables |
|
76 |
a more prescriptive document type definition that eliminates |
|
77 |
the above features. |
|
78 |
--> |
|
79 |
||
80 |
<!ENTITY % HTML.HotJava "INCLUDE" |
|
81 |
-- HotJava specific extensions to the default HTML 3.2 DTD --> |
|
82 |
||
83 |
<!-- Currently we are using the the HTML.3.2.Conflict entity to work around |
|
84 |
a bug in the DTD parser where the first declaration of an ENTITY/ELEMENT |
|
85 |
or ATTLIST is not taking precedence over subsequent declarations of the same |
|
86 |
item. Therefore we need to explicitly "IGNORE" subsequent declarations |
|
87 |
in order for HotJava specific extensions to take effect. |
|
88 |
--> |
|
89 |
<!ENTITY % HTML.3.2.Conflict "IGNORE" |
|
90 |
-- 3.2 features to be ignored --> |
|
91 |
||
92 |
||
93 |
<!--================== Imported Names =====================================--> |
|
94 |
||
95 |
<!ENTITY % Content-Type "CDATA" |
|
96 |
-- meaning a MIME content type, as per RFC1521 |
|
97 |
--> |
|
98 |
||
99 |
<!ENTITY % HTTP-Method "GET | POST" |
|
100 |
-- as per HTTP specification |
|
101 |
--> |
|
102 |
||
103 |
<!ENTITY % URL "CDATA" |
|
104 |
-- The term URL means a CDATA attribute |
|
105 |
whose value is a Uniform Resource Locator, |
|
106 |
See RFC1808 (June 95) and RFC1738 (Dec 94). |
|
107 |
--> |
|
108 |
||
109 |
<!-- Parameter Entities --> |
|
110 |
||
111 |
<!ENTITY % head.misc "NOSCRIPT|SCRIPT|STYLE|META|LINK" -- repeatable head elements --> |
|
112 |
||
113 |
<!ENTITY % heading "H1|H2|H3|H4|H5|H6"> |
|
114 |
||
115 |
<!ENTITY % list "UL | OL | DIR | MENU"> |
|
116 |
||
117 |
<![ %HTML.Deprecated [ |
|
118 |
<!ENTITY % preformatted "PRE | XMP | LISTING | PLAINTEXT"> |
|
119 |
]]> |
|
120 |
||
121 |
<!ENTITY % preformatted "PRE"> |
|
122 |
||
123 |
<!--================ Character mnemonic entities ==========================--> |
|
124 |
||
125 |
<!ENTITY % HTMLlat1 PUBLIC |
|
126 |
"-//W3C//ENTITIES Latin 1//EN//HTML"> |
|
127 |
%HTMLlat1; |
|
128 |
||
129 |
<!ENTITY % HTMLsymbol PUBLIC |
|
130 |
"-//W3C//ENTITIES Symbols//EN//HTML"> |
|
131 |
%HTMLsymbol; |
|
132 |
||
133 |
<!ENTITY % HTMLspecial PUBLIC |
|
134 |
"-//W3C//ENTITIES Special//EN//HTML"> |
|
135 |
%HTMLspecial; |
|
136 |
||
137 |
||
138 |
<!--=================== Text Markup =======================================--> |
|
139 |
||
140 |
<!ENTITY % font "TT | I | B | U | STRIKE | S | BIG | SMALL | SUB | SUP"> |
|
141 |
||
142 |
<!ENTITY % phrase "EM | STRONG | DFN | CODE | SAMP | KBD | VAR | CITE"> |
|
143 |
||
144 |
<![ %HTML.HotJava [ |
|
145 |
<!ENTITY % special "A | IMG | APPLET | OBJECT | FONT | BASEFONT | BR | SCRIPT | MAP |
|
146 |
| NOBR | WBR | BLINK | SPAN"> |
|
147 |
]]> |
|
148 |
||
149 |
<![ %HTML.3.2.Conflict [ |
|
150 |
<!ENTITY % special "A | IMG | APPLET | FONT | BASEFONT | BR | SCRIPT | MAP"> |
|
151 |
]]> |
|
152 |
||
153 |
<!ENTITY % form "INPUT | SELECT | TEXTAREA"> |
|
154 |
||
155 |
<!ENTITY % text "#PCDATA | %font | %phrase | %special | %form"> |
|
156 |
||
157 |
<![ %HTML.HotJava [ |
|
158 |
<!ELEMENT (%font|%phrase) - - (%text | CENTER | P | DL | UL | OL)*> |
|
159 |
]]> |
|
160 |
<![ %HTML.3.2.Conflict [ |
|
161 |
<!ELEMENT (%font|%phrase) - - (%text)*> |
|
162 |
]]> |
|
163 |
||
164 |
||
165 |
<!-- there are also 16 widely known color names although |
|
166 |
the resulting colors are implementation dependent: |
|
167 |
||
168 |
aqua, black, blue, fuchsia, gray, green, lime, maroon, |
|
169 |
navy, olive, purple, red, silver, teal, white, and yellow |
|
170 |
||
171 |
These colors were originally picked as being the standard |
|
172 |
16 colors supported with the Windows VGA palette. |
|
173 |
--> |
|
174 |
||
175 |
<![ %HTML.HotJava [ |
|
176 |
<!ELEMENT FONT - - (%text | CENTER | P | DL | UL | OL)* -- local change to font --> |
|
177 |
]]> |
|
178 |
<![ %HTML.3.2.Conflict [ |
|
179 |
<!ELEMENT FONT - - (%text)* -- local change to font --> |
|
180 |
]]> |
|
181 |
<!ATTLIST FONT |
|
182 |
size CDATA #IMPLIED -- [+]nn e.g. size="+1", size=4 -- |
|
183 |
color CDATA #IMPLIED -- #RRGGBB in hex, e.g. red: color="#FF0000" -- |
|
184 |
> |
|
185 |
||
186 |
<!ELEMENT BASEFONT - O EMPTY -- base font size (1 to 7)--> |
|
187 |
<!ATTLIST BASEFONT |
|
188 |
size CDATA #IMPLIED -- e.g. size=3 -- |
|
189 |
> |
|
190 |
||
191 |
<!ELEMENT BR - O EMPTY -- forced line break --> |
|
192 |
<!ATTLIST BR |
|
193 |
clear (left|all|right|none) none -- control of text flow -- |
|
194 |
> |
|
195 |
||
196 |
||
197 |
<!--================== HTML content models ================================--> |
|
198 |
<!-- |
|
199 |
HTML has three basic content models: |
|
200 |
||
201 |
%text character level elements and text strings |
|
202 |
%flow block-like elements e.g. paragraphs and lists |
|
203 |
%bodytext as (b) plus headers and ADDRESS |
|
204 |
--> |
|
205 |
||
206 |
<!ENTITY % block |
|
207 |
"P | %list | %preformatted | DL | DIV | CENTER | NOSCRIPT | |
|
208 |
BLOCKQUOTE | FORM | ISINDEX | HR | TABLE | OBJECT"> |
|
209 |
||
210 |
<!-- %flow is used for DD and LI --> |
|
211 |
||
212 |
<!ENTITY % flow "(%block | %text)*"> |
|
213 |
||
214 |
<!--=================== Document Body =====================================--> |
|
215 |
||
216 |
||
217 |
<![ %HTML.HotJava [ |
|
218 |
<!ENTITY % body.content "(%heading | %block | %text | ADDRESS | FRAMESET | |
|
219 |
NOFRAMES | NOHOTJAVA | ANIMATE)*"> |
|
220 |
||
221 |
]]> |
|
222 |
||
223 |
<![ %HTML.3.2.Conflict [ |
|
224 |
<!ENTITY % body.content "(%heading | %text | %block | ADDRESS)*"> |
|
225 |
]]> |
|
226 |
||
227 |
<!ENTITY % color "CDATA" -- a color specification: #HHHHHH @@ details? --> |
|
228 |
||
229 |
<!ENTITY % body-color-attrs " |
|
230 |
bgcolor %color #IMPLIED |
|
231 |
text %color #IMPLIED |
|
232 |
link %color #IMPLIED |
|
233 |
vlink %color #IMPLIED |
|
234 |
alink %color #IMPLIED |
|
235 |
"> |
|
236 |
||
237 |
<!ELEMENT BODY O O %body.content> |
|
238 |
<![ %HTML.HotJava [ |
|
239 |
<!ATTLIST BODY |
|
240 |
background %URL #IMPLIED -- texture tile for document background -- |
|
241 |
%body-color-attrs; -- bgcolor, text, link, vlink, alink -- |
|
242 |
width NUTOKEN #IMPLIED |
|
243 |
height NUTOKEN #IMPLIED |
|
244 |
> |
|
245 |
]]> |
|
246 |
||
247 |
<![ %HTML.3.2.Conflict [ |
|
248 |
<!ATTLIST BODY |
|
249 |
background %URL #IMPLIED -- texture tile for document background -- |
|
250 |
%body-color-attrs; -- bgcolor, text, link, vlink, alink -- |
|
251 |
> |
|
252 |
]]> |
|
253 |
||
254 |
||
255 |
<!ENTITY % address.content "((%text;) | P)*"> |
|
256 |
||
257 |
<!ELEMENT ADDRESS - - %address.content> |
|
258 |
||
259 |
<!ELEMENT DIV - - %body.content> |
|
260 |
<![ %HTML.HotJava [ |
|
261 |
<!ATTLIST DIV |
|
262 |
align (left|center|right) left -- alignment of following text -- |
|
263 |
> |
|
264 |
]]> |
|
265 |
||
266 |
<![ %HTML.3.2.Conflict [ |
|
267 |
<!ATTLIST DIV |
|
268 |
align (left|center|right) #IMPLIED -- alignment of following text -- |
|
269 |
> |
|
270 |
]]> |
|
271 |
||
272 |
<!-- CENTER is a shorthand for DIV with ALIGN=CENTER --> |
|
273 |
<!ELEMENT center - - %body.content> |
|
274 |
||
275 |
<!--================== The Anchor Element =================================--> |
|
276 |
||
277 |
<!ENTITY % SHAPE "(rect|circle|poly|default)"> |
|
278 |
<!ENTITY % COORDS "CDATA" -- comma separated list of numbers --> |
|
279 |
||
280 |
<![ %HTML.HotJava [ |
|
281 |
<!ELEMENT A - - (%text|%heading|PRE)* -(A)> |
|
282 |
<!ATTLIST A |
|
283 |
name CDATA #IMPLIED -- named link end -- |
|
284 |
href %URL #IMPLIED -- URL for linked resource -- |
|
285 |
rel CDATA #IMPLIED -- forward link types -- |
|
286 |
rev CDATA #IMPLIED -- reverse link types -- |
|
287 |
title CDATA #IMPLIED -- advisory title string -- |
|
288 |
target CDATA #IMPLIED |
|
289 |
shape %SHAPE #IMPLIED -- (OBJECT tag specific) -- |
|
290 |
coords %COORDS #IMPLIED -- always needed except for shape=default (OBJECT tag specific)-- |
|
291 |
ismap (ismap) #IMPLIED -- (OBJECT tag specific) -- |
|
292 |
> |
|
293 |
]]> |
|
294 |
||
295 |
<![ %HTML.3.2.Conflict [ |
|
296 |
<!ELEMENT A - - (%text)* -(A)> |
|
297 |
<!ATTLIST A |
|
298 |
name CDATA #IMPLIED -- named link end -- |
|
299 |
href %URL #IMPLIED -- URL for linked resource -- |
|
300 |
rel CDATA #IMPLIED -- forward link types -- |
|
301 |
rev CDATA #IMPLIED -- reverse link types -- |
|
302 |
title CDATA #IMPLIED -- advisory title string -- |
|
303 |
> |
|
304 |
]]> |
|
305 |
||
306 |
<!--================== Client-side image maps ============================--> |
|
307 |
||
308 |
<!-- These can be placed in the same document or grouped in a |
|
309 |
separate document although this isn't yet widely supported --> |
|
310 |
||
311 |
||
312 |
<![ %HTML.HotJava [ |
|
313 |
<!ELEMENT MAP - - (BASE|AREA)*> |
|
314 |
]]> |
|
315 |
||
316 |
<![ %HTML.3.2.Conflict [ |
|
317 |
<!ELEMENT MAP - - (AREA)*> |
|
318 |
]]> |
|
319 |
||
320 |
<!ATTLIST MAP |
|
321 |
name CDATA #IMPLIED |
|
322 |
> |
|
323 |
||
324 |
<!ELEMENT AREA - O EMPTY> |
|
325 |
||
326 |
<![ %HTML.HotJava [ |
|
327 |
<!ATTLIST AREA |
|
328 |
shape %SHAPE rect |
|
329 |
coords %COORDS #IMPLIED -- always needed except for shape=default -- |
|
330 |
href %URL #IMPLIED -- this region acts as hypertext link -- |
|
331 |
nohref (nohref) #IMPLIED -- this region has no action -- |
|
332 |
alt CDATA #IMPLIED -- make HotJava more forgiving -- |
|
333 |
target CDATA #IMPLIED |
|
334 |
> |
|
335 |
]]> |
|
336 |
||
337 |
||
338 |
<![ %HTML.3.2.Conflict [ |
|
339 |
<!ATTLIST AREA |
|
340 |
shape %SHAPE rect |
|
341 |
coords %COORDS #IMPLIED -- always needed except for shape=default -- |
|
342 |
href %URL #IMPLIED -- this region acts as hypertext link -- |
|
343 |
nohref (nohref) #IMPLIED -- this region has no action -- |
|
344 |
alt CDATA #REQUIRED |
|
345 |
> |
|
346 |
]]> |
|
347 |
||
348 |
<!--================== The LINK Element ==================================--> |
|
349 |
||
350 |
<!ENTITY % Types "CDATA" |
|
351 |
-- See Internet Draft: draft-ietf-html-relrev-00.txt |
|
352 |
LINK has been part of HTML since the early days |
|
353 |
although few browsers as yet take advantage of it. |
|
354 |
||
355 |
Relationship values can be used in principle: |
|
356 |
||
357 |
a) for document specific toolbars/menus when used |
|
358 |
with the LINK element in document head: |
|
359 |
b) to link to a separate style sheet (rel=stylesheet) |
|
360 |
c) to make a link to a script (rel=script) |
|
361 |
d) by stylesheets to control how collections of |
|
362 |
html nodes are rendered into printed documents |
|
363 |
e) to make a link to a printable version of this document |
|
364 |
e.g. a postscript or pdf version (rel=print) |
|
365 |
--> |
|
366 |
||
367 |
<!ELEMENT LINK - O EMPTY> |
|
368 |
<!ATTLIST LINK |
|
369 |
id ID #IMPLIED -- SGML ID attribute -- |
|
370 |
href %URL #IMPLIED -- URL for linked resource -- |
|
371 |
rel %Types #IMPLIED -- forward link types -- |
|
372 |
rev %Types #IMPLIED -- reverse link types -- |
|
373 |
title CDATA #IMPLIED -- advisory title string -- |
|
374 |
> |
|
375 |
||
376 |
<!--=================== Images ============================================--> |
|
377 |
||
378 |
<!ENTITY % Length "CDATA" -- nn for pixels or nn% for percentage length --> |
|
379 |
<!ENTITY % Pixels "CDATA" -- integer representing length in pixels --> |
|
380 |
||
381 |
<!-- Suggested widths are used for negotiating image size |
|
382 |
with the module responsible for painting the image. |
|
383 |
align=left or right cause image to float to margin |
|
384 |
and for subsequent text to wrap around image --> |
|
385 |
||
386 |
<![ %HTML.HotJava [ |
|
387 |
<!ENTITY % IAlign "top|middle|bottom|left|right |
|
388 |
|texttop|absmiddle|baseline|absbottom"> |
|
389 |
]]> |
|
390 |
||
391 |
<![ %HTML.3.2.Conflict [ |
|
392 |
<!ENTITY % IAlign "top|middle|bottom|left|right"> |
|
393 |
]]> |
|
394 |
||
395 |
<!ENTITY % ImgAlign "( %IAlign | center)"> |
|
396 |
||
397 |
<!ELEMENT IMG - O EMPTY -- Embedded image --> |
|
398 |
<![ %HTML.HotJava [ |
|
399 |
<!ATTLIST IMG |
|
400 |
src %URL #REQUIRED -- URL of image to embed -- |
|
401 |
alt CDATA #IMPLIED -- for display in place of image -- |
|
402 |
align %ImgAlign baseline -- vertical or horizontal alignment -- |
|
403 |
height %Pixels #IMPLIED -- suggested height in pixels -- |
|
404 |
width %Pixels #IMPLIED -- suggested width in pixels -- |
|
405 |
border %Pixels #IMPLIED -- suggested link border width -- |
|
406 |
hspace %Pixels #IMPLIED -- suggested horizontal gutter -- |
|
407 |
vspace %Pixels #IMPLIED -- suggested vertical gutter -- |
|
408 |
usemap %URL #IMPLIED -- use client-side image map -- |
|
409 |
ismap (ismap) #IMPLIED -- use server image map -- |
|
410 |
lowsrc %URL #IMPLIED |
|
411 |
> |
|
412 |
]]> |
|
413 |
||
414 |
<![ %HTML.3.2.Conflict [ |
|
415 |
<!ATTLIST IMG |
|
416 |
src %URL #REQUIRED -- URL of image to embed -- |
|
417 |
alt CDATA #IMPLIED -- for display in place of image -- |
|
418 |
align (%IAlign) #IMPLIED -- vertical or horizontal alignment -- |
|
419 |
height %Pixels #IMPLIED -- suggested height in pixels -- |
|
420 |
width %Pixels #IMPLIED -- suggested width in pixels -- |
|
421 |
border %Pixels #IMPLIED -- suggested link border width -- |
|
422 |
hspace %Pixels #IMPLIED -- suggested horizontal gutter -- |
|
423 |
vspace %Pixels #IMPLIED -- suggested vertical gutter -- |
|
424 |
usemap %URL #IMPLIED -- use client-side image map -- |
|
425 |
ismap (ismap) #IMPLIED -- use server image map -- |
|
426 |
> |
|
427 |
]]> |
|
428 |
||
429 |
<!-- USEMAP points to a MAP element which may be in this document |
|
430 |
or an external document, although the latter is not widely supported --> |
|
431 |
||
432 |
<!--=================== Java APPLET tag ===================================--> |
|
433 |
<!-- |
|
434 |
This tag is supported by all java enabled browsers. Applet resources |
|
435 |
(including their classes) are normally loaded relative to the document |
|
436 |
URL (or <BASE> element if it is defined). The CODEBASE attribute is used |
|
437 |
to change this default behavior. If the CODEBASE attribute is defined then |
|
438 |
it specifies a different location to find applet resources. The value |
|
439 |
can be an absolute URL or a relative URL. The absolute URL is used as is |
|
440 |
without modification and is not effected by the documents <BASE> element. |
|
441 |
When the codebase attribute is relative, then it is relative to the |
|
442 |
document URL (or <BASE> tag if defined). |
|
443 |
--> |
|
444 |
<![ %HTML.HotJava [ |
|
445 |
<!ELEMENT APPLET - - (%flow|%heading|%form|TR|TD)* +(PARAM)> |
|
446 |
<!ATTLIST APPLET |
|
447 |
codebase %URL #IMPLIED -- code base -- |
|
448 |
code CDATA #IMPLIED -- class file -- |
|
449 |
alt CDATA #IMPLIED -- for display in place of applet -- |
|
450 |
name CDATA #IMPLIED -- applet name -- |
|
451 |
archive CDATA #IMPLIED -- archive attribute for jar files -- |
|
452 |
width %Pixels #REQUIRED -- suggested width in pixels -- |
|
453 |
height %Pixels #REQUIRED -- suggested height in pixels -- |
|
454 |
align (%IAlign) baseline -- vertical or horizontal alignment -- |
|
455 |
hspace %Pixels #IMPLIED -- suggested horizontal gutter -- |
|
456 |
vspace %Pixels #IMPLIED -- suggested vertical gutter -- |
|
457 |
> |
|
458 |
]]> |
|
459 |
||
460 |
<![ %HTML.3.2.Conflict [ |
|
461 |
<!ELEMENT APPLET - - (%text)* +(PARAM)> |
|
462 |
<!ATTLIST APPLET |
|
463 |
codebase %URL #IMPLIED -- code base -- |
|
464 |
code CDATA #REQUIRED -- class file -- |
|
465 |
alt CDATA #IMPLIED -- for display in place of applet -- |
|
466 |
name CDATA #IMPLIED -- applet name -- |
|
467 |
width %Pixels #REQUIRED -- suggested width in pixels -- |
|
468 |
height %Pixels #REQUIRED -- suggested height in pixels -- |
|
469 |
align (%IAlign) #IMPLIED -- vertical or horizontal alignment -- |
|
470 |
hspace %Pixels #IMPLIED -- suggested horizontal gutter -- |
|
471 |
vspace %Pixels #IMPLIED -- suggested vertical gutter -- |
|
472 |
> |
|
473 |
]]> |
|
474 |
||
475 |
||
476 |
<!-- This tag is used by both the APPLET tag and the OBJECT tag. --> |
|
477 |
<!ELEMENT PARAM - O EMPTY> |
|
478 |
<!ATTLIST PARAM |
|
479 |
name NAME #REQUIRED -- The name of the parameter -- |
|
480 |
value CDATA #IMPLIED -- The value of the parameter -- |
|
481 |
valuetype (DATA|REF|OBJECT) DATA -- How to interpret value (OBJECT tag specific) -- |
|
482 |
type CDATA #IMPLIED -- Internet media type (OBJECT tag specific) -- |
|
483 |
> |
|
484 |
||
485 |
<!-- |
|
486 |
Here is an example: |
|
487 |
||
488 |
<applet codebase="applets/NervousText" |
|
489 |
code=NervousText.class |
|
490 |
width=300 |
|
491 |
height=50> |
|
492 |
<param name=text value="Java is Cool!"> |
|
493 |
<img src=sorry.gif alt="This looks better with Java support"> |
|
494 |
</applet> |
|
495 |
--> |
|
496 |
<!--=================== Object Tag ===================================--> |
|
497 |
||
498 |
<!-- |
|
499 |
The OBJECT element is used to insert an object into an HTML document. |
|
500 |
It requires both start and end tags. The OBJECT element has the same |
|
501 |
content model as the HTML BODY element, except that one or more optional |
|
502 |
PARAM elements can be placed immediately after the OBJECT start tag and |
|
503 |
used to initialize the inserted object. The content of the OBJECT |
|
504 |
element is rendered if the object specified by the CLASSID, CODEBASE and |
|
505 |
DATA attributes can't be rendered (user agents may choose to display the |
|
506 |
content of the OBJECT element if displaying the actual element will take |
|
507 |
a long time to render). This provides for backwards compatibility with |
|
508 |
existing browsers, and allows authors to specify alternative media via |
|
509 |
nested OBJECT elements. |
|
510 |
--> |
|
511 |
||
512 |
<!-- This is identical to the HMTL3.2 body.content entity. |
|
513 |
It differs from the HotJava body.content in that it doesnt |
|
514 |
have FRAMESET and NOFRAMES elements. |
|
515 |
--> |
|
516 |
<!ENTITY % bodytext "(%heading | %flow | ADDRESS)*"> |
|
517 |
||
518 |
<!-- OBJECT is a character-like element for inserting objects --> |
|
519 |
||
520 |
<![ %HTML.3.2.Conflict [ |
|
521 |
<!ELEMENT OBJECT - - (param | %bodytext)*> |
|
522 |
]]> |
|
523 |
||
524 |
<![ %HTML.HotJava [ |
|
525 |
<!ELEMENT OBJECT - - (param | %bodytext | %form)*> |
|
526 |
]]> |
|
527 |
||
528 |
||
529 |
<!ATTLIST OBJECT |
|
530 |
id ID #IMPLIED -- document wide unique id -- |
|
531 |
class CDATA #IMPLIED -- comma list of class values -- |
|
532 |
style CDATA #IMPLIED -- associated style info -- |
|
533 |
lang NAME #IMPLIED -- RFC 1766 language value -- |
|
534 |
dir (ltr|rtl) #IMPLIED -- default directionality -- |
|
535 |
declare (declare) #IMPLIED -- declare but don't instantiate flag -- |
|
536 |
classid %URL #IMPLIED -- identifies an implementation -- |
|
537 |
codebase %URL #IMPLIED -- some systems need an additional URL -- |
|
538 |
data %URL #IMPLIED -- reference to object's data -- |
|
539 |
type CDATA #IMPLIED -- Internet media type for data -- |
|
540 |
codetype CDATA #IMPLIED -- Internet media type for code -- |
|
541 |
standby CDATA #IMPLIED -- message to show while loading -- |
|
542 |
align (%IAlign) #IMPLIED -- positioning inside document -- |
|
543 |
height %Length #IMPLIED -- suggested height -- |
|
544 |
width %Length #IMPLIED -- suggested width -- |
|
545 |
border %Length #IMPLIED -- suggested link border width -- |
|
546 |
hspace %Length #IMPLIED -- suggested horizontal gutter -- |
|
547 |
vspace %Length #IMPLIED -- suggested vertical gutter -- |
|
548 |
usemap %URL #IMPLIED -- reference to image map -- |
|
549 |
shapes (shapes) #IMPLIED -- object has shaped hypertext links -- |
|
550 |
name %URL #IMPLIED -- submit as part of form -- |
|
551 |
> |
|
552 |
||
553 |
||
554 |
<!--=================== Horizontal Rule ===================================--> |
|
555 |
||
556 |
<!ELEMENT HR - O EMPTY> |
|
557 |
<!ATTLIST HR |
|
558 |
align (left|right|center) #IMPLIED |
|
559 |
noshade (noshade) #IMPLIED |
|
560 |
size %Pixels #IMPLIED |
|
561 |
width %Length #IMPLIED |
|
562 |
> |
|
563 |
<!--=================== Paragraphs=========================================--> |
|
564 |
||
565 |
<!ELEMENT P - O (%text)*> |
|
566 |
<!ATTLIST P |
|
567 |
align (left|center|right) #IMPLIED |
|
568 |
> |
|
569 |
||
570 |
<!--=================== Headings ==========================================--> |
|
571 |
||
572 |
<!-- |
|
573 |
There are six levels of headers from H1 (the most important) |
|
574 |
to H6 (the least important). |
|
575 |
--> |
|
576 |
||
577 |
<![ %HTML.HotJava [ |
|
578 |
<!ELEMENT ( %heading ) - - (IMG|br|hr|center|%text;)*> |
|
579 |
]]> |
|
580 |
||
581 |
||
582 |
<![ %HTML.3.2.Conflict [ |
|
583 |
<!ELEMENT ( %heading ) - - (%text;)*> |
|
584 |
]]> |
|
585 |
||
586 |
<!ATTLIST ( %heading ) |
|
587 |
align (left|center|right) #IMPLIED |
|
588 |
> |
|
589 |
||
590 |
<!--=================== Preformatted Text =================================--> |
|
591 |
||
592 |
<!-- excludes images and changes in font size --> |
|
593 |
||
594 |
<![ %HTML.HotJava [ |
|
595 |
<!ENTITY % pre.exclusions "BIG|SMALL|SUB|SUP"> |
|
596 |
]]> |
|
597 |
||
598 |
<![ %HTML.3.2.Conflict [ |
|
599 |
<!ENTITY % pre.exclusions "IMG|BIG|SMALL|SUB|SUP|FONT"> |
|
600 |
]]> |
|
601 |
||
602 |
<![ %HTML.HotJava [ |
|
603 |
<!ELEMENT PRE - - (%text)* +(HR|P)> |
|
604 |
]]> |
|
605 |
||
606 |
<![ %HTML.3.2.Conflict [ |
|
607 |
<!ELEMENT PRE - - (%text)* -(%pre.exclusion)> |
|
608 |
]]> |
|
609 |
||
610 |
<!ATTLIST PRE |
|
611 |
width NUMBER #implied -- is this widely supported? -- |
|
612 |
> |
|
613 |
||
614 |
<![ %HTML.Deprecated [ |
|
615 |
||
616 |
<!ENTITY % literal "CDATA" |
|
617 |
-- historical, non-conforming parsing mode where |
|
618 |
the only markup signal is the end tag |
|
619 |
in full |
|
620 |
--> |
|
621 |
||
622 |
<!ELEMENT (XMP|LISTING) - - %literal> |
|
623 |
<!ELEMENT PLAINTEXT - O %literal> |
|
624 |
||
625 |
]]> |
|
626 |
||
627 |
<!--=================== Block-like Quotes =================================--> |
|
628 |
||
629 |
<!ELEMENT BLOCKQUOTE - - %body.content> |
|
630 |
||
631 |
<!--=================== Lists =============================================--> |
|
632 |
||
633 |
<!-- |
|
634 |
HTML 3.2 allows you to control the sequence number for ordered lists. |
|
635 |
You can set the sequence number with the START and VALUE attributes. |
|
636 |
The TYPE attribute may be used to specify the rendering of ordered |
|
637 |
and unordered lists. |
|
638 |
--> |
|
639 |
||
640 |
<!-- definition lists - DT for term, DD for its definition --> |
|
641 |
||
642 |
||
643 |
<!-- |
|
644 |
Changed to enable hotjava to read netscape bookmarks. |
|
645 |
--> |
|
646 |
<![ %HTML.HotJava [ |
|
647 |
<!ELEMENT DL - - (P|DL|DT|DD)*> |
|
648 |
]]> |
|
649 |
||
650 |
<![ %HTML.3.2.Conflict [ |
|
651 |
<!ELEMENT DL - - (DT|DD)*> |
|
652 |
]]> |
|
653 |
||
654 |
<!ATTLIST DL |
|
655 |
compact (compact) #IMPLIED -- more compact style -- |
|
656 |
> |
|
657 |
<!-- |
|
658 |
Changed to enable hotjava to read netscape bookmarks. |
|
659 |
Also hotjava's hotlist uses the same format to save its |
|
660 |
bookmarks. |
|
661 |
--> |
|
662 |
<![ %HTML.HotJava [ |
|
663 |
<!ELEMENT DT - O (%heading|%text)*> |
|
664 |
]]> |
|
665 |
||
666 |
<![ %HTML.3.2.Conflict [ |
|
667 |
<!ELEMENT DT - O (%text)*> |
|
668 |
]]> |
|
669 |
||
670 |
<!ELEMENT DD - O %flow;> |
|
671 |
||
672 |
<!-- Ordered lists OL, and unordered lists UL --> |
|
673 |
<![ %HTML.3.2.Conflict [ |
|
674 |
<!ELEMENT (OL|UL) - - (LI)*> |
|
675 |
]]> |
|
676 |
||
677 |
<!-- Ordered lists OL, and unordered lists UL --> |
|
678 |
<![ %HTML.HotJava [ |
|
679 |
<!ELEMENT (OL|UL) - - (P|BR|%text|OL|UL|LI)*> |
|
680 |
]]> |
|
681 |
||
682 |
<!-- |
|
683 |
Numbering style |
|
684 |
1 arablic numbers 1, 2, 3, ... |
|
685 |
a lower alpha a, b, c, ... |
|
686 |
A upper alpha A, B, C, ... |
|
687 |
i lower roman i, ii, iii, ... |
|
688 |
I upper roman I, II, III, ... |
|
689 |
||
690 |
The style is applied to the sequence number which by default |
|
691 |
is reset to 1 for the first list item in an ordered list. |
|
692 |
||
693 |
This can't be expressed directly in SGML due to case folding. |
|
694 |
--> |
|
695 |
||
696 |
<!ENTITY % OLStyle "CDATA" -- constrained to: [1|a|A|i|I] --> |
|
697 |
||
698 |
<![ %HTML.HotJava [ |
|
699 |
<!ATTLIST OL -- ordered lists -- |
|
700 |
type %OLStyle "1" -- numbering style -- |
|
701 |
start NUMBER #IMPLIED -- starting sequence number -- |
|
702 |
compact (compact) #IMPLIED -- reduced interitem spacing -- |
|
703 |
> |
|
704 |
]]> |
|
705 |
||
706 |
<![ %HTML.3.2.Conflict [ |
|
707 |
<!ATTLIST OL -- ordered lists -- |
|
708 |
type %OLStyle #IMPLIED -- numbering style -- |
|
709 |
start NUMBER #IMPLIED -- starting sequence number -- |
|
710 |
compact (compact) #IMPLIED -- reduced interitem spacing -- |
|
711 |
> |
|
712 |
]]> |
|
713 |
||
714 |
<!-- bullet styles --> |
|
715 |
||
716 |
<!ENTITY % ULStyle "disc|square|circle"> |
|
717 |
||
718 |
<!ATTLIST UL -- unordered lists -- |
|
719 |
type (%ULStyle) #IMPLIED -- bullet style -- |
|
720 |
compact (compact) #IMPLIED -- reduced interitem spacing -- |
|
721 |
> |
|
722 |
||
723 |
<![ %HTML.HotJava [ |
|
724 |
<!ELEMENT (DIR|MENU) - - (%list|%text|LI)* -(%preformatted | DL | DIV | CENTER | |
|
725 |
BLOCKQUOTE | FORM | ISINDEX | HR | TABLE | OBJECT) +(P)> |
|
726 |
]]> |
|
727 |
||
728 |
<![ %HTML.3.2.Conflict [ |
|
729 |
<!ELEMENT (DIR|MENU) - - (LI)* -(%block)> |
|
730 |
]]> |
|
731 |
||
732 |
<!ATTLIST DIR |
|
733 |
compact (compact) #IMPLIED |
|
734 |
> |
|
735 |
<!ATTLIST MENU |
|
736 |
compact (compact) #IMPLIED |
|
737 |
> |
|
738 |
||
739 |
<!-- <DIR> Directory list --> |
|
740 |
<!-- <DIR COMPACT> Compact list style --> |
|
741 |
<!-- <MENU> Menu list --> |
|
742 |
<!-- <MENU COMPACT> Compact list style --> |
|
743 |
||
744 |
<!-- The type attribute can be used to change the bullet style |
|
745 |
in unordered lists and the numbering style in ordered lists --> |
|
746 |
||
747 |
<!ENTITY % LIStyle "CDATA" -- constrained to: "(%ULStyle|%OLStyle)" --> |
|
748 |
||
749 |
<![ %HTML.HotJava [ |
|
750 |
<!ELEMENT LI - O (%flow|%heading)* -- list item --> |
|
751 |
]]> |
|
752 |
||
753 |
<![ %HTML.3.2.Conflict [ |
|
754 |
<!ELEMENT LI - O %flow -- list item --> |
|
755 |
]]> |
|
756 |
||
757 |
<!ATTLIST LI |
|
758 |
type %LIStyle #IMPLIED -- list item style -- |
|
759 |
value NUMBER #IMPLIED -- reset sequence number -- |
|
760 |
> |
|
761 |
||
762 |
<!--================ Forms ===============================================--> |
|
763 |
||
764 |
<!ELEMENT FORM - - %body.content -(FORM)> |
|
765 |
<!ATTLIST FORM |
|
766 |
action %URL #IMPLIED -- server-side form handler -- |
|
767 |
method (%HTTP-Method) GET -- see HTTP specification -- |
|
768 |
enctype %Content-Type; "application/x-www-form-urlencoded" |
|
769 |
> |
|
770 |
||
771 |
<!ENTITY % InputType |
|
772 |
"(TEXT | PASSWORD | CHECKBOX | RADIO | SUBMIT |
|
773 |
| RESET | FILE | HIDDEN | IMAGE)"> |
|
774 |
||
775 |
<!ELEMENT INPUT - O EMPTY> |
|
776 |
||
777 |
<![ %HTML.HotJava [ |
|
778 |
<!ATTLIST INPUT |
|
779 |
type %InputType TEXT -- what kind of widget is needed -- |
|
780 |
name CDATA #IMPLIED -- required for all but submit and reset -- |
|
781 |
value CDATA #IMPLIED -- required for radio and checkboxes -- |
|
782 |
border %Pixels #IMPLIED -- suggested image border width -- |
|
783 |
checked (checked) #IMPLIED -- for radio buttons and check boxes -- |
|
784 |
size CDATA #IMPLIED -- specific to each type of field -- |
|
785 |
maxlength NUMBER #IMPLIED |
|
786 |
src %URL #IMPLIED -- for fields with background images -- |
|
787 |
align (top|middle|bottom|left|right) top -- image alignment -- |
|
788 |
> |
|
789 |
]]> |
|
790 |
||
791 |
||
792 |
<![ %HTML.3.2.Conflict [ |
|
793 |
<!ATTLIST INPUT |
|
794 |
type %InputType TEXT -- what kind of widget is needed -- |
|
795 |
name CDATA #IMPLIED -- required for all but submit and reset -- |
|
796 |
value CDATA #IMPLIED -- required for radio and checkboxes -- |
|
797 |
checked (checked) #IMPLIED -- for radio buttons and check boxes -- |
|
798 |
size CDATA #IMPLIED -- specific to each type of field -- |
|
799 |
maxlength NUMBER #IMPLIED |
|
800 |
src %URL #IMPLIED -- for fields with background images -- |
|
801 |
align (top|middle|bottom|left|right) top -- image alignment -- |
|
802 |
> |
|
803 |
]]> |
|
804 |
||
805 |
||
806 |
<!ELEMENT SELECT - - (OPTION+)> |
|
807 |
<!ATTLIST SELECT |
|
808 |
name CDATA #REQUIRED |
|
809 |
size NUMBER #IMPLIED |
|
810 |
multiple (multiple) #IMPLIED |
|
811 |
> |
|
812 |
||
813 |
<!ELEMENT OPTION - O (#PCDATA)*> |
|
814 |
<!ATTLIST OPTION |
|
815 |
selected (selected) #IMPLIED |
|
816 |
value CDATA #IMPLIED -- defaults to element content -- |
|
817 |
> |
|
818 |
||
819 |
<!-- Multi-line text input field. --> |
|
820 |
||
821 |
<!ELEMENT TEXTAREA - - (#PCDATA)*> |
|
822 |
<!ATTLIST TEXTAREA |
|
823 |
name CDATA #REQUIRED |
|
824 |
rows NUMBER #REQUIRED |
|
825 |
cols NUMBER #REQUIRED |
|
826 |
> |
|
827 |
||
828 |
<!--======================= Tables ========================================--> |
|
829 |
||
830 |
<!-- Widely deployed subset of the full table standard, see RFC 1942 |
|
831 |
e.g. at http://www.ics.uci.edu/pub/ietf/html/rfc1942.txt --> |
|
832 |
||
833 |
<!-- horizontal placement of table relative to window --> |
|
834 |
<!ENTITY % Where "(left|center|right)"> |
|
835 |
||
836 |
<!-- horizontal alignment attributes for cell contents --> |
|
837 |
<!ENTITY % cell.halign |
|
838 |
"align (left|center|right) #IMPLIED" |
|
839 |
> |
|
840 |
||
841 |
<!-- vertical alignment attributes for cell contents --> |
|
842 |
<!ENTITY % cell.valign |
|
843 |
"valign (top|middle|bottom|baseline) #IMPLIED" |
|
844 |
> |
|
845 |
||
846 |
<![ %HTML.HotJava [ |
|
847 |
<!ELEMENT table - - (tr|caption)* -- a little more forgiving --> |
|
848 |
]]> |
|
849 |
||
850 |
<![ %HTML.3.2.Conflict [ |
|
851 |
<!ELEMENT table - - (caption?, tr+)> |
|
852 |
]]> |
|
853 |
||
854 |
<!-- added to enable some pages like the nbc and apple pages to display correctly --> |
|
855 |
<![ %HTML.HotJava [ |
|
856 |
<!ELEMENT tr - O (td|th|SCRIPT|MAP)*> |
|
857 |
]]> |
|
858 |
||
859 |
<![ %HTML.3.2.Conflict [ |
|
860 |
<!ELEMENT tr - O (td|th)*> |
|
861 |
]]> |
|
862 |
||
863 |
<!ELEMENT (th|td) - O %body.content> |
|
864 |
||
865 |
||
866 |
<![ %HTML.HotJava [ |
|
867 |
||
868 |
<!ATTLIST table -- table element -- |
|
869 |
align %Where; #IMPLIED -- table position relative to window -- |
|
870 |
width %Length #IMPLIED -- table width relative to window -- |
|
871 |
border %Pixels #IMPLIED -- controls frame width around table -- |
|
872 |
cellspacing %Pixels #IMPLIED -- spacing between cells -- |
|
873 |
cellpadding %Pixels #IMPLIED -- spacing within cells -- |
|
874 |
bgcolor %color #IMPLIED -- def background color of all cells -- |
|
875 |
> |
|
876 |
]]> |
|
877 |
||
878 |
<![ %HTML.3.2.Conflict [ |
|
879 |
<!ATTLIST table -- table element -- |
|
880 |
align %Where; #IMPLIED -- table position relative to window -- |
|
881 |
width %Length #IMPLIED -- table width relative to window -- |
|
882 |
border %Pixels #IMPLIED -- controls frame width around table -- |
|
883 |
cellspacing %Pixels #IMPLIED -- spacing between cells -- |
|
884 |
cellpadding %Pixels #IMPLIED -- spacing within cells -- |
|
885 |
> |
|
886 |
]]> |
|
887 |
||
888 |
<![ %HTML.HotJava [ |
|
889 |
<!ELEMENT CAPTION - - %body.content -- table or figure caption --> |
|
890 |
]]> |
|
891 |
||
892 |
||
893 |
<![ %HTML.3.2.Conflict [ |
|
894 |
<!ELEMENT CAPTION - - (%text;)* -- table or figure caption --> |
|
895 |
]]> |
|
896 |
||
897 |
<![ %HTML.HotJava [ |
|
898 |
<!ATTLIST CAPTION |
|
899 |
align (top|bottom) top |
|
900 |
> |
|
901 |
]]> |
|
902 |
||
903 |
<![ %HTML.3.2.Conflict [ |
|
904 |
<!ATTLIST CAPTION |
|
905 |
align (top|bottom) #IMPLIED |
|
906 |
> |
|
907 |
]]> |
|
908 |
||
909 |
<![ %HTML.HotJava [ |
|
910 |
<!ATTLIST tr -- table row -- |
|
911 |
%cell.halign; -- horizontal alignment in cells -- |
|
912 |
%cell.valign; -- vertical alignment in cells -- |
|
913 |
bgcolor %color #IMPLIED -- def bkg color for cells in row -- |
|
914 |
> |
|
915 |
]]> |
|
916 |
||
917 |
<![ %HTML.3.2.Conflict [ |
|
918 |
<!ATTLIST tr -- table row -- |
|
919 |
%cell.halign; -- horizontal alignment in cells -- |
|
920 |
%cell.valign; -- vertical alignment in cells -- |
|
921 |
> |
|
922 |
]]> |
|
923 |
||
924 |
<![ %HTML.HotJava [ |
|
925 |
||
926 |
<!ATTLIST (th|td) -- header or data cell -- |
|
927 |
nowrap (nowrap) #IMPLIED -- suppress word wrap -- |
|
928 |
bgcolor %color #IMPLIED -- cell background color -- |
|
929 |
rowspan NUMBER 1 -- number of rows spanned by cell -- |
|
930 |
colspan NUMBER 1 -- number of cols spanned by cell -- |
|
931 |
%cell.halign; -- horizontal alignment in cell -- |
|
932 |
%cell.valign; -- vertical alignment in cell -- |
|
933 |
width %Length #IMPLIED -- suggested width for cell -- |
|
934 |
height %Length #IMPLIED -- suggested height for cell -- |
|
935 |
> |
|
936 |
]]> |
|
937 |
||
938 |
<![ %HTML.3.2.Conflict [ |
|
939 |
<!ATTLIST (th|td) -- header or data cell -- |
|
940 |
nowrap (nowrap) #IMPLIED -- suppress word wrap -- |
|
941 |
rowspan NUMBER 1 -- number of rows spanned by cell -- |
|
942 |
colspan NUMBER 1 -- number of cols spanned by cell -- |
|
943 |
%cell.halign; -- horizontal alignment in cell -- |
|
944 |
%cell.valign; -- vertical alignment in cell -- |
|
945 |
width %Pixels #IMPLIED -- suggested width for cell -- |
|
946 |
height %Pixels #IMPLIED -- suggested height for cell -- |
|
947 |
> |
|
948 |
]]> |
|
949 |
||
950 |
||
951 |
||
952 |
<!--================ Document Head ========================================--> |
|
953 |
||
954 |
<!-- %head.misc defined earlier on as "SCRIPT|STYLE|META|LINK" --> |
|
955 |
||
956 |
<![ %HTML.HotJava [ |
|
957 |
<!ENTITY % head.content "TITLE? & ISINDEX? & BASE? & NEXTID?"> |
|
958 |
]]> |
|
959 |
||
960 |
<![ %HTML.3.2.Conflict [ |
|
961 |
<!ENTITY % head.content "TITLE & ISINDEX? & BASE?"> |
|
962 |
]]> |
|
963 |
||
964 |
<!ELEMENT HEAD O O (%head.content) +(%head.misc)> |
|
965 |
||
966 |
<!ELEMENT TITLE - - (#PCDATA)* -(%head.misc) |
|
967 |
-- The TITLE element is not considered part of the flow of text. |
|
968 |
It should be displayed, for example as the page header or |
|
969 |
window title. |
|
970 |
--> |
|
971 |
||
972 |
<!ELEMENT ISINDEX - O EMPTY> |
|
973 |
<!ATTLIST ISINDEX |
|
974 |
prompt CDATA #IMPLIED -- prompt message --> |
|
975 |
||
976 |
||
977 |
||
978 |
<!-- |
|
979 |
The BASE element gives an absolute URL for dereferencing relative |
|
980 |
URLs, e.g. |
|
981 |
||
982 |
<BASE href="http://foo.com/index.html"> |
|
983 |
... |
|
984 |
<IMG SRC="images/bar.gif"> |
|
985 |
||
986 |
The image is deferenced to |
|
987 |
||
988 |
http://foo.com/images/bar.gif |
|
989 |
||
990 |
In the absence of a BASE element the document URL should be used. |
|
991 |
Note that this is not necessarily the same as the URL used to |
|
992 |
request the document, as the base URL may be overridden by an HTTP |
|
993 |
header accompanying the document. |
|
994 |
--> |
|
995 |
||
996 |
<!ELEMENT BASE - O EMPTY> |
|
997 |
||
998 |
<![ %HTML.3.2.Conflict [ |
|
999 |
<!ATTLIST BASE href %URL #REQUIRED> |
|
1000 |
]]> |
|
1001 |
||
1002 |
<![ %HTML.HotJava [ |
|
1003 |
<!ATTLIST BASE |
|
1004 |
href %URL #IMPLIED |
|
1005 |
target CDATA #IMPLIED |
|
1006 |
> |
|
1007 |
]]> |
|
1008 |
||
1009 |
<!ELEMENT META - O EMPTY -- Generic Metainformation --> |
|
1010 |
<!ATTLIST META |
|
1011 |
http-equiv NAME #IMPLIED -- HTTP response header name -- |
|
1012 |
name NAME #IMPLIED -- metainformation name -- |
|
1013 |
content CDATA #REQUIRED -- associated information -- |
|
1014 |
> |
|
1015 |
||
1016 |
<!-- SCRIPT/STYLE are place holders for transition to next version of HTML --> |
|
1017 |
||
1018 |
<!ELEMENT STYLE - - (#PCDATA)* -(%head.misc) -- style info --> |
|
1019 |
||
1020 |
<![ %HTML.3.2.Conflict [ |
|
1021 |
<!ELEMENT SCRIPT - - (#PCDATA)* -(%head.misc) -- script statements --> |
|
1022 |
]]> |
|
1023 |
||
1024 |
<!-- this definition of script for hotjava is done so that all html tags |
|
1025 |
that occur within the script tags can be ignored - given that |
|
1026 |
currently hotjava does not support javascript. --> |
|
1027 |
||
1028 |
<![ %HTML.HotJava [ |
|
1029 |
<!ELEMENT SCRIPT - - %body.content -(%head.misc) -- script statements --> |
|
1030 |
]]> |
|
1031 |
||
1032 |
<![ %HTML.HotJava [ |
|
1033 |
<!ATTLIST SCRIPT |
|
1034 |
language CDATA #IMPLIED |
|
1035 |
> |
|
1036 |
]]> |
|
1037 |
||
1038 |
<!--================ Document Structure ===================================--> |
|
1039 |
||
1040 |
<!ENTITY % version.attr "VERSION CDATA #FIXED '%HTML.Version;'"> |
|
1041 |
||
1042 |
<![ %HTML.Deprecated [ |
|
1043 |
<!ENTITY % html.content "HEAD, BODY, PLAINTEXT?"> |
|
1044 |
]]> |
|
1045 |
<!ENTITY % html.content "HEAD, BODY"> |
|
1046 |
||
1047 |
<!ELEMENT HTML O O (%html.content)> |
|
1048 |
<!ATTLIST HTML |
|
1049 |
%version.attr; |
|
1050 |
> |
|
1051 |
||
1052 |
<!--================ HotJava Specials =====================================--> |
|
1053 |
||
1054 |
<!ELEMENT THEAD - O (TR)+> |
|
1055 |
<!ELEMENT TFOOT - O (TR)+> |
|
1056 |
<!ELEMENT TBODY O O (TR)+> |
|
1057 |
||
1058 |
<!ELEMENT SPAN - - (%text)*> |
|
1059 |
||
1060 |
<!ELEMENT BLINK - - ANY> |
|
1061 |
||
1062 |
<!ELEMENT NOBR - - (%text)+> |
|
1063 |
<!ELEMENT WBR - O EMPTY> |
|
1064 |
||
1065 |
<!ELEMENT NEXTID - O EMPTY> |
|
1066 |
<!ATTLIST NEXTID |
|
1067 |
n CDATA #REQUIRED> |
|
1068 |
||
1069 |
<!ELEMENT FRAMESET - O (FRAMESET|FRAME|NOFRAMES)*> |
|
1070 |
<!ATTLIST FRAMESET |
|
1071 |
rows CDATA #IMPLIED |
|
1072 |
cols CDATA #IMPLIED |
|
1073 |
> |
|
1074 |
||
1075 |
<!ELEMENT FRAME - O EMPTY> |
|
1076 |
<!ATTLIST FRAME |
|
1077 |
src CDATA #IMPLIED |
|
1078 |
name CDATA #IMPLIED |
|
1079 |
frameborder NUMBER 1 -- the DTD says (1|0) -- |
|
1080 |
marginwidth NUMBER #IMPLIED |
|
1081 |
marginheight NUMBER #IMPLIED |
|
1082 |
scrolling (yes|no|auto) AUTO |
|
1083 |
noresize (noresize) #IMPLIED |
|
1084 |
> |
|
1085 |
||
1086 |
<!ELEMENT NOFRAMES - - CDATA> |
|
1087 |
||
1088 |
<!ELEMENT NOHOTJAVA - - CDATA> |
|
1089 |
||
1090 |
<!ELEMENT ANIMATE - - CDATA> |
|
1091 |
||
1092 |
<!ELEMENT NOSCRIPT - - (%block)+> |