| 1 |
<!-- |
| 2 |
This is the HTML 4.0 Transitional DTD, which includes |
| 3 |
presentation attributes and elements that W3C expects to phase out |
| 4 |
as support for style sheets matures. Authors should use the Strict |
| 5 |
DTD when possible, but may use the Transitional DTD when support |
| 6 |
for presentation attribute and elements is required. |
| 7 |
|
| 8 |
HTML 4.0 includes mechanisms for style sheets, scripting, |
| 9 |
embedding objects, improved support for right to left and mixed |
| 10 |
direction text, and enhancements to forms for improved |
| 11 |
accessibility for people with disabilities. |
| 12 |
|
| 13 |
Draft: $Date: 1999/05/02 15:37:15 $ |
| 14 |
|
| 15 |
Authors: |
| 16 |
Dave Raggett <[email protected]> |
| 17 |
Arnaud Le Hors <[email protected]> |
| 18 |
Ian Jacobs <[email protected]> |
| 19 |
|
| 20 |
Further information about HTML 4.0 is available at: |
| 21 |
|
| 22 |
http://www.w3.org/TR/REC-html40 |
| 23 |
--> |
| 24 |
<!ENTITY % HTML.Version "-//W3C//DTD HTML 4.0 Transitional//EN" |
| 25 |
-- Typical usage: |
| 26 |
|
| 27 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" |
| 28 |
"http://www.w3.org/TR/REC-html40/loose.dtd"> |
| 29 |
<html> |
| 30 |
<head> |
| 31 |
... |
| 32 |
</head> |
| 33 |
<body> |
| 34 |
... |
| 35 |
</body> |
| 36 |
</html> |
| 37 |
|
| 38 |
The URI used as a system identifier with the public identifier allows |
| 39 |
the user agent to download the DTD and entity sets as needed. |
| 40 |
|
| 41 |
The FPI for the Strict HTML 4.0 DTD is: |
| 42 |
|
| 43 |
"-//W3C//DTD HTML 4.0//EN" |
| 44 |
|
| 45 |
and its URI is: |
| 46 |
|
| 47 |
http://www.w3.org/TR/REC-html40/strict.dtd |
| 48 |
|
| 49 |
Authors should use the Strict DTD unless they need the |
| 50 |
presentation control for user agents that don't (adequately) |
| 51 |
support style sheets. |
| 52 |
|
| 53 |
If you are writing a document that includes frames, use |
| 54 |
the following FPI: |
| 55 |
|
| 56 |
"-//W3C//DTD HTML 4.0 Frameset//EN" |
| 57 |
|
| 58 |
with the URI: |
| 59 |
|
| 60 |
http://www.w3.org/TR/REC-html40/frameset.dtd |
| 61 |
|
| 62 |
The following URIs are supported in relation to HTML 4.0 |
| 63 |
|
| 64 |
"http://www.w3.org/TR/REC-html40/strict.dtd" (Strict DTD) |
| 65 |
"http://www.w3.org/TR/REC-html40/loose.dtd" (Loose DTD) |
| 66 |
"http://www.w3.org/TR/REC-html40/frameset.dtd" (Frameset DTD) |
| 67 |
"http://www.w3.org/TR/REC-html40/HTMLlat1.ent" (Latin-1 entities) |
| 68 |
"http://www.w3.org/TR/REC-html40/HTMLsymbol.ent" (Symbol entities) |
| 69 |
"http://www.w3.org/TR/REC-html40/HTMLspecial.ent" (Special entities) |
| 70 |
|
| 71 |
These URIs point to the latest version of each file. To reference |
| 72 |
this specific revision use the following URIs: |
| 73 |
|
| 74 |
"http://www.w3.org/TR/REC-html40-971218/strict.dtd" |
| 75 |
"http://www.w3.org/TR/REC-html40-971218/loose.dtd" |
| 76 |
"http://www.w3.org/TR/REC-html40-971218/frameset.dtd" |
| 77 |
"http://www.w3.org/TR/REC-html40-971218/HTMLlat1.ent" |
| 78 |
"http://www.w3.org/TR/REC-html40-971218/HTMLsymbol.ent" |
| 79 |
"http://www.w3.org/TR/REC-html40-971218/HTMLspecial.ent" |
| 80 |
|
| 81 |
--> |
| 82 |
|
| 83 |
<!--================== Imported Names ====================================--> |
| 84 |
|
| 85 |
<!ENTITY % ContentType "CDATA" |
| 86 |
-- media type, as per [RFC2045] |
| 87 |
--> |
| 88 |
|
| 89 |
<!ENTITY % ContentTypes "CDATA" |
| 90 |
-- comma-separated list of media types, as per [RFC2045] |
| 91 |
--> |
| 92 |
|
| 93 |
<!ENTITY % Charset "CDATA" |
| 94 |
-- a character encoding, as per [RFC2045] |
| 95 |
--> |
| 96 |
|
| 97 |
<!ENTITY % Charsets "CDATA" |
| 98 |
-- a space separated list of character encodings, as per [RFC2045] |
| 99 |
--> |
| 100 |
|
| 101 |
<!ENTITY % LanguageCode "NAME" |
| 102 |
-- a language code, as per [RFC1766] |
| 103 |
--> |
| 104 |
|
| 105 |
<!ENTITY % Character "CDATA" |
| 106 |
-- a single character from [ISO10646] |
| 107 |
--> |
| 108 |
|
| 109 |
<!ENTITY % LinkTypes "CDATA" |
| 110 |
-- space-separated list of link types |
| 111 |
--> |
| 112 |
|
| 113 |
<!ENTITY % MediaDesc "CDATA" |
| 114 |
-- single or comma-separated list of media descriptors |
| 115 |
--> |
| 116 |
|
| 117 |
<!ENTITY % URI "CDATA" |
| 118 |
-- a Uniform Resource Identifier, |
| 119 |
see [URI] |
| 120 |
--> |
| 121 |
|
| 122 |
<!ENTITY % Datetime "CDATA" -- date and time information. ISO date format --> |
| 123 |
|
| 124 |
|
| 125 |
<!ENTITY % Script "CDATA" -- script expression --> |
| 126 |
|
| 127 |
<!ENTITY % StyleSheet "CDATA" -- style sheet data --> |
| 128 |
|
| 129 |
<!ENTITY % FrameTarget "CDATA" -- render in this frame --> |
| 130 |
|
| 131 |
|
| 132 |
<!ENTITY % Text "CDATA"> |
| 133 |
|
| 134 |
|
| 135 |
<!-- Parameter Entities --> |
| 136 |
|
| 137 |
<!ENTITY % head.misc "SCRIPT|STYLE|META|LINK|OBJECT" -- repeatable head elements --> |
| 138 |
|
| 139 |
<!ENTITY % heading "H1|H2|H3|H4|H5|H6"> |
| 140 |
|
| 141 |
<!ENTITY % list "UL | OL | DIR | MENU"> |
| 142 |
|
| 143 |
<!ENTITY % preformatted "PRE"> |
| 144 |
|
| 145 |
<!ENTITY % Color "CDATA" -- a color using sRGB: #RRGGBB as Hex values --> |
| 146 |
|
| 147 |
<!-- There are also 16 widely known color names with their sRGB values: |
| 148 |
|
| 149 |
Black = #000000 Green = #008000 |
| 150 |
Silver = #C0C0C0 Lime = #00FF00 |
| 151 |
Gray = #808080 Olive = #808000 |
| 152 |
White = #FFFFFF Yellow = #FFFF00 |
| 153 |
Maroon = #800000 Navy = #000080 |
| 154 |
Red = #FF0000 Blue = #0000FF |
| 155 |
Purple = #800080 Teal = #008080 |
| 156 |
Fuchsia= #FF00FF Aqua = #00FFFF |
| 157 |
--> |
| 158 |
|
| 159 |
<!ENTITY % bodycolors " |
| 160 |
bgcolor %Color; #IMPLIED -- document background color -- |
| 161 |
text %Color; #IMPLIED -- document text color -- |
| 162 |
link %Color; #IMPLIED -- color of links -- |
| 163 |
vlink %Color; #IMPLIED -- color of visited links -- |
| 164 |
alink %Color; #IMPLIED -- color of selected links -- |
| 165 |
"> |
| 166 |
|
| 167 |
<!--================ Character mnemonic entities =========================--> |
| 168 |
|
| 169 |
<!ENTITY % HTMLlat1 PUBLIC |
| 170 |
"-//W3C//ENTITIES Latin1//EN//HTML" |
| 171 |
"http://www.w3.org/TR/REC-html40-971218/HTMLlat1.ent"> |
| 172 |
%HTMLlat1; |
| 173 |
|
| 174 |
<!ENTITY % HTMLsymbol PUBLIC |
| 175 |
"-//W3C//ENTITIES Symbols//EN//HTML" |
| 176 |
"http://www.w3.org/TR/REC-html40-971218/HTMLsymbol.ent"> |
| 177 |
%HTMLsymbol; |
| 178 |
|
| 179 |
<!ENTITY % HTMLspecial PUBLIC |
| 180 |
"-//W3C//ENTITIES Special//EN//HTML" |
| 181 |
"http://www.w3.org/TR/REC-html40-971218/HTMLspecial.ent"> |
| 182 |
%HTMLspecial; |
| 183 |
<!--=================== Generic Attributes ===============================--> |
| 184 |
|
| 185 |
<!ENTITY % coreattrs |
| 186 |
"id ID #IMPLIED -- document-wide unique id -- |
| 187 |
class CDATA #IMPLIED -- space separated list of classes -- |
| 188 |
style %StyleSheet; #IMPLIED -- associated style info -- |
| 189 |
title %Text; #IMPLIED -- advisory title/amplification --" |
| 190 |
> |
| 191 |
|
| 192 |
<!ENTITY % i18n |
| 193 |
"lang %LanguageCode; #IMPLIED -- language code -- |
| 194 |
dir (ltr|rtl) #IMPLIED -- direction for weak/neutral text --" |
| 195 |
> |
| 196 |
|
| 197 |
<!ENTITY % events |
| 198 |
"onclick %Script; #IMPLIED -- a pointer button was clicked -- |
| 199 |
ondblclick %Script; #IMPLIED -- a pointer button was double clicked-- |
| 200 |
onmousedown %Script; #IMPLIED -- a pointer button was pressed down -- |
| 201 |
onmouseup %Script; #IMPLIED -- a pointer button was released -- |
| 202 |
onmouseover %Script; #IMPLIED -- a pointer was moved onto -- |
| 203 |
onmousemove %Script; #IMPLIED -- a pointer was moved within -- |
| 204 |
onmouseout %Script; #IMPLIED -- a pointer was moved away -- |
| 205 |
onkeypress %Script; #IMPLIED -- a key was pressed and released -- |
| 206 |
onkeydown %Script; #IMPLIED -- a key was pressed down -- |
| 207 |
onkeyup %Script; #IMPLIED -- a key was released --" |
| 208 |
> |
| 209 |
|
| 210 |
<!-- Reserved Feature Switch --> |
| 211 |
<!ENTITY % HTML.Reserved "IGNORE"> |
| 212 |
|
| 213 |
<!-- The following attributes are reserved for possible future use --> |
| 214 |
<![ %HTML.Reserved; [ |
| 215 |
<!ENTITY % reserved |
| 216 |
"datasrc %URI; #IMPLIED -- a single or tabular Data Source -- |
| 217 |
datafld CDATA #IMPLIED -- the property or column name -- |
| 218 |
dataformatas (plaintext|html) plaintext -- text or html --" |
| 219 |
> |
| 220 |
]]> |
| 221 |
|
| 222 |
<!ENTITY % reserved ""> |
| 223 |
|
| 224 |
<!ENTITY % attrs "%coreattrs; %i18n; %events;"> |
| 225 |
|
| 226 |
<!ENTITY % align "align (left|center|right|justify) #IMPLIED" |
| 227 |
-- default is left for ltr paragraphs, right for rtl -- |
| 228 |
> |
| 229 |
|
| 230 |
<!--=================== Text Markup ======================================--> |
| 231 |
|
| 232 |
<!ENTITY % fontstyle |
| 233 |
"TT | I | B | U | S | STRIKE | BIG | SMALL"> |
| 234 |
|
| 235 |
<!ENTITY % phrase "EM | STRONG | DFN | CODE | |
| 236 |
SAMP | KBD | VAR | CITE | ABBR | ACRONYM" > |
| 237 |
|
| 238 |
<!ENTITY % special |
| 239 |
"A | IMG | APPLET | OBJECT | FONT | BASEFONT | BR | SCRIPT | |
| 240 |
MAP | Q | SUB | SUP | SPAN | BDO | IFRAME"> |
| 241 |
|
| 242 |
<!ENTITY % formctrl "INPUT | SELECT | TEXTAREA | LABEL | BUTTON"> |
| 243 |
|
| 244 |
<!-- %inline; covers inline or "text-level" elements --> |
| 245 |
<!ENTITY % inline "#PCDATA | %fontstyle; | %phrase; | %special; | %formctrl;"> |
| 246 |
|
| 247 |
<!ELEMENT (%fontstyle;|%phrase;) - - (%inline;)*> |
| 248 |
<!ATTLIST (%fontstyle;|%phrase;) |
| 249 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 250 |
> |
| 251 |
|
| 252 |
<!ELEMENT (SUB|SUP) - - (%inline;)* -- subscript, superscript --> |
| 253 |
<!ATTLIST (SUB|SUP) |
| 254 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 255 |
> |
| 256 |
|
| 257 |
<!ELEMENT SPAN - - (%inline;)* -- generic language/style container --> |
| 258 |
<!ATTLIST SPAN |
| 259 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 260 |
%reserved; -- reserved for possible future use -- |
| 261 |
> |
| 262 |
|
| 263 |
<!ELEMENT BDO - - (%inline;)* -- I18N BiDi over-ride --> |
| 264 |
<!ATTLIST BDO |
| 265 |
%coreattrs; -- id, class, style, title -- |
| 266 |
lang %LanguageCode; #IMPLIED -- language code -- |
| 267 |
dir (ltr|rtl) #REQUIRED -- directionality -- |
| 268 |
> |
| 269 |
|
| 270 |
<!ELEMENT BASEFONT - O EMPTY -- base font size --> |
| 271 |
<!ATTLIST BASEFONT |
| 272 |
id ID #IMPLIED -- document-wide unique id -- |
| 273 |
size CDATA #REQUIRED -- base font size for FONT elements -- |
| 274 |
color %Color; #IMPLIED -- text color -- |
| 275 |
face CDATA #IMPLIED -- comma separated list of font names -- |
| 276 |
> |
| 277 |
|
| 278 |
<!ELEMENT FONT - - (%inline;)* -- local change to font --> |
| 279 |
<!ATTLIST FONT |
| 280 |
%coreattrs; -- id, class, style, title -- |
| 281 |
%i18n; -- lang, dir -- |
| 282 |
size CDATA #IMPLIED -- [+|-]nn e.g. size="+1", size="4" -- |
| 283 |
color %Color; #IMPLIED -- text color -- |
| 284 |
face CDATA #IMPLIED -- comma separated list of font names -- |
| 285 |
> |
| 286 |
|
| 287 |
<!ELEMENT BR - O EMPTY -- forced line break --> |
| 288 |
<!ATTLIST BR |
| 289 |
%coreattrs; -- id, class, style, title -- |
| 290 |
clear (left|all|right|none) none -- control of text flow -- |
| 291 |
> |
| 292 |
|
| 293 |
<!--================== HTML content models ===============================--> |
| 294 |
|
| 295 |
<!-- |
| 296 |
HTML has two basic content models: |
| 297 |
|
| 298 |
%inline; character level elements and text strings |
| 299 |
%block; block-like elements e.g. paragraphs and lists |
| 300 |
--> |
| 301 |
|
| 302 |
<!ENTITY % block |
| 303 |
"P | %heading; | %list; | %preformatted; | DL | DIV | CENTER | |
| 304 |
NOSCRIPT | NOFRAMES | BLOCKQUOTE | FORM | ISINDEX | HR | |
| 305 |
TABLE | FIELDSET | ADDRESS"> |
| 306 |
|
| 307 |
<!ENTITY % flow "%block; | %inline;"> |
| 308 |
|
| 309 |
<!--=================== Document Body ====================================--> |
| 310 |
|
| 311 |
<!ELEMENT BODY O O (%flow;)* +(INS|DEL) -- document body --> |
| 312 |
<!ATTLIST BODY |
| 313 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 314 |
onload %Script; #IMPLIED -- the document has been loaded -- |
| 315 |
onunload %Script; #IMPLIED -- the document has been removed -- |
| 316 |
background %URI; #IMPLIED -- texture tile for document |
| 317 |
background -- |
| 318 |
%bodycolors; -- bgcolor, text, link, vlink, alink -- |
| 319 |
> |
| 320 |
|
| 321 |
<!ELEMENT ADDRESS - - ((%inline;)|P)* -- information on author --> |
| 322 |
<!ATTLIST ADDRESS |
| 323 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 324 |
> |
| 325 |
|
| 326 |
<!ELEMENT DIV - - (%flow;)* -- generic language/style container --> |
| 327 |
<!ATTLIST DIV |
| 328 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 329 |
%align; -- align, text alignment -- |
| 330 |
%reserved; -- reserved for possible future use -- |
| 331 |
> |
| 332 |
|
| 333 |
<!ELEMENT CENTER - - (%flow;)* -- shorthand for DIV align=center --> |
| 334 |
<!ATTLIST CENTER |
| 335 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 336 |
> |
| 337 |
|
| 338 |
<!--================== The Anchor Element ================================--> |
| 339 |
|
| 340 |
<!ENTITY % Shape "(rect|circle|poly|default)"> |
| 341 |
<!ENTITY % Coords "CDATA" -- comma separated list of lengths --> |
| 342 |
|
| 343 |
<!ELEMENT A - - (%inline;)* -(A) -- anchor --> |
| 344 |
<!ATTLIST A |
| 345 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 346 |
charset %Charset; #IMPLIED -- char encoding of linked resource -- |
| 347 |
type %ContentType; #IMPLIED -- advisory content type -- |
| 348 |
name CDATA #IMPLIED -- named link end -- |
| 349 |
href %URI; #IMPLIED -- URI for linked resource -- |
| 350 |
hreflang %LanguageCode; #IMPLIED -- language code -- |
| 351 |
target %FrameTarget; #IMPLIED -- render in this frame -- |
| 352 |
rel %LinkTypes; #IMPLIED -- forward link types -- |
| 353 |
rev %LinkTypes; #IMPLIED -- reverse link types -- |
| 354 |
accesskey %Character; #IMPLIED -- accessibility key character -- |
| 355 |
shape %Shape; rect -- for use with client-side image maps -- |
| 356 |
coords %Coords; #IMPLIED -- for use with client-side image maps -- |
| 357 |
tabindex NUMBER #IMPLIED -- position in tabbing order -- |
| 358 |
onfocus %Script; #IMPLIED -- the element got the focus -- |
| 359 |
onblur %Script; #IMPLIED -- the element lost the focus -- |
| 360 |
> |
| 361 |
|
| 362 |
<!--================== Client-side image maps ============================--> |
| 363 |
|
| 364 |
<!-- These can be placed in the same document or grouped in a |
| 365 |
separate document although this isn't yet widely supported --> |
| 366 |
|
| 367 |
<!ELEMENT MAP - - ((%block;)+ | AREA+) -- client-side image map --> |
| 368 |
<!ATTLIST MAP |
| 369 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 370 |
name CDATA #REQUIRED -- for reference by usemap -- |
| 371 |
> |
| 372 |
|
| 373 |
<!ELEMENT AREA - O EMPTY -- client-side image map area --> |
| 374 |
<!ATTLIST AREA |
| 375 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 376 |
shape %Shape; rect -- controls interpretation of coords -- |
| 377 |
coords %Coords; #IMPLIED -- comma separated list of lengths -- |
| 378 |
href %URI; #IMPLIED -- URI for linked resource -- |
| 379 |
target %FrameTarget; #IMPLIED -- render in this frame -- |
| 380 |
nohref (nohref) #IMPLIED -- this region has no action -- |
| 381 |
alt %Text; #REQUIRED -- short description -- |
| 382 |
tabindex NUMBER #IMPLIED -- position in tabbing order -- |
| 383 |
accesskey %Character; #IMPLIED -- accessibility key character -- |
| 384 |
onfocus %Script; #IMPLIED -- the element got the focus -- |
| 385 |
onblur %Script; #IMPLIED -- the element lost the focus -- |
| 386 |
> |
| 387 |
|
| 388 |
<!--================== The LINK Element ==================================--> |
| 389 |
|
| 390 |
<!-- |
| 391 |
Relationship values can be used in principle: |
| 392 |
|
| 393 |
a) for document specific toolbars/menus when used |
| 394 |
with the LINK element in document head e.g. |
| 395 |
start, contents, previous, next, index, end, help |
| 396 |
b) to link to a separate style sheet (rel=stylesheet) |
| 397 |
c) to make a link to a script (rel=script) |
| 398 |
d) by stylesheets to control how collections of |
| 399 |
html nodes are rendered into printed documents |
| 400 |
e) to make a link to a printable version of this document |
| 401 |
e.g. a postscript or pdf version (rel=alternate media=print) |
| 402 |
--> |
| 403 |
|
| 404 |
<!ELEMENT LINK - O EMPTY -- a media-independent link --> |
| 405 |
<!ATTLIST LINK |
| 406 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 407 |
charset %Charset; #IMPLIED -- char encoding of linked resource -- |
| 408 |
href %URI; #IMPLIED -- URI for linked resource -- |
| 409 |
hreflang %LanguageCode; #IMPLIED -- language code -- |
| 410 |
type %ContentType; #IMPLIED -- advisory content type -- |
| 411 |
rel %LinkTypes; #IMPLIED -- forward link types -- |
| 412 |
rev %LinkTypes; #IMPLIED -- reverse link types -- |
| 413 |
media %MediaDesc; #IMPLIED -- for rendering on these media -- |
| 414 |
target %FrameTarget; #IMPLIED -- render in this frame -- |
| 415 |
> |
| 416 |
|
| 417 |
<!--=================== Images ===========================================--> |
| 418 |
|
| 419 |
<!-- Length defined in strict DTD for cellpadding/cellspacing --> |
| 420 |
<!ENTITY % Length "CDATA" -- nn for pixels or nn% for percentage length --> |
| 421 |
<!ENTITY % MultiLength "CDATA" -- pixel, percentage, or relative --> |
| 422 |
|
| 423 |
<!ENTITY % MultiLengths "CDATA" -- comma-separated list of MultiLength --> |
| 424 |
|
| 425 |
<!ENTITY % Pixels "CDATA" -- integer representing length in pixels --> |
| 426 |
|
| 427 |
<!ENTITY % IAlign "(top|middle|bottom|left|right)" -- center? --> |
| 428 |
|
| 429 |
<!-- To avoid problems with text-only UAs as well as |
| 430 |
to make image content understandable and navigable |
| 431 |
to users of non-visual UAs, you need to provide |
| 432 |
a description with ALT, and avoid server-side image maps --> |
| 433 |
<!ELEMENT IMG - O EMPTY -- Embedded image --> |
| 434 |
<!ATTLIST IMG |
| 435 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 436 |
src %URI; #REQUIRED -- URI of image to embed -- |
| 437 |
alt %Text; #REQUIRED -- short description -- |
| 438 |
longdesc %URI; #IMPLIED -- link to long description |
| 439 |
(complements alt) -- |
| 440 |
height %Length; #IMPLIED -- override height -- |
| 441 |
width %Length; #IMPLIED -- override width -- |
| 442 |
usemap %URI; #IMPLIED -- use client-side image map -- |
| 443 |
ismap (ismap) #IMPLIED -- use server-side image map -- |
| 444 |
align %IAlign; #IMPLIED -- vertical or horizontal alignment -- |
| 445 |
border %Length; #IMPLIED -- link border width -- |
| 446 |
hspace %Pixels; #IMPLIED -- horizontal gutter -- |
| 447 |
vspace %Pixels; #IMPLIED -- vertical gutter -- |
| 448 |
> |
| 449 |
|
| 450 |
<!-- USEMAP points to a MAP element which may be in this document |
| 451 |
or an external document, although the latter is not widely supported --> |
| 452 |
|
| 453 |
<!--==================== OBJECT ======================================--> |
| 454 |
<!-- |
| 455 |
OBJECT is used to embed objects as part of HTML pages |
| 456 |
PARAM elements should precede other content. SGML mixed content |
| 457 |
model technicality precludes specifying this formally ... |
| 458 |
--> |
| 459 |
|
| 460 |
<!ELEMENT OBJECT - - (PARAM | %flow;)* |
| 461 |
-- generic embedded object --> |
| 462 |
<!ATTLIST OBJECT |
| 463 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 464 |
declare (declare) #IMPLIED -- declare but don't instantiate flag -- |
| 465 |
classid %URI; #IMPLIED -- identifies an implementation -- |
| 466 |
codebase %URI; #IMPLIED -- base URI for classid, data, archive-- |
| 467 |
data %URI; #IMPLIED -- reference to object's data -- |
| 468 |
type %ContentType; #IMPLIED -- content type for data -- |
| 469 |
codetype %ContentType; #IMPLIED -- content type for code -- |
| 470 |
archive %URI; #IMPLIED -- space separated archive list -- |
| 471 |
standby %Text; #IMPLIED -- message to show while loading -- |
| 472 |
height %Length; #IMPLIED -- override height -- |
| 473 |
width %Length; #IMPLIED -- override width -- |
| 474 |
usemap %URI; #IMPLIED -- use client-side image map -- |
| 475 |
name CDATA #IMPLIED -- submit as part of form -- |
| 476 |
tabindex NUMBER #IMPLIED -- position in tabbing order -- |
| 477 |
align %IAlign; #IMPLIED -- vertical or horizontal alignment -- |
| 478 |
border %Length; #IMPLIED -- link border width -- |
| 479 |
hspace %Pixels; #IMPLIED -- horizontal gutter -- |
| 480 |
vspace %Pixels; #IMPLIED -- vertical gutter -- |
| 481 |
%reserved; -- reserved for possible future use -- |
| 482 |
> |
| 483 |
|
| 484 |
<!ELEMENT PARAM - O EMPTY -- named property value --> |
| 485 |
<!ATTLIST PARAM |
| 486 |
id ID #IMPLIED -- document-wide unique id -- |
| 487 |
name CDATA #REQUIRED -- property name -- |
| 488 |
value CDATA #IMPLIED -- property value -- |
| 489 |
valuetype (DATA|REF|OBJECT) DATA -- How to interpret value -- |
| 490 |
type %ContentType; #IMPLIED -- content type for value |
| 491 |
when valuetype=ref -- |
| 492 |
> |
| 493 |
|
| 494 |
<!--=================== Java APPLET ==================================--> |
| 495 |
<!-- |
| 496 |
One of code or object attributes must be present. |
| 497 |
Place PARAM elements before other content. |
| 498 |
--> |
| 499 |
<!ELEMENT APPLET - - (PARAM | %flow;)* -- Java applet --> |
| 500 |
<!ATTLIST APPLET |
| 501 |
%coreattrs; -- id, class, style, title -- |
| 502 |
codebase %URI; #IMPLIED -- optional base URI for applet -- |
| 503 |
archive CDATA #IMPLIED -- comma separated archive list -- |
| 504 |
code CDATA #IMPLIED -- applet class file -- |
| 505 |
object CDATA #IMPLIED -- serialized applet file -- |
| 506 |
alt %Text; #IMPLIED -- short description -- |
| 507 |
name CDATA #IMPLIED -- allows applets to find each other -- |
| 508 |
width %Length; #REQUIRED -- initial width -- |
| 509 |
height %Length; #REQUIRED -- initial height -- |
| 510 |
align %IAlign; #IMPLIED -- vertical or horizontal alignment -- |
| 511 |
hspace %Pixels; #IMPLIED -- horizontal gutter -- |
| 512 |
vspace %Pixels; #IMPLIED -- vertical gutter -- |
| 513 |
> |
| 514 |
|
| 515 |
<!--=================== Horizontal Rule ==================================--> |
| 516 |
|
| 517 |
<!ELEMENT HR - O EMPTY -- horizontal rule --> |
| 518 |
<!ATTLIST HR |
| 519 |
%coreattrs; -- id, class, style, title -- |
| 520 |
%events; |
| 521 |
align (left|center|right) #IMPLIED |
| 522 |
noshade (noshade) #IMPLIED |
| 523 |
size %Pixels; #IMPLIED |
| 524 |
width %Length; #IMPLIED |
| 525 |
> |
| 526 |
|
| 527 |
<!--=================== Paragraphs =======================================--> |
| 528 |
|
| 529 |
<!ELEMENT P - O (%inline;)* -- paragraph --> |
| 530 |
<!ATTLIST P |
| 531 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 532 |
%align; -- align, text alignment -- |
| 533 |
> |
| 534 |
|
| 535 |
<!--=================== Headings =========================================--> |
| 536 |
|
| 537 |
<!-- |
| 538 |
There are six levels of headings from H1 (the most important) |
| 539 |
to H6 (the least important). |
| 540 |
--> |
| 541 |
|
| 542 |
<!ELEMENT (%heading;) - - (%inline;)* -- heading --> |
| 543 |
<!ATTLIST (%heading;) |
| 544 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 545 |
%align; -- align, text alignment -- |
| 546 |
> |
| 547 |
|
| 548 |
<!--=================== Preformatted Text ================================--> |
| 549 |
|
| 550 |
<!-- excludes markup for images and changes in font size --> |
| 551 |
<!ENTITY % pre.exclusion "IMG|OBJECT|APPLET|BIG|SMALL|SUB|SUP|FONT|BASEFONT"> |
| 552 |
|
| 553 |
<!ELEMENT PRE - - (%inline;)* -(%pre.exclusion;) -- preformatted text --> |
| 554 |
<!ATTLIST PRE |
| 555 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 556 |
width NUMBER #IMPLIED |
| 557 |
> |
| 558 |
|
| 559 |
<!--===================== Inline Quotes ==================================--> |
| 560 |
|
| 561 |
<!ELEMENT Q - - (%inline;)* -- short inline quotation --> |
| 562 |
<!ATTLIST Q |
| 563 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 564 |
cite %URI; #IMPLIED -- URI for source document or msg -- |
| 565 |
> |
| 566 |
|
| 567 |
<!--=================== Block-like Quotes ================================--> |
| 568 |
|
| 569 |
<!ELEMENT BLOCKQUOTE - - (%flow;)* -- long quotation --> |
| 570 |
<!ATTLIST BLOCKQUOTE |
| 571 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 572 |
cite %URI; #IMPLIED -- URI for source document or msg -- |
| 573 |
> |
| 574 |
|
| 575 |
<!--=================== Inserted/Deleted Text ============================--> |
| 576 |
|
| 577 |
|
| 578 |
<!-- INS/DEL are handled by inclusion on BODY --> |
| 579 |
<!ELEMENT (INS|DEL) - - (%flow;)* -- inserted text, deleted text --> |
| 580 |
<!ATTLIST (INS|DEL) |
| 581 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 582 |
cite %URI; #IMPLIED -- info on reason for change -- |
| 583 |
datetime %Datetime; #IMPLIED -- date and time of change -- |
| 584 |
> |
| 585 |
|
| 586 |
<!--=================== Lists ============================================--> |
| 587 |
|
| 588 |
<!-- definition lists - DT for term, DD for its definition --> |
| 589 |
|
| 590 |
<!ELEMENT DL - - (DT|DD)+ -- definition list --> |
| 591 |
<!ATTLIST DL |
| 592 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 593 |
compact (compact) #IMPLIED -- reduced interitem spacing -- |
| 594 |
> |
| 595 |
|
| 596 |
<!ELEMENT DT - O (%inline;)* -- definition term --> |
| 597 |
<!ELEMENT DD - O (%flow;)* -- definition description --> |
| 598 |
<!ATTLIST (DT|DD) |
| 599 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 600 |
> |
| 601 |
|
| 602 |
<!-- Ordered lists (OL) Numbering style |
| 603 |
|
| 604 |
1 arablic numbers 1, 2, 3, ... |
| 605 |
a lower alpha a, b, c, ... |
| 606 |
A upper alpha A, B, C, ... |
| 607 |
i lower roman i, ii, iii, ... |
| 608 |
I upper roman I, II, III, ... |
| 609 |
|
| 610 |
The style is applied to the sequence number which by default |
| 611 |
is reset to 1 for the first list item in an ordered list. |
| 612 |
|
| 613 |
This can't be expressed directly in SGML due to case folding. |
| 614 |
--> |
| 615 |
|
| 616 |
<!ENTITY % OLStyle "CDATA" -- constrained to: "(1|a|A|i|I)" --> |
| 617 |
|
| 618 |
<!ELEMENT OL - - (LI)+ -- ordered list --> |
| 619 |
<!ATTLIST OL |
| 620 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 621 |
type %OLStyle; #IMPLIED -- numbering style -- |
| 622 |
compact (compact) #IMPLIED -- reduced interitem spacing -- |
| 623 |
start NUMBER #IMPLIED -- starting sequence number -- |
| 624 |
> |
| 625 |
|
| 626 |
<!-- Unordered Lists (UL) bullet styles --> |
| 627 |
<!ENTITY % ULStyle "(disc|square|circle)"> |
| 628 |
|
| 629 |
<!ELEMENT UL - - (LI)+ -- unordered list --> |
| 630 |
<!ATTLIST UL |
| 631 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 632 |
type %ULStyle; #IMPLIED -- bullet style -- |
| 633 |
compact (compact) #IMPLIED -- reduced interitem spacing -- |
| 634 |
> |
| 635 |
|
| 636 |
<!ELEMENT (DIR|MENU) - - (LI)+ -(%block;) -- directory list, menu list --> |
| 637 |
<!ATTLIST DIR |
| 638 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 639 |
compact (compact) #IMPLIED |
| 640 |
> |
| 641 |
<!ATTLIST MENU |
| 642 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 643 |
compact (compact) #IMPLIED |
| 644 |
> |
| 645 |
|
| 646 |
<!ENTITY % LIStyle "CDATA" -- constrained to: "(%ULStyle;|%OLStyle;)" --> |
| 647 |
|
| 648 |
<!ELEMENT LI - O (%flow;)* -- list item --> |
| 649 |
<!ATTLIST LI |
| 650 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 651 |
type %LIStyle; #IMPLIED -- list item style -- |
| 652 |
value NUMBER #IMPLIED -- reset sequence number -- |
| 653 |
> |
| 654 |
|
| 655 |
<!--================ Forms ===============================================--> |
| 656 |
<!ELEMENT FORM - - (%flow;)* -(FORM) -- interactive form --> |
| 657 |
<!ATTLIST FORM |
| 658 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 659 |
action %URI; #REQUIRED -- server-side form handler -- |
| 660 |
method (GET|POST) GET -- HTTP method used to submit the form-- |
| 661 |
enctype %ContentType; "application/x-www-form-urlencoded" |
| 662 |
onsubmit %Script; #IMPLIED -- the form was submitted -- |
| 663 |
onreset %Script; #IMPLIED -- the form was reset -- |
| 664 |
target %FrameTarget; #IMPLIED -- render in this frame -- |
| 665 |
accept-charset %Charsets; #IMPLIED -- list of supported charsets -- |
| 666 |
> |
| 667 |
|
| 668 |
<!-- Each label must not contain more than ONE field --> |
| 669 |
<!ELEMENT LABEL - - (%inline;)* -(LABEL) -- form field label text --> |
| 670 |
<!ATTLIST LABEL |
| 671 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 672 |
for IDREF #IMPLIED -- matches field ID value -- |
| 673 |
accesskey %Character; #IMPLIED -- accessibility key character -- |
| 674 |
onfocus %Script; #IMPLIED -- the element got the focus -- |
| 675 |
onblur %Script; #IMPLIED -- the element lost the focus -- |
| 676 |
> |
| 677 |
|
| 678 |
<!ENTITY % InputType |
| 679 |
"(TEXT | PASSWORD | CHECKBOX | |
| 680 |
RADIO | SUBMIT | RESET | |
| 681 |
FILE | HIDDEN | IMAGE | BUTTON)" |
| 682 |
> |
| 683 |
|
| 684 |
<!-- attribute name required for all but submit & reset --> |
| 685 |
<!ELEMENT INPUT - O EMPTY -- form control --> |
| 686 |
<!ATTLIST INPUT |
| 687 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 688 |
type %InputType; TEXT -- what kind of widget is needed -- |
| 689 |
name CDATA #IMPLIED -- submit as part of form -- |
| 690 |
value CDATA #IMPLIED -- required for radio and checkboxes -- |
| 691 |
checked (checked) #IMPLIED -- for radio buttons and check boxes -- |
| 692 |
disabled (disabled) #IMPLIED -- unavailable in this context -- |
| 693 |
readonly (readonly) #IMPLIED -- for text and passwd -- |
| 694 |
size CDATA #IMPLIED -- specific to each type of field -- |
| 695 |
maxlength NUMBER #IMPLIED -- max chars for text fields -- |
| 696 |
src %URI; #IMPLIED -- for fields with images -- |
| 697 |
alt CDATA #IMPLIED -- short description -- |
| 698 |
usemap %URI; #IMPLIED -- use client-side image map -- |
| 699 |
tabindex NUMBER #IMPLIED -- position in tabbing order -- |
| 700 |
accesskey %Character; #IMPLIED -- accessibility key character -- |
| 701 |
onfocus %Script; #IMPLIED -- the element got the focus -- |
| 702 |
onblur %Script; #IMPLIED -- the element lost the focus -- |
| 703 |
onselect %Script; #IMPLIED -- some text was selected -- |
| 704 |
onchange %Script; #IMPLIED -- the element value was changed -- |
| 705 |
accept %ContentTypes; #IMPLIED -- list of MIME types for file upload -- |
| 706 |
align %IAlign; #IMPLIED -- vertical or horizontal alignment -- |
| 707 |
%reserved; -- reserved for possible future use -- |
| 708 |
> |
| 709 |
|
| 710 |
<!ELEMENT SELECT - - (OPTGROUP|OPTION)+ -- option selector --> |
| 711 |
<!ATTLIST SELECT |
| 712 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 713 |
name CDATA #IMPLIED -- field name -- |
| 714 |
size NUMBER #IMPLIED -- rows visible -- |
| 715 |
multiple (multiple) #IMPLIED -- default is single selection -- |
| 716 |
disabled (disabled) #IMPLIED -- unavailable in this context -- |
| 717 |
tabindex NUMBER #IMPLIED -- position in tabbing order -- |
| 718 |
onfocus %Script; #IMPLIED -- the element got the focus -- |
| 719 |
onblur %Script; #IMPLIED -- the element lost the focus -- |
| 720 |
onchange %Script; #IMPLIED -- the element value was changed -- |
| 721 |
%reserved; -- reserved for possible future use -- |
| 722 |
> |
| 723 |
|
| 724 |
<!ELEMENT OPTGROUP - - (OPTION)+ -- option group --> |
| 725 |
<!ATTLIST OPTGROUP |
| 726 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 727 |
disabled (disabled) #IMPLIED -- unavailable in this context -- |
| 728 |
label %Text; #REQUIRED -- for use in hierarchical menus -- |
| 729 |
> |
| 730 |
|
| 731 |
<!ELEMENT OPTION - O (#PCDATA) -- selectable choice --> |
| 732 |
<!ATTLIST OPTION |
| 733 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 734 |
selected (selected) #IMPLIED |
| 735 |
disabled (disabled) #IMPLIED -- unavailable in this context -- |
| 736 |
label %Text; #IMPLIED -- for use in hierarchical menus -- |
| 737 |
value CDATA #IMPLIED -- defaults to element content -- |
| 738 |
> |
| 739 |
|
| 740 |
<!ELEMENT TEXTAREA - - (#PCDATA) -- multi-line text field --> |
| 741 |
<!ATTLIST TEXTAREA |
| 742 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 743 |
name CDATA #IMPLIED |
| 744 |
rows NUMBER #REQUIRED |
| 745 |
cols NUMBER #REQUIRED |
| 746 |
disabled (disabled) #IMPLIED -- unavailable in this context -- |
| 747 |
readonly (readonly) #IMPLIED |
| 748 |
tabindex NUMBER #IMPLIED -- position in tabbing order -- |
| 749 |
accesskey %Character; #IMPLIED -- accessibility key character -- |
| 750 |
onfocus %Script; #IMPLIED -- the element got the focus -- |
| 751 |
onblur %Script; #IMPLIED -- the element lost the focus -- |
| 752 |
onselect %Script; #IMPLIED -- some text was selected -- |
| 753 |
onchange %Script; #IMPLIED -- the element value was changed -- |
| 754 |
%reserved; -- reserved for possible future use -- |
| 755 |
> |
| 756 |
|
| 757 |
<!-- |
| 758 |
#PCDATA is to solve the mixed content problem, |
| 759 |
per specification only whitespace is allowed there! |
| 760 |
--> |
| 761 |
<!ELEMENT FIELDSET - - (#PCDATA,LEGEND,(%flow;)*) -- form control group --> |
| 762 |
<!ATTLIST FIELDSET |
| 763 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 764 |
> |
| 765 |
|
| 766 |
<!ELEMENT LEGEND - - (%inline;)* -- fieldset legend --> |
| 767 |
<!ENTITY % LAlign "(top|bottom|left|right)"> |
| 768 |
|
| 769 |
<!ATTLIST LEGEND |
| 770 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 771 |
accesskey %Character; #IMPLIED -- accessibility key character -- |
| 772 |
align %LAlign; #IMPLIED -- relative to fieldset -- |
| 773 |
> |
| 774 |
|
| 775 |
<!ELEMENT BUTTON - - |
| 776 |
(%flow;)* -(A|%formctrl;|FORM|ISINDEX|FIELDSET|IFRAME) |
| 777 |
-- push button --> |
| 778 |
<!ATTLIST BUTTON |
| 779 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 780 |
name CDATA #IMPLIED |
| 781 |
value CDATA #IMPLIED -- sent to server when submitted -- |
| 782 |
type (button|submit|reset) submit -- for use as form button -- |
| 783 |
disabled (disabled) #IMPLIED -- unavailable in this context -- |
| 784 |
tabindex NUMBER #IMPLIED -- position in tabbing order -- |
| 785 |
accesskey %Character; #IMPLIED -- accessibility key character -- |
| 786 |
onfocus %Script; #IMPLIED -- the element got the focus -- |
| 787 |
onblur %Script; #IMPLIED -- the element lost the focus -- |
| 788 |
%reserved; -- reserved for possible future use -- |
| 789 |
> |
| 790 |
|
| 791 |
<!--======================= Tables =======================================--> |
| 792 |
|
| 793 |
<!-- IETF HTML table standard, see [RFC1942] --> |
| 794 |
|
| 795 |
<!-- |
| 796 |
The BORDER attribute sets the thickness of the frame around the |
| 797 |
table. The default units are screen pixels. |
| 798 |
|
| 799 |
The FRAME attribute specifies which parts of the frame around |
| 800 |
the table should be rendered. The values are not the same as |
| 801 |
CALS to avoid a name clash with the VALIGN attribute. |
| 802 |
|
| 803 |
The value "border" is included for backwards compatibility with |
| 804 |
<TABLE BORDER> which yields frame=border and border=implied |
| 805 |
For <TABLE BORDER=1> you get border=1 and frame=implied. In this |
| 806 |
case, it is appropriate to treat this as frame=border for backwards |
| 807 |
compatibility with deployed browsers. |
| 808 |
--> |
| 809 |
<!ENTITY % TFrame "(void|above|below|hsides|lhs|rhs|vsides|box|border)"> |
| 810 |
|
| 811 |
<!-- |
| 812 |
The RULES attribute defines which rules to draw between cells: |
| 813 |
|
| 814 |
If RULES is absent then assume: |
| 815 |
"none" if BORDER is absent or BORDER=0 otherwise "all" |
| 816 |
--> |
| 817 |
|
| 818 |
<!ENTITY % TRules "(none | groups | rows | cols | all)"> |
| 819 |
|
| 820 |
<!-- horizontal placement of table relative to document --> |
| 821 |
<!ENTITY % TAlign "(left|center|right)"> |
| 822 |
|
| 823 |
<!-- horizontal alignment attributes for cell contents --> |
| 824 |
<!ENTITY % cellhalign |
| 825 |
"align (left|center|right|justify|char) #IMPLIED |
| 826 |
char %Character; #IMPLIED -- alignment char, e.g. char=':' -- |
| 827 |
charoff %Length; #IMPLIED -- offset for alignment char --" |
| 828 |
> |
| 829 |
|
| 830 |
<!-- vertical alignment attributes for cell contents --> |
| 831 |
<!ENTITY % cellvalign |
| 832 |
"valign (top|middle|bottom|baseline) #IMPLIED" |
| 833 |
> |
| 834 |
|
| 835 |
<!ELEMENT TABLE - - |
| 836 |
(CAPTION?, (COL*|COLGROUP*), THEAD?, TFOOT?, TBODY+)> |
| 837 |
<!ELEMENT CAPTION - - (%inline;)* -- table caption --> |
| 838 |
<!ELEMENT THEAD - O (TR)+ -- table header --> |
| 839 |
<!ELEMENT TFOOT - O (TR)+ -- table footer --> |
| 840 |
<!ELEMENT TBODY O O (TR)+ -- table body --> |
| 841 |
<!ELEMENT COLGROUP - O (col)* -- table column group --> |
| 842 |
<!ELEMENT COL - O EMPTY -- table column --> |
| 843 |
<!ELEMENT TR - O (TH|TD)+ -- table row --> |
| 844 |
<!ELEMENT (TH|TD) - O (%flow;)* -- table header cell, table data cell--> |
| 845 |
|
| 846 |
<!ATTLIST TABLE -- table element -- |
| 847 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 848 |
summary %Text; #IMPLIED -- purpose/structure for speech output-- |
| 849 |
width %Length; #IMPLIED -- table width -- |
| 850 |
border %Pixels; #IMPLIED -- controls frame width around table -- |
| 851 |
frame %TFrame; #IMPLIED -- which parts of frame to render -- |
| 852 |
rules %TRules; #IMPLIED -- rulings between rows and cols -- |
| 853 |
cellspacing %Length; #IMPLIED -- spacing between cells -- |
| 854 |
cellpadding %Length; #IMPLIED -- spacing within cells -- |
| 855 |
align %TAlign; #IMPLIED -- table position relative to window -- |
| 856 |
bgcolor %Color; #IMPLIED -- background color for cells -- |
| 857 |
%reserved; -- reserved for possible future use -- |
| 858 |
datapagesize CDATA #IMPLIED -- reserved for possible future use -- |
| 859 |
> |
| 860 |
|
| 861 |
<!ENTITY % CAlign "(top|bottom|left|right)"> |
| 862 |
|
| 863 |
<!ATTLIST CAPTION |
| 864 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 865 |
align %CAlign; #IMPLIED -- relative to table -- |
| 866 |
> |
| 867 |
|
| 868 |
<!-- |
| 869 |
COLGROUP groups a set of COL elements. It allows you to group |
| 870 |
several semantically related columns together. |
| 871 |
--> |
| 872 |
<!ATTLIST COLGROUP |
| 873 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 874 |
span NUMBER 1 -- default number of columns in group -- |
| 875 |
width %MultiLength; #IMPLIED -- default width for enclosed COLs -- |
| 876 |
%cellhalign; -- horizontal alignment in cells -- |
| 877 |
%cellvalign; -- vertical alignment in cells -- |
| 878 |
> |
| 879 |
|
| 880 |
<!-- |
| 881 |
COL elements define the alignment properties for cells in |
| 882 |
one or more columns. |
| 883 |
|
| 884 |
The WIDTH attribute specifies the width of the columns, e.g. |
| 885 |
|
| 886 |
width=64 width in screen pixels |
| 887 |
width=0.5* relative width of 0.5 |
| 888 |
|
| 889 |
The SPAN attribute causes the attributes of one |
| 890 |
COL element to apply to more than one column. |
| 891 |
--> |
| 892 |
<!ATTLIST COL -- column groups and properties -- |
| 893 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 894 |
span NUMBER 1 -- COL attributes affect N columns -- |
| 895 |
width %MultiLength; #IMPLIED -- column width specification -- |
| 896 |
%cellhalign; -- horizontal alignment in cells -- |
| 897 |
%cellvalign; -- vertical alignment in cells -- |
| 898 |
> |
| 899 |
|
| 900 |
<!-- |
| 901 |
Use THEAD to duplicate headers when breaking table |
| 902 |
across page boundaries, or for static headers when |
| 903 |
TBODY sections are rendered in scrolling panel. |
| 904 |
|
| 905 |
Use TFOOT to duplicate footers when breaking table |
| 906 |
across page boundaries, or for static footers when |
| 907 |
TBODY sections are rendered in scrolling panel. |
| 908 |
|
| 909 |
Use multiple TBODY sections when rules are needed |
| 910 |
between groups of table rows. |
| 911 |
--> |
| 912 |
<!ATTLIST (THEAD|TBODY|TFOOT) -- table section -- |
| 913 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 914 |
%cellhalign; -- horizontal alignment in cells -- |
| 915 |
%cellvalign; -- vertical alignment in cells -- |
| 916 |
> |
| 917 |
|
| 918 |
<!ATTLIST TR -- table row -- |
| 919 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 920 |
%cellhalign; -- horizontal alignment in cells -- |
| 921 |
%cellvalign; -- vertical alignment in cells -- |
| 922 |
bgcolor %Color; #IMPLIED -- background color for row -- |
| 923 |
> |
| 924 |
|
| 925 |
|
| 926 |
<!-- Scope is simpler than axes attribute for common tables --> |
| 927 |
<!ENTITY % Scope "(row|col|rowgroup|colgroup)"> |
| 928 |
|
| 929 |
<!-- TH is for headers, TD for data, but for cells acting as both use TD --> |
| 930 |
<!ATTLIST (TH|TD) -- header or data cell -- |
| 931 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 932 |
abbr %Text; #IMPLIED -- abbreviation for header cell -- |
| 933 |
axis CDATA #IMPLIED -- names groups of related headers-- |
| 934 |
headers IDREFS #IMPLIED -- list of id's for header cells -- |
| 935 |
scope %Scope; #IMPLIED -- scope covered by header cells -- |
| 936 |
rowspan NUMBER 1 -- number of rows spanned by cell -- |
| 937 |
colspan NUMBER 1 -- number of cols spanned by cell -- |
| 938 |
%cellhalign; -- horizontal alignment in cells -- |
| 939 |
%cellvalign; -- vertical alignment in cells -- |
| 940 |
nowrap (nowrap) #IMPLIED -- suppress word wrap -- |
| 941 |
bgcolor %Color; #IMPLIED -- cell background color -- |
| 942 |
width %Pixels; #IMPLIED -- width for cell -- |
| 943 |
height %Pixels; #IMPLIED -- height for cell -- |
| 944 |
> |
| 945 |
|
| 946 |
<!--================== Document Frames ===================================--> |
| 947 |
|
| 948 |
<!-- |
| 949 |
The content model for HTML documents depends on whether the HEAD is |
| 950 |
followed by a FRAMESET or BODY element. The widespread omission of |
| 951 |
the BODY start tag makes it impractical to define the content model |
| 952 |
without the use of a marked section. |
| 953 |
--> |
| 954 |
|
| 955 |
<!-- Feature Switch for frameset documents --> |
| 956 |
<!ENTITY % HTML.Frameset "IGNORE"> |
| 957 |
|
| 958 |
<![ %HTML.Frameset; [ |
| 959 |
<!ELEMENT FRAMESET - - ((FRAMESET|FRAME)+ & NOFRAMES?) -- window subdivision--> |
| 960 |
<!ATTLIST FRAMESET |
| 961 |
%coreattrs; -- id, class, style, title -- |
| 962 |
rows %MultiLengths; #IMPLIED -- list of lengths, |
| 963 |
default: 100% (1 row) -- |
| 964 |
cols %MultiLengths; #IMPLIED -- list of lengths, |
| 965 |
default: 100% (1 col) -- |
| 966 |
onload %Script; #IMPLIED -- all the frames have been loaded -- |
| 967 |
onunload %Script; #IMPLIED -- all the frames have been removed -- |
| 968 |
> |
| 969 |
]]> |
| 970 |
|
| 971 |
<![ %HTML.Frameset; [ |
| 972 |
<!-- reserved frame names start with "_" otherwise starts with letter --> |
| 973 |
<!ELEMENT FRAME - O EMPTY -- subwindow --> |
| 974 |
<!ATTLIST FRAME |
| 975 |
%coreattrs; -- id, class, style, title -- |
| 976 |
longdesc %URI; #IMPLIED -- link to long description |
| 977 |
(complements title) -- |
| 978 |
name CDATA #IMPLIED -- name of frame for targetting -- |
| 979 |
src %URI; #IMPLIED -- source of frame content -- |
| 980 |
frameborder (1|0) 1 -- request frame borders? -- |
| 981 |
marginwidth %Pixels; #IMPLIED -- margin widths in pixels -- |
| 982 |
marginheight %Pixels; #IMPLIED -- margin height in pixels -- |
| 983 |
noresize (noresize) #IMPLIED -- allow users to resize frames? -- |
| 984 |
scrolling (yes|no|auto) auto -- scrollbar or none -- |
| 985 |
> |
| 986 |
]]> |
| 987 |
|
| 988 |
<!ELEMENT IFRAME - - (%flow;)* -- inline subwindow --> |
| 989 |
<!ATTLIST IFRAME |
| 990 |
%coreattrs; -- id, class, style, title -- |
| 991 |
longdesc %URI; #IMPLIED -- link to long description |
| 992 |
(complements title) -- |
| 993 |
name CDATA #IMPLIED -- name of frame for targetting -- |
| 994 |
src %URI; #IMPLIED -- source of frame content -- |
| 995 |
frameborder (1|0) 1 -- request frame borders? -- |
| 996 |
marginwidth %Pixels; #IMPLIED -- margin widths in pixels -- |
| 997 |
marginheight %Pixels; #IMPLIED -- margin height in pixels -- |
| 998 |
scrolling (yes|no|auto) auto -- scrollbar or none -- |
| 999 |
align %IAlign; #IMPLIED -- vertical or horizontal alignment -- |
| 1000 |
height %Length; #IMPLIED -- frame height -- |
| 1001 |
width %Length; #IMPLIED -- frame width -- |
| 1002 |
> |
| 1003 |
|
| 1004 |
<![ %HTML.Frameset; [ |
| 1005 |
<!ENTITY % noframes.content "(BODY) -(NOFRAMES)"> |
| 1006 |
]]> |
| 1007 |
|
| 1008 |
<!ENTITY % noframes.content "(%flow;)*"> |
| 1009 |
|
| 1010 |
<!ELEMENT NOFRAMES - - %noframes.content; |
| 1011 |
-- alternate content container for non frame-based rendering --> |
| 1012 |
<!ATTLIST NOFRAMES |
| 1013 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 1014 |
> |
| 1015 |
|
| 1016 |
<!--================ Document Head =======================================--> |
| 1017 |
<!-- %head.misc; defined earlier on as "SCRIPT|STYLE|META|LINK|OBJECT" --> |
| 1018 |
<!ENTITY % head.content "TITLE & ISINDEX? & BASE?"> |
| 1019 |
|
| 1020 |
<!ELEMENT HEAD O O (%head.content;) +(%head.misc;) -- document head --> |
| 1021 |
<!ATTLIST HEAD |
| 1022 |
%i18n; -- lang, dir -- |
| 1023 |
profile %URI; #IMPLIED -- named dictionary of meta info -- |
| 1024 |
> |
| 1025 |
|
| 1026 |
<!-- The TITLE element is not considered part of the flow of text. |
| 1027 |
It should be displayed, for example as the page header or |
| 1028 |
window title. Exactly one title is required per document. |
| 1029 |
--> |
| 1030 |
<!ELEMENT TITLE - - (#PCDATA) -(%head.misc;) -- document title --> |
| 1031 |
<!ATTLIST TITLE %i18n> |
| 1032 |
|
| 1033 |
<!ELEMENT ISINDEX - O EMPTY -- single line prompt --> |
| 1034 |
<!ATTLIST ISINDEX |
| 1035 |
%coreattrs; -- id, class, style, title -- |
| 1036 |
%i18n; -- lang, dir -- |
| 1037 |
prompt %Text; #IMPLIED -- prompt message --> |
| 1038 |
|
| 1039 |
<!ELEMENT BASE - O EMPTY -- document base URI --> |
| 1040 |
<!ATTLIST BASE |
| 1041 |
href %URI; #IMPLIED -- URI that acts as base URI -- |
| 1042 |
target %FrameTarget; #IMPLIED -- render in this frame -- |
| 1043 |
> |
| 1044 |
|
| 1045 |
<!ELEMENT META - O EMPTY -- generic metainformation --> |
| 1046 |
<!ATTLIST META |
| 1047 |
%i18n; -- lang, dir, for use with content -- |
| 1048 |
http-equiv NAME #IMPLIED -- HTTP response header name -- |
| 1049 |
name NAME #IMPLIED -- metainformation name -- |
| 1050 |
content CDATA #REQUIRED -- associated information -- |
| 1051 |
scheme CDATA #IMPLIED -- select form of content -- |
| 1052 |
> |
| 1053 |
|
| 1054 |
<!ELEMENT STYLE - - %StyleSheet -- style info --> |
| 1055 |
<!ATTLIST STYLE |
| 1056 |
%i18n; -- lang, dir, for use with title -- |
| 1057 |
type %ContentType; #REQUIRED -- content type of style language -- |
| 1058 |
media %MediaDesc; #IMPLIED -- designed for use with these media -- |
| 1059 |
title %Text; #IMPLIED -- advisory title -- |
| 1060 |
> |
| 1061 |
|
| 1062 |
<!ELEMENT SCRIPT - - %Script; -- script statements --> |
| 1063 |
<!ATTLIST SCRIPT |
| 1064 |
charset %Charset; #IMPLIED -- char encoding of linked resource -- |
| 1065 |
type %ContentType; #REQUIRED -- content type of script language -- |
| 1066 |
language CDATA #IMPLIED -- predefined script language name -- |
| 1067 |
src %URI; #IMPLIED -- URI for an external script -- |
| 1068 |
defer (defer) #IMPLIED -- UA may defer execution of script -- |
| 1069 |
event CDATA #IMPLIED -- reserved for possible future use -- |
| 1070 |
for %URI; #IMPLIED -- reserved for possible future use -- |
| 1071 |
> |
| 1072 |
|
| 1073 |
<!ELEMENT NOSCRIPT - - (%flow;)* |
| 1074 |
-- alternate content container for non script-based rendering --> |
| 1075 |
<!ATTLIST NOSCRIPT |
| 1076 |
%attrs; -- %coreattrs, %i18n, %events -- |
| 1077 |
> |
| 1078 |
|
| 1079 |
<!--================ Document Structure ==================================--> |
| 1080 |
<!ENTITY % version "version CDATA #FIXED '%HTML.Version;'"> |
| 1081 |
|
| 1082 |
<![ %HTML.Frameset; [ |
| 1083 |
<!ENTITY % html.content "HEAD, FRAMESET"> |
| 1084 |
]]> |
| 1085 |
|
| 1086 |
<!ENTITY % html.content "HEAD, BODY"> |
| 1087 |
|
| 1088 |
<!ELEMENT HTML O O (%html.content;) -- document root element --> |
| 1089 |
<!ATTLIST HTML |
| 1090 |
%i18n; -- lang, dir -- |
| 1091 |
%version; |
| 1092 |
> |