| 1 |
<!SGML "ISO 8879:1986" |
<!-- html.dtd |
|
-- |
|
|
Document Type Definition for the HyperText Markup Language |
|
|
as used by the World Wide Web application (HTML DTD). |
|
|
|
|
|
NOTE: This is a definition of HTML with respect to |
|
|
SGML, and assumes an understaning of SGML terms. |
|
|
|
|
|
For a description of HTML in layman's terms, see |
|
|
|
|
|
"HTML: A Representation for Nodes in the World Wide Web" |
|
|
by Dan Connolly. |
|
|
|
|
|
aka |
|
|
|
|
|
http://info.cern.ch/hypertext/WWW/MarkUp/MarkUp.html |
|
|
by <connolly@convex.com> |
|
|
-- |
|
|
|
|
|
CHARSET |
|
|
BASESET "ISO 646:1983//CHARSET |
|
|
International Reference Version (IRV)//ESC 2/5 4/0" |
|
|
DESCSET 0 9 UNUSED |
|
|
9 2 9 |
|
|
11 2 UNUSED |
|
|
13 1 13 |
|
|
14 18 UNUSED |
|
|
32 95 32 |
|
|
127 1 UNUSED |
|
|
|
|
|
CAPACITY SGMLREF |
|
|
TOTALCAP 150000 |
|
|
GRPCAP 150000 |
|
|
|
|
|
SCOPE DOCUMENT |
|
|
SYNTAX |
|
|
SHUNCHAR CONTROLS 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
|
|
19 20 21 22 23 24 25 26 27 28 29 30 31 127 255 |
|
|
BASESET "ISO 646:1983//CHARSET |
|
|
International Reference Version (IRV)//ESC 2/5 4/0" |
|
|
DESCSET 0 128 0 |
|
|
FUNCTION RE 13 |
|
|
RS 10 |
|
|
SPACE 32 |
|
|
TAB SEPCHAR 9 |
|
|
NAMING LCNMSTRT "" |
|
|
UCNMSTRT "" |
|
|
LCNMCHAR ".-" |
|
|
UCNMCHAR ".-" |
|
|
NAMECASE GENERAL YES |
|
|
ENTITY NO |
|
|
DELIM GENERAL SGMLREF |
|
|
SHORTREF SGMLREF |
|
|
NAMES SGMLREF |
|
|
QUANTITY SGMLREF |
|
|
NAMELEN 34 |
|
|
TAGLVL 100 |
|
|
LITLEN 1024 |
|
|
GRPGTCNT 150 |
|
|
GRPCNT 64 |
|
|
|
|
|
FEATURES |
|
|
MINIMIZE |
|
|
DATATAG NO |
|
|
OMITTAG NO |
|
|
RANK NO |
|
|
SHORTTAG NO |
|
|
LINK |
|
|
SIMPLE NO |
|
|
IMPLICIT NO |
|
|
EXPLICIT NO |
|
|
OTHER |
|
|
CONCUR NO |
|
|
SUBDOC NO |
|
|
FORMAL YES |
|
|
APPINFO NONE |
|
|
> |
|
|
|
|
|
<!DOCTYPE HTML [ |
|
|
<!-- |
|
|
$Id$ |
|
|
--> |
|
| 2 |
|
|
| 3 |
<!-- Regarding clause 6.1, SGML Document: |
Document Type Definition for the HyperText Markup Language (HTML DTD) |
| 4 |
|
|
| 5 |
[1] SGML document = SGML document entity, |
$Id$ |
|
(SGML subdocument entity | |
|
|
SGML text entity | non-SGML data entity)* |
|
| 6 |
|
|
| 7 |
The role of SGML document entity is filled by this DTD, |
Author: Daniel W. Connolly <connolly@hal.com> |
| 8 |
followed by the conventional HTML data stream. |
See Also: html.decl, html-0.dtd, html-1.dtd |
| 9 |
|
http://www.hal.com/%7Econnolly/html-spec/index.html |
| 10 |
|
http://info.cern.ch/hypertext/WWW/MarkUp2/MarkUp.html |
| 11 |
--> |
--> |
| 12 |
|
|
| 13 |
<!-- DTD definitions --> |
<!ENTITY % HTML.Version |
| 14 |
|
"-//IETF//DTD HTML 2.0//EN" |
| 15 |
|
|
| 16 |
|
-- Typical usage: |
| 17 |
|
|
| 18 |
|
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| 19 |
|
<html> |
| 20 |
|
... |
| 21 |
|
</html> |
| 22 |
|
-- |
| 23 |
|
> |
| 24 |
|
|
| 25 |
|
|
| 26 |
|
<!--================== Feature Test Entities ==============================--> |
| 27 |
|
|
| 28 |
|
<!ENTITY % HTML.Recommended "IGNORE" |
| 29 |
|
-- Certain features of the language are necessary for compatibility |
| 30 |
|
with widespread usage, but they may compromise the structural |
| 31 |
|
integrity of a document. This feature test entity enables |
| 32 |
|
a more prescriptive document type definition that eliminates |
| 33 |
|
those features. |
| 34 |
|
--> |
| 35 |
|
|
| 36 |
|
<![ %HTML.Recommended [ |
| 37 |
|
<!ENTITY % HTML.Deprecated "IGNORE"> |
| 38 |
|
]]> |
| 39 |
|
|
| 40 |
|
<!ENTITY % HTML.Deprecated "INCLUDE" |
| 41 |
|
-- Certain features of the language are necessary for compatibility |
| 42 |
|
with earlier versions of the specification, but they tend |
| 43 |
|
to be used an implemented inconsistently, and their use is |
| 44 |
|
deprecated. This feature test entity enables a document type |
| 45 |
|
definition that eliminates these features. |
| 46 |
|
--> |
| 47 |
|
|
| 48 |
|
<!ENTITY % HTML.Highlighting "INCLUDE" |
| 49 |
|
-- Use this feature test entity to validate that a document |
| 50 |
|
uses no highlighting tags, which may be ignored on minimal |
| 51 |
|
implementations. |
| 52 |
|
--> |
| 53 |
|
|
| 54 |
|
<!ENTITY % HTML.Forms "INCLUDE" |
| 55 |
|
-- Use this feature test entity to validate that a document |
| 56 |
|
contains no forms, which may not be supported in minimal |
| 57 |
|
implementations |
| 58 |
|
--> |
| 59 |
|
|
| 60 |
|
<!--================== Imported Names =====================================--> |
| 61 |
|
|
| 62 |
|
<!ENTITY % Content-Type "CDATA" |
| 63 |
|
-- meaning an internet media type |
| 64 |
|
(aka MIME content type, as per RFC1521) |
| 65 |
|
--> |
| 66 |
|
|
| 67 |
|
<!ENTITY % HTTP-Method "GET | POST" |
| 68 |
|
-- as per HTTP specification, in progress |
| 69 |
|
--> |
| 70 |
|
|
| 71 |
|
<!ENTITY % URI "CDATA" |
| 72 |
|
-- The term URI means a CDATA attribute |
| 73 |
|
whose value is a Uniform Resource Identifier, |
| 74 |
|
as defined by |
| 75 |
|
"Universal Resource Identifiers" by Tim Berners-Lee |
| 76 |
|
aka http://info.cern.ch/hypertext/WWW/Addressing/URL/URI_Overview.html |
| 77 |
|
aka RFC 1630 |
| 78 |
|
|
| 79 |
|
Note that CDATA attributes are limited by the LITLEN |
| 80 |
|
capacity (1024 in the current version of html.decl), |
| 81 |
|
so that URIs in HTML have a bounded length. |
| 82 |
|
|
| 83 |
|
--> |
| 84 |
|
|
| 85 |
|
|
| 86 |
<!ENTITY % heading "H1|H2|H3|H4|H5|H6" > |
<!--================== DTD "Macros" =======================================--> |
|
<!ENTITY % list "UL|OL|DIR|MENU"> |
|
|
<!ENTITY % literal "XMP|LISTING"> |
|
| 87 |
|
|
| 88 |
<!ENTITY % headelement |
<!ENTITY % heading "H1|H2|H3|H4|H5|H6"> |
|
"TITLE | NEXTID | ISINDEX" > |
|
| 89 |
|
|
| 90 |
<!ENTITY % bodyelement |
<!ENTITY % list " UL | OL | DIR | MENU " > |
|
"P | A | %heading | |
|
|
%list | DL | HEADERS | ADDRESS | PRE | BLOCKQUOTE |
|
|
| %literal"> |
|
| 91 |
|
|
|
<!ENTITY % oldstyle "%headelement | %bodyelement | #PCDATA"> |
|
| 92 |
|
|
| 93 |
<!-- Characters from various Latin alphabets. --> |
<!--================ Character mnemonic entities ==========================--> |
| 94 |
|
|
| 95 |
<!ENTITY % ISOlat1 PUBLIC |
<!ENTITY % ISOlat1 PUBLIC |
| 96 |
"ISO 8879:1986//ENTITIES Added Latin 1//EN"> |
"ISO 8879-1986//ENTITIES Added Latin 1//EN//HTML"> |
| 97 |
%ISOlat1; |
%ISOlat1; |
| 98 |
|
|
| 99 |
|
<!ENTITY amp CDATA "&" -- ampersand --> |
| 100 |
|
<!ENTITY gt CDATA ">" -- greater than --> |
| 101 |
|
<!ENTITY lt CDATA "<" -- less than --> |
| 102 |
|
<!ENTITY quot CDATA """ -- double quote --> |
| 103 |
|
|
| 104 |
|
|
| 105 |
|
<!--=================== SGML Document Access (SDA) Parameter Entities =====--> |
| 106 |
|
|
| 107 |
|
<!-- HTML 2.0 contains SGML Document Access (SDA) fixed attributes in |
| 108 |
|
support of easy transformation to the International Committee for |
| 109 |
|
Accessible Document Design (ICADD) DTD "-//EC-USA-CDA/ICADD//DTD |
| 110 |
|
ICADD22//EN". ICADD applications are designed to support usable access |
| 111 |
|
to structured information by print-impaired individuals through Braille, |
| 112 |
|
large print and voice synthesis. For more information on SDA & ICADD: |
| 113 |
|
- ISO 12083:1993, Annex A.8, Facilities for Braille, large print |
| 114 |
|
and computer voice |
| 115 |
|
- ICADD ListServ <ICADD%ASUACAD.BITNET@ARIZVM1.ccit.arizona.edu> |
| 116 |
|
- Usenet news group bit.listserv.easi |
| 117 |
|
- Recording for the Blind, +1 800 221 4792 |
| 118 |
|
--> |
| 119 |
|
|
| 120 |
<!-- Document Element --> |
<!ENTITY % SDAFORM "SDAFORM CDATA #FIXED" -- one to one mapping --> |
| 121 |
|
<!ENTITY % SDARULE "SDARULE CDATA #FIXED" -- context-sensitive mapping --> |
| 122 |
|
<!ENTITY % SDAPREF "SDAPREF CDATA #FIXED" -- generated text prefix --> |
| 123 |
|
<!ENTITY % SDASUFF "SDASUFF CDATA #FIXED" -- generated text suffix --> |
| 124 |
|
<!ENTITY % SDASUSP "SDASUSP NAME #FIXED" -- suspend transform process --> |
| 125 |
|
|
|
<!ELEMENT HTML O O (HEAD | BODY | %oldstyle)*> |
|
| 126 |
|
|
| 127 |
<!ELEMENT HEAD - - (TITLE? & ISINDEX? & NEXTID?)> |
<!--=================== Text Markup =======================================--> |
|
<!-- LINK element (from timbl) --> |
|
|
<!ATTLIST HEAD |
|
|
EXPIRES NUMBER #IMPLIED -- expiration date |
|
|
in ISO format: yyyymmddhhmmssZ -- |
|
|
> |
|
| 128 |
|
|
| 129 |
<!ELEMENT TITLE - - RCDATA |
<![ %HTML.Highlighting [ |
| 130 |
-- The TITLE element is not considered part of the flow of text. |
|
| 131 |
It should be displayed, for example as the page header or |
<!ENTITY % font " TT | B | I "> |
|
window title. |
|
|
--> |
|
|
|
|
|
<!ELEMENT ISINDEX - O EMPTY |
|
|
-- WWW clients should offer the option to perform a search on |
|
|
documents containing ISINDEX. |
|
|
--> |
|
|
|
|
|
<!ELEMENT NEXTID - O EMPTY> |
|
|
<!ATTLIST NEXTID N NUMBER #REQUIRED |
|
|
-- The number should be the highest number that appears in |
|
|
any NAME attribute in the document. |
|
|
--> |
|
|
|
|
|
<!ENTITY % inline "EM | TT | STRONG | B | I | U | |
|
|
CODE | SAMP | KBD | KEY | VAR | DFN | CITE " |
|
|
> |
|
| 132 |
|
|
| 133 |
<!ELEMENT (%inline;) - - (#PCDATA)> |
<!ENTITY % phrase "EM | STRONG | CODE | SAMP | KBD | VAR | CITE "> |
| 134 |
|
|
| 135 |
<!ENTITY % text "#PCDATA | %inline;"> |
<!ENTITY % text "#PCDATA | A | IMG | BR | %phrase | %font"> |
| 136 |
|
|
| 137 |
|
<!ELEMENT (%font;|%phrase) - - (%text)*> |
| 138 |
|
<!ATTLIST ( TT | CODE | SAMP | KBD | VAR ) |
| 139 |
|
%SDAFORM; "Lit" |
| 140 |
|
> |
| 141 |
|
<!ATTLIST ( B | STRONG ) |
| 142 |
|
%SDAFORM; "B" |
| 143 |
|
> |
| 144 |
|
<!ATTLIST ( I | EM | CITE ) |
| 145 |
|
%SDAFORM; "It" |
| 146 |
|
> |
| 147 |
|
|
| 148 |
|
<!-- <TT> Typewriter text --> |
| 149 |
|
<!-- <B> Bold text --> |
| 150 |
|
<!-- <I> Italic text --> |
| 151 |
|
|
| 152 |
|
<!-- <EM> Emphasized phrase --> |
| 153 |
|
<!-- <STRONG> Strong emphais --> |
| 154 |
|
<!-- <CODE> Source code phrase --> |
| 155 |
|
<!-- <SAMP> Sample text or characters --> |
| 156 |
|
<!-- <KBD> Keyboard phrase, e.g. user input --> |
| 157 |
|
<!-- <VAR> Variable phrase or substituable --> |
| 158 |
|
<!-- <CITE> Name or title of cited work --> |
| 159 |
|
|
| 160 |
|
<!ENTITY % pre.content "#PCDATA | A | HR | BR | %font | %phrase"> |
| 161 |
|
|
| 162 |
|
]]> |
| 163 |
|
|
| 164 |
|
<!ENTITY % text "#PCDATA | A | IMG | BR"> |
| 165 |
|
|
| 166 |
|
<!ELEMENT BR - O EMPTY> |
| 167 |
|
<!ATTLIST BR |
| 168 |
|
%SDAPREF; "&#RE;" |
| 169 |
|
> |
| 170 |
|
|
| 171 |
<!ELEMENT BODY - - (%bodyelement|%text;)*> |
<!-- <BR> Line break --> |
| 172 |
|
|
| 173 |
<!ENTITY % URL "CDATA" |
|
| 174 |
-- The term URL means a CDATA attribute |
<!--================== Link Markup ========================================--> |
| 175 |
whose value is a Universal Resource Locator, |
|
| 176 |
as defined in ftp://info.cern.ch/pub/www/doc/url3.txt |
<![ %HTML.Recommended [ |
| 177 |
|
<!ENTITY % linkName "ID"> |
| 178 |
|
]]> |
| 179 |
|
|
| 180 |
|
<!ENTITY % linkName "CDATA"> |
| 181 |
|
|
| 182 |
|
<!ENTITY % linkType "NAME" |
| 183 |
|
-- a list of these will be specified at a later date --> |
| 184 |
|
|
| 185 |
|
<!ENTITY % linkExtraAttributes |
| 186 |
|
"REL %linkType #IMPLIED |
| 187 |
|
REV %linkType #IMPLIED |
| 188 |
|
URN CDATA #IMPLIED |
| 189 |
|
TITLE CDATA #IMPLIED |
| 190 |
|
METHODS NAMES #IMPLIED |
| 191 |
|
"> |
| 192 |
|
|
| 193 |
|
<![ %HTML.Recommended [ |
| 194 |
|
<!ENTITY % A.content "(%text)*" |
| 195 |
|
-- <H1><a name="xxx">Heading</a></H1> |
| 196 |
|
is preferred to |
| 197 |
|
<a name="xxx"><H1>Heading</H1></a> |
| 198 |
--> |
--> |
| 199 |
|
]]> |
| 200 |
|
|
| 201 |
|
<!ENTITY % A.content "(%heading|%text)*"> |
| 202 |
|
|
| 203 |
<!ELEMENT A - - (#PCDATA)> |
<!ELEMENT A - - %A.content -(A)> |
| 204 |
<!ATTLIST A |
<!ATTLIST A |
| 205 |
NAME NMTOKEN #IMPLIED |
HREF %URI #IMPLIED |
| 206 |
HREF %URL; #IMPLIED |
NAME %linkName #IMPLIED |
| 207 |
TYPE NAME #IMPLIED -- type of relashionship to referent data: |
%linkExtraAttributes; |
| 208 |
PARENT CHILD, SIBLING, NEXT, TOP, |
%SDAPREF; "<?SDATrans A: #AttList>" |
| 209 |
DEFINITION, UPDATE, ORIGINAL etc. -- |
> |
| 210 |
URN CDATA #IMPLIED -- universal resource number. unique doc id -- |
<!-- <A> Anchor; source and/or destination of a link --> |
| 211 |
TITLE CDATA #IMPLIED -- advisory only -- |
<!-- <A NAME="..."> Name of this anchor --> |
| 212 |
METHODS NAMES #IMPLIED -- supported methods of the object: |
<!-- <A HREF="..."> Address of link destination --> |
| 213 |
TEXTSEARCH, GET, HEAD, ... -- |
<!-- <A URN="..."> Permanent address of destination --> |
| 214 |
> |
<!-- <A REL=...> Relationship of this anchor to destination --> |
| 215 |
|
<!-- <A REV=...> Relationship of destination to this anchor --> |
| 216 |
<!ELEMENT P - O EMPTY -- separates paragraphs --> |
<!-- <A TITLE="..."> Title of destination (advisory) --> |
| 217 |
|
<!-- <A METHODS="..."> Operations allowed on destination (advisory) --> |
| 218 |
<!ELEMENT (%heading) - - (%text;|A)+> |
|
| 219 |
|
|
| 220 |
<!ELEMENT HEADERS - - (DT | #PCDATA | DD | A)+> |
<!--=================== Images ============================================--> |
| 221 |
<!ELEMENT DL - - (DT | DD | A | P | %text;)*> |
|
| 222 |
<!-- Content should match ((DT,(A|%text;)+)+,(DD,(A|%text;)+)) |
<!ELEMENT IMG - O EMPTY> |
| 223 |
But mixed content is messy. |
<!ATTLIST IMG |
| 224 |
--> |
SRC %URI; #REQUIRED |
| 225 |
|
ALT CDATA #IMPLIED |
| 226 |
<!ELEMENT DT - O EMPTY> |
ALIGN (top|middle|bottom) #IMPLIED |
| 227 |
<!ELEMENT DD - O EMPTY> |
ISMAP (ISMAP) #IMPLIED |
| 228 |
|
%SDAPREF; "<Fig><?SDATrans Img: #AttList>#AttVal(Alt)</Fig>" |
| 229 |
<!ELEMENT (%list) - - (%text;|LI|A|P)+> |
> |
| 230 |
<!-- Content should match ((LI,(A|%text;)+)+) |
|
| 231 |
But mixed content is messy. |
<!-- <IMG> Image; icon, glyph or illustration --> |
| 232 |
--> |
<!-- <IMG SRC="..."> Address of image object --> |
| 233 |
<!ATTLIST (%list) |
<!-- <IMG ALT="..."> Textual alternative --> |
| 234 |
STYLE NAME #IMPLIED -- COMPACT, etc.-- |
<!-- <IMG ALIGN=...> Position relative to text --> |
| 235 |
|
<!-- <IMG ISMAP> Each pixel can be a link --> |
| 236 |
|
|
| 237 |
|
<!--=================== Paragraphs=========================================--> |
| 238 |
|
|
| 239 |
|
<!ELEMENT P - O (%text)*> |
| 240 |
|
<!ATTLIST P |
| 241 |
|
%SDAFORM; "Para" |
| 242 |
|
> |
| 243 |
|
|
| 244 |
|
<!-- <P> Paragraph --> |
| 245 |
|
|
| 246 |
|
|
| 247 |
|
<!--=================== Headings, Titles, Sections ========================--> |
| 248 |
|
|
| 249 |
|
<!ELEMENT HR - O EMPTY> |
| 250 |
|
<!ATTLIST HR |
| 251 |
|
%SDAPREF; "<Para><?SDATrans HR: #AttList></Para>" |
| 252 |
|
> |
| 253 |
|
|
| 254 |
|
<!-- <HR> Horizontal rule --> |
| 255 |
|
|
| 256 |
|
<!ELEMENT ( %heading ) - - (%text;)*> |
| 257 |
|
<!ATTLIST H1 |
| 258 |
|
%SDAFORM; "H1" |
| 259 |
|
> |
| 260 |
|
<!ATTLIST H2 |
| 261 |
|
%SDAFORM; "H2" |
| 262 |
|
> |
| 263 |
|
<!ATTLIST H3 |
| 264 |
|
%SDAFORM; "H3" |
| 265 |
|
> |
| 266 |
|
<!ATTLIST H4 |
| 267 |
|
%SDAFORM; "H4" |
| 268 |
|
> |
| 269 |
|
<!ATTLIST H5 |
| 270 |
|
%SDAFORM; "H5" |
| 271 |
|
> |
| 272 |
|
<!ATTLIST H6 |
| 273 |
|
%SDAFORM; "H6" |
| 274 |
|
> |
| 275 |
|
|
| 276 |
|
<!-- <H1> Heading, level 1 --> |
| 277 |
|
<!-- <H2> Heading, level 2 --> |
| 278 |
|
<!-- <H3> Heading, level 3 --> |
| 279 |
|
<!-- <H4> Heading, level 4 --> |
| 280 |
|
<!-- <H5> Heading, level 5 --> |
| 281 |
|
<!-- <H6> Heading, level 6 --> |
| 282 |
|
|
| 283 |
|
|
| 284 |
|
<!--=================== Text Flows ========================================--> |
| 285 |
|
|
| 286 |
|
<![ %HTML.Forms [ |
| 287 |
|
<!ENTITY % block.forms "BLOCKQUOTE | FORM | ISINDEX"> |
| 288 |
|
]]> |
| 289 |
|
|
| 290 |
|
<!ENTITY % block.forms "BLOCKQUOTE"> |
| 291 |
|
|
| 292 |
|
<![ %HTML.Deprecated [ |
| 293 |
|
<!ENTITY % preformatted "PRE | XMP | LISTING"> |
| 294 |
|
]]> |
| 295 |
|
|
| 296 |
|
<!ENTITY % preformatted "PRE"> |
| 297 |
|
|
| 298 |
|
<!ENTITY % block "P | %list | DL |
| 299 |
|
| %preformatted |
| 300 |
|
| %block.forms"> |
| 301 |
|
|
| 302 |
|
<!ENTITY % flow "(%text|%block)*"> |
| 303 |
|
|
| 304 |
|
<!ENTITY % pre.content "#PCDATA | A | HR | BR"> |
| 305 |
|
<!ELEMENT PRE - - (%pre.content)*> |
| 306 |
|
<!ATTLIST PRE |
| 307 |
|
WIDTH NUMBER #implied |
| 308 |
|
%SDAFORM; "Lit" |
| 309 |
|
%SDAPREF; "<?SDATrans Pre: #AttList>" |
| 310 |
|
> |
| 311 |
|
|
| 312 |
|
<!-- <PRE> Preformatted text --> |
| 313 |
|
<!-- <PRE WIDTH=...> Maximum characters per line --> |
| 314 |
|
|
| 315 |
|
<![ %HTML.Deprecated [ |
| 316 |
|
|
| 317 |
|
<!ENTITY % literal "CDATA" |
| 318 |
|
-- historical, non-conforming parsing mode where |
| 319 |
|
the only markup signal is the end tag |
| 320 |
|
in full |
| 321 |
|
--> |
| 322 |
|
|
| 323 |
|
<!ELEMENT (XMP|LISTING) - - %literal> |
| 324 |
|
<!ATTLIST XMP |
| 325 |
|
%SDAFORM; "Lit" |
| 326 |
|
%SDAPREF; "Example:&#RE;" |
| 327 |
|
> |
| 328 |
|
<!ATTLIST LISTING |
| 329 |
|
%SDAFORM; "Lit" |
| 330 |
|
%SDAPREF; "Listing:&#RE;" |
| 331 |
|
> |
| 332 |
|
|
| 333 |
|
<!-- <XMP> Example section --> |
| 334 |
|
<!-- <LISTING> Computer listing --> |
| 335 |
|
|
| 336 |
|
<!ELEMENT PLAINTEXT - O %literal> |
| 337 |
|
<!-- <PLAINTEXT> Plain text passage --> |
| 338 |
|
|
| 339 |
|
<!ATTLIST PLAINTEXT |
| 340 |
|
%SDAFORM; "Lit" |
| 341 |
|
> |
| 342 |
|
]]> |
| 343 |
|
|
| 344 |
|
|
| 345 |
|
<!--=================== Lists =============================================--> |
| 346 |
|
|
| 347 |
|
<!ELEMENT DL - - (DT | DD)+> |
| 348 |
|
<!ATTLIST DL |
| 349 |
|
COMPACT (COMPACT) #IMPLIED |
| 350 |
|
%SDAFORM; "List" |
| 351 |
|
%SDAPREF; "<?SDATrans DL: #AttList>" |
| 352 |
> |
> |
| 353 |
|
|
| 354 |
<!ELEMENT LI - O EMPTY> |
<!ELEMENT DT - O (%text)*> |
| 355 |
|
<!ATTLIST DT |
| 356 |
|
%SDAFORM; "Term" |
| 357 |
|
> |
| 358 |
|
|
| 359 |
|
<!ELEMENT DD - O %flow> |
| 360 |
|
<!ATTLIST DD |
| 361 |
|
%SDAFORM; "LItem" |
| 362 |
|
> |
| 363 |
|
|
| 364 |
|
<!-- <DL> Definition list, or glossary --> |
| 365 |
|
<!-- <DL COMPACT> Compact style list --> |
| 366 |
|
<!-- <DT> Term in definition list --> |
| 367 |
|
<!-- <DD> Definition of term --> |
| 368 |
|
|
| 369 |
|
<!ELEMENT (OL|UL) - - (LI)+> |
| 370 |
|
<!ATTLIST OL |
| 371 |
|
COMPACT (COMPACT) #IMPLIED |
| 372 |
|
%SDAFORM; "List" |
| 373 |
|
%SDAPREF; "<?SDATrans OL: #AttList>" |
| 374 |
|
> |
| 375 |
|
<!ATTLIST UL |
| 376 |
|
COMPACT (COMPACT) #IMPLIED |
| 377 |
|
%SDAFORM; "List" |
| 378 |
|
%SDAPREF; "<?SDATrans UL: #AttList>" |
| 379 |
|
> |
| 380 |
|
<!-- <UL> Unordered list --> |
| 381 |
|
<!-- <UL COMPACT> Compact list style --> |
| 382 |
|
<!-- <OL> Ordered, or numbered list --> |
| 383 |
|
<!-- <OL COMPACT> Compact list style --> |
| 384 |
|
|
| 385 |
|
|
| 386 |
|
<!ELEMENT (DIR|MENU) - - (LI)+ -(%block)> |
| 387 |
|
<!ATTLIST DIR |
| 388 |
|
COMPACT (COMPACT) #IMPLIED |
| 389 |
|
%SDAFORM; "List" |
| 390 |
|
%SDAPREF; "<?SDATrans Dir: #AttList><LHead>Directory</LHead>" |
| 391 |
|
> |
| 392 |
|
<!ATTLIST MENU |
| 393 |
|
COMPACT (COMPACT) #IMPLIED |
| 394 |
|
%SDAFORM; "List" |
| 395 |
|
%SDAPREF; "<?SDATrans Menu: #AttList><LHead>Menu</LHead>" |
| 396 |
|
> |
| 397 |
|
|
| 398 |
|
<!-- <DIR> Directory list --> |
| 399 |
|
<!-- <DIR COMPACT> Compact list style --> |
| 400 |
|
<!-- <MENU> Menu list --> |
| 401 |
|
<!-- <MENU COMPACT> Compact list style --> |
| 402 |
|
|
| 403 |
|
<!ELEMENT LI - O %flow> |
| 404 |
|
<!ATTLIST LI |
| 405 |
|
%SDAFORM; "LItem" |
| 406 |
|
> |
| 407 |
|
|
| 408 |
|
<!-- <LI> List item --> |
| 409 |
|
|
| 410 |
|
<!--=================== Document Body =====================================--> |
| 411 |
|
|
| 412 |
|
<![ %HTML.Recommended [ |
| 413 |
|
<!ENTITY % body.content "(%heading|%block|HR|ADDRESS)*" |
| 414 |
|
-- <h1>Heading</h1> |
| 415 |
|
<p>Text ... |
| 416 |
|
is preferred to |
| 417 |
|
<h1>Heading</h1> |
| 418 |
|
Text ... |
| 419 |
|
--> |
| 420 |
|
]]> |
| 421 |
|
|
| 422 |
|
<!ENTITY % body.content "(%heading | %text | %block | HR | ADDRESS)*"> |
| 423 |
|
|
| 424 |
|
<!ELEMENT BODY O O %body.content> |
| 425 |
|
<!ATTLIST BODY |
| 426 |
|
%SDAPREF; "<?SDATrans Body: #AttList>" |
| 427 |
|
> |
| 428 |
|
|
| 429 |
|
<!-- <BODY> Document body --> |
| 430 |
|
|
| 431 |
<!ELEMENT BLOCKQUOTE - - (%text;|A|P|ADDRESS)+ |
<!ELEMENT BLOCKQUOTE - - %body.content> |
|
-- for quoting some other source --> |
|
| 432 |
<!ATTLIST BLOCKQUOTE |
<!ATTLIST BLOCKQUOTE |
| 433 |
SOURCE CDATA #IMPLIED |
%SDAFORM; "BQ" |
| 434 |
|
> |
| 435 |
|
|
| 436 |
|
<!-- <BLOCKQUOTE> Quoted passage --> |
| 437 |
|
|
| 438 |
|
<!ELEMENT ADDRESS - - (%text|P)*> |
| 439 |
|
<!ATTLIST ADDRESS |
| 440 |
|
%SDAFORM; "Lit" |
| 441 |
|
%SDAPREF; "Address:&#RE;" |
| 442 |
|
> |
| 443 |
|
|
| 444 |
|
<!-- <ADDRESS> Address, signature, or byline for document or passage --> |
| 445 |
|
|
| 446 |
|
|
| 447 |
|
<!--================ Forms ===============================================--> |
| 448 |
|
|
| 449 |
|
<![ %HTML.Forms [ |
| 450 |
|
|
| 451 |
|
<!ELEMENT FORM - - %body.content -(FORM) +(INPUT|SELECT|TEXTAREA)> |
| 452 |
|
<!ATTLIST FORM |
| 453 |
|
ACTION %URI #IMPLIED |
| 454 |
|
METHOD (%HTTP-Method) GET |
| 455 |
|
ENCTYPE %Content-Type; "application/x-www-form-urlencoded" |
| 456 |
|
%SDAPREF; "<Para><?SDATrans Form: #AttList>Form:</Para>" |
| 457 |
|
%SDASUFF; "<Para><?SDATrans Form: #End>Form End.</Para>" |
| 458 |
> |
> |
| 459 |
|
|
| 460 |
<!ELEMENT ADDRESS - - (%text;|A|P)+> |
<!-- <FORM> Fill-out or data-entry form --> |
| 461 |
|
<!-- <FORM ACTION="..."> Address for completed form --> |
| 462 |
|
<!-- <FORM METHOD=...> Method of submitting form --> |
| 463 |
|
<!-- <FORM ENCTYPE="..."> Representation of form data --> |
| 464 |
|
|
| 465 |
|
<!ENTITY % InputType "(TEXT | PASSWORD | CHECKBOX | |
| 466 |
|
RADIO | SUBMIT | RESET | |
| 467 |
|
IMAGE | HIDDEN )"> |
| 468 |
|
<!ELEMENT INPUT - O EMPTY> |
| 469 |
|
<!ATTLIST INPUT |
| 470 |
|
TYPE %InputType TEXT |
| 471 |
|
NAME CDATA #IMPLIED |
| 472 |
|
VALUE CDATA #IMPLIED |
| 473 |
|
SRC %URI #IMPLIED |
| 474 |
|
CHECKED (CHECKED) #IMPLIED |
| 475 |
|
SIZE CDATA #IMPLIED |
| 476 |
|
MAXLENGTH NUMBER #IMPLIED |
| 477 |
|
ALIGN (top|middle|bottom) #IMPLIED |
| 478 |
|
%SDAPREF; "<?SDATrans Input: #AttList>" |
| 479 |
|
> |
| 480 |
|
|
| 481 |
<!ELEMENT PRE - - (#PCDATA|A|P)+> |
<!-- <INPUT> Form input datum --> |
| 482 |
<!ATTLIST PRE |
<!-- <INPUT TYPE=...> Type of input interaction --> |
| 483 |
WIDTH NUMBER #implied |
<!-- <INPUT TYPE=...> Name of form datum --> |
| 484 |
|
<!-- <INPUT VALUE="..."> Default/initial/selected value --> |
| 485 |
|
<!-- <INPUT SRC="..."> Address of image --> |
| 486 |
|
<!-- <INPUT CHECKED> Initial state is "on" --> |
| 487 |
|
<!-- <INPUT SIZE=...> Field size hint --> |
| 488 |
|
<!-- <INPUT MAXLENGTH=...> Data length maximum --> |
| 489 |
|
<!-- <INPUT ALIGN=...> Image alignment --> |
| 490 |
|
|
| 491 |
|
<!ELEMENT SELECT - - (OPTION+)> |
| 492 |
|
<!ATTLIST SELECT |
| 493 |
|
NAME CDATA #REQUIRED |
| 494 |
|
SIZE NUMBER #IMPLIED |
| 495 |
|
MULTIPLE (MULTIPLE) #IMPLIED |
| 496 |
|
%SDAFORM; "List" |
| 497 |
|
%SDAPREF; |
| 498 |
|
"<?SDATrans Select: #AttList><LHead>Select #AttVal(Multiple)</LHead>" |
| 499 |
|
> |
| 500 |
|
|
| 501 |
|
<!-- <SELECT> Selection of option(s) --> |
| 502 |
|
<!-- <SELECT NAME=...> Name of form datum --> |
| 503 |
|
<!-- <SELECT SIZE=...> Number of options displayed at a time --> |
| 504 |
|
<!-- <SELECT MULTIPLE> Multiple selections allowed --> |
| 505 |
|
|
| 506 |
|
<!ELEMENT OPTION - O (#PCDATA)*> |
| 507 |
|
<!ATTLIST OPTION |
| 508 |
|
SELECTED (SELECTED) #IMPLIED |
| 509 |
|
VALUE CDATA #IMPLIED |
| 510 |
|
%SDAFORM; "LItem" |
| 511 |
|
%SDAPREF; |
| 512 |
|
"<?SDATrans Option: #AttList>#AttVal(Value) #AttVal(Selected)" |
| 513 |
|
> |
| 514 |
|
|
| 515 |
|
<!-- <OPTION> A selection option --> |
| 516 |
|
<!-- <OPTION SELECTED> Initial state --> |
| 517 |
|
<!-- <OPTION VALUE="..."> Form datum value for this option --> |
| 518 |
|
|
| 519 |
|
<!ELEMENT TEXTAREA - - (#PCDATA)*> |
| 520 |
|
<!ATTLIST TEXTAREA |
| 521 |
|
NAME CDATA #REQUIRED |
| 522 |
|
ROWS NUMBER #REQUIRED |
| 523 |
|
COLS NUMBER #REQUIRED |
| 524 |
|
%SDAFORM; "Para" |
| 525 |
|
%SDAPREF; "<?SDATrans TextArea: #AttList>#AttVal(Name): " |
| 526 |
|
> |
| 527 |
|
|
| 528 |
|
<!-- <TEXTAREA> An area for text input --> |
| 529 |
|
<!-- <TEXTAREA NAME=...> Name of form datum --> |
| 530 |
|
<!-- <TEXTAREA ROWS=...> Height of area --> |
| 531 |
|
<!-- <TEXTAREA COLS=...> Width of area --> |
| 532 |
|
|
| 533 |
|
]]> |
| 534 |
|
|
| 535 |
|
|
| 536 |
|
<!--================ Document Head ========================================--> |
| 537 |
|
|
| 538 |
|
<!ENTITY % head.link "& LINK*"> |
| 539 |
|
|
| 540 |
|
<![ %HTML.Recommended [ |
| 541 |
|
<!ENTITY % head.nextid ""> |
| 542 |
|
]]> |
| 543 |
|
<!ENTITY % head.nextid "& NEXTID?"> |
| 544 |
|
|
| 545 |
|
<!ENTITY % head.content "TITLE & ISINDEX? & BASE? & META* |
| 546 |
|
%head.nextid |
| 547 |
|
%head.link"> |
| 548 |
|
|
| 549 |
|
<!ELEMENT HEAD O O (%head.content)> |
| 550 |
|
<!ATTLIST HEAD |
| 551 |
|
%SDAPREF; "<?SDATrans Head: #AttList>" |
| 552 |
|
> |
| 553 |
|
|
| 554 |
|
<!-- <HEAD> Document head --> |
| 555 |
|
|
| 556 |
|
<!ELEMENT TITLE - - (#PCDATA)*> |
| 557 |
|
<!ATTLIST TITLE |
| 558 |
|
%SDAFORM; "Ti" |
| 559 |
|
> |
| 560 |
|
|
| 561 |
|
<!-- <TITLE> Title of document --> |
| 562 |
|
|
| 563 |
|
<!ELEMENT LINK - O EMPTY> |
| 564 |
|
<!ATTLIST LINK |
| 565 |
|
HREF %URI #REQUIRED |
| 566 |
|
%linkExtraAttributes; |
| 567 |
|
%SDAPREF; "<?SDATrans Link: #AttList>" |
| 568 |
> |
> |
| 569 |
|
|
| 570 |
<!-- deprecated elements --> |
<!-- <LINK> Link from this document --> |
| 571 |
|
<!-- <LINK HREF="..."> Address of link destination --> |
| 572 |
|
<!-- <LINK URN="..."> Lasting name of destination --> |
| 573 |
|
<!-- <LINK REL=...> Relationship of this document to destination --> |
| 574 |
|
<!-- <LINK REV=...> Relationship of destination to this document --> |
| 575 |
|
<!-- <LINK TITLE="..."> Title of destination (advisory) --> |
| 576 |
|
<!-- <LINK METHODS="..."> Operations allowed on destination (advisory) --> |
| 577 |
|
|
| 578 |
|
<!ELEMENT ISINDEX - O EMPTY> |
| 579 |
|
<!ATTLIST ISINDEX |
| 580 |
|
%SDAPREF; |
| 581 |
|
"<Para><?SDATrans IsIndex: #AttList>[Document indexed/searchable.]</Para>"> |
| 582 |
|
|
| 583 |
|
<!-- <ISINDEX> Document is a searchable index --> |
| 584 |
|
|
| 585 |
|
<!ELEMENT BASE - O EMPTY> |
| 586 |
|
<!ATTLIST BASE |
| 587 |
|
HREF %URI; #REQUIRED |
| 588 |
|
%SDAPREF; "<?SDATrans Base: #AttList>" |
| 589 |
|
> |
| 590 |
|
|
| 591 |
|
<!-- <BASE> Base context document --> |
| 592 |
|
<!-- <BASE HREF="..."> Address for this document --> |
| 593 |
|
|
| 594 |
|
<!ELEMENT NEXTID - O EMPTY> |
| 595 |
|
<!ATTLIST NEXTID |
| 596 |
|
N %linkName #REQUIRED |
| 597 |
|
%SDAPREF; "<?SDATrans NextID: #AttList>" |
| 598 |
|
> |
| 599 |
|
|
| 600 |
|
<!-- <NEXTID> Next ID to use for link name --> |
| 601 |
|
<!-- <NEXTID N=...> Next ID to use for link name --> |
| 602 |
|
|
| 603 |
<!ELEMENT (%literal) - - RCDATA> |
<!ELEMENT META - O EMPTY> |
| 604 |
|
<!ATTLIST META |
| 605 |
|
HTTP-EQUIV NAME #IMPLIED |
| 606 |
|
NAME NAME #IMPLIED |
| 607 |
|
CONTENT CDATA #REQUIRED |
| 608 |
|
%SDAPREF; "<?SDATrans Meta: #AttList>" |
| 609 |
|
> |
| 610 |
|
|
| 611 |
<!ELEMENT PLAINTEXT - O EMPTY> |
<!-- <META> Generic Metainformation --> |
| 612 |
|
<!-- <META HTTP-EQUIV=...> HTTP response header name --> |
| 613 |
|
<!-- <META HTTP-EQUIV=...> Metainformation name --> |
| 614 |
|
<!-- <META CONTENT="..."> Associated information --> |
| 615 |
|
|
| 616 |
|
<!--================ Document Structure ===================================--> |
| 617 |
|
|
| 618 |
|
<![ %HTML.Deprecated [ |
| 619 |
|
<!ENTITY % html.content "HEAD, BODY, PLAINTEXT?"> |
| 620 |
|
]]> |
| 621 |
|
<!ENTITY % html.content "HEAD, BODY"> |
| 622 |
|
|
| 623 |
|
<!ELEMENT HTML O O (%html.content)> |
| 624 |
|
<!ENTITY % version.attr "VERSION CDATA #FIXED '%HTML.Version;'"> |
| 625 |
|
|
| 626 |
|
<!ATTLIST HTML |
| 627 |
|
%version.attr; |
| 628 |
|
%SDAFORM; "Book" |
| 629 |
|
%SDAPREF; "<?SDATrans HTML: #AttList>" |
| 630 |
|
> |
| 631 |
|
|
| 632 |
<!-- Local Variables: --> |
<!-- <HTML> HyperText Markup Language Document --> |
|
<!-- mode: sgml --> |
|
|
<!-- compile-command: "sgmls -s -p " --> |
|
|
<!-- end: --> |
|
|
]> |
|