| 1 |
<!-- html.dtd |
<!-- html.dtd |
| 2 |
|
|
| 3 |
Document Type Definition for the HyperText Markup Language |
Document Type Definition for the HyperText Markup Language |
| 4 |
as used by the World Wide Web application (HTML DTD). |
as used by the World Wide Web (HTML DTD). |
| 5 |
|
|
| 6 |
$Id$ |
$Id$ |
| 7 |
|
|
| 8 |
|
Author: Daniel W. Connolly <[email protected]> |
| 9 |
|
See Also: http://www.hal.com/%7Econnolly/html-spec/HTML.html |
| 10 |
|
http://info.cern.ch/hypertext/WWW/MarkUp2/MarkUp.html |
| 11 |
--> |
--> |
| 12 |
|
|
| 13 |
|
<!ENTITY HTML.Version |
| 14 |
|
"-//W3O//DTD WWW HTML 2.0//EN" |
| 15 |
|
-- public identifier for "current pracitice" version -- |
| 16 |
|
|
| 17 |
|
-- Typical usage: |
| 18 |
|
|
| 19 |
|
<!DOCTYPE HTML PUBLIC "-//W3O//DTD WWW HTML 2.0//EN"> |
| 20 |
|
<html> |
| 21 |
|
... |
| 22 |
|
</html> |
| 23 |
|
-- |
| 24 |
|
> |
| 25 |
|
|
| 26 |
|
|
| 27 |
<!-- Feature Test Entities --> |
<!-- Feature Test Entities --> |
| 28 |
|
|
| 29 |
<!-- To use these, write your document like: |
<!-- To use these, write your document like: |
| 41 |
sgmls -s doctype.sgml foo.html |
sgmls -s doctype.sgml foo.html |
| 42 |
--> |
--> |
| 43 |
|
|
| 44 |
<!ENTITY % HTML.Minimal "IGNORE"> |
<!ENTITY % HTML.Level0 "IGNORE"> |
| 45 |
<!ENTITY % HTML.Obsolete "IGNORE"> |
<!ENTITY % HTML.Obsolete "IGNORE"> |
| 46 |
<!ENTITY % HTML.Prescriptive "IGNORE"> |
<!ENTITY % HTML.Prescriptive "IGNORE"> |
| 47 |
|
|
| 48 |
<![ %HTML.Minimal [ |
<![ %HTML.Level0 [ |
| 49 |
<!ENTITY % HTML.linkRelationships "IGNORE"> |
<!ENTITY % HTML.linkRelationships "IGNORE"> |
| 50 |
<!ENTITY % HTML.linkMethods "IGNORE"> |
<!ENTITY % HTML.linkMethods "IGNORE"> |
| 51 |
<!ENTITY % HTML.linkRedundantInfo "IGNORE"> |
<!ENTITY % HTML.linkRedundantInfo "IGNORE"> |
| 52 |
<!ENTITY % HTML.forms "IGNORE"> |
<!ENTITY % HTML.forms "IGNORE"> |
| 53 |
<!-- @@ nested lists --> |
<!ENTITY % HTML.phrase "IGNORE"> |
| 54 |
<!-- @@ phrases --> |
<!ENTITY % HTML.NEXTID "IGNORE"> |
| 55 |
<!-- @@ headers inside A --> |
<!-- @# Are the following required for conformance? --> |
| 56 |
<!-- @@ nested phrases, fonts --> |
<!-- @# nested lists --> |
| 57 |
|
<!-- @# IMG --> |
| 58 |
|
<!-- @# headers inside A --> |
| 59 |
|
<!-- @# nested phrases, fonts --> |
| 60 |
]]> |
]]> |
| 61 |
|
|
| 62 |
<![ %HTML.Obsolete [ |
<![ %HTML.Obsolete [ |
| 77 |
<!ENTITY % HTML.bodyBlockOnly "INCLUDE"> |
<!ENTITY % HTML.bodyBlockOnly "INCLUDE"> |
| 78 |
]]> |
]]> |
| 79 |
|
|
| 80 |
<!ENTITY HTML.Version |
<!ENTITY % HTML.phrase "INCLUDE" |
| 81 |
"-//connolly hal.com//DTD WWW HTML $Date 1994/04/19 17:24:06 $//EN" |
-- phrase markup, ala TeXinfo: TT, EM, etc. |
| 82 |
-- public identifier for "default" version -- |
--> |
|
-- actually, take the $'s out to get the real public identifer, -- |
|
|
-- since $ is illegal in public identifier. When DTD stabilizes, -- |
|
|
-- we'll need to stop using RCS keywords to version the pub id -- |
|
|
> |
|
| 83 |
|
|
| 84 |
<!ENTITY % HTML.bodyBlockOnly "IGNORE" |
<!ENTITY % HTML.bodyBlockOnly "IGNORE" |
| 85 |
-- only allow block elements in the BODY element |
-- only allow block elements in the BODY element |
| 174 |
capacity (1024 in the current version of html.decl), |
capacity (1024 in the current version of html.decl), |
| 175 |
so that URIs in HTML have a bounded length. |
so that URIs in HTML have a bounded length. |
| 176 |
|
|
|
@@ Need to discuss relative addresses. |
|
| 177 |
--> |
--> |
| 178 |
|
|
| 179 |
<!ENTITY % Content-Type "CDATA" |
<!ENTITY % Content-Type "CDATA" |
| 269 |
]]> |
]]> |
| 270 |
<!ENTITY % u-font ""> |
<!ENTITY % u-font ""> |
| 271 |
|
|
| 272 |
|
<![ %HTML.phrase [ |
| 273 |
<!ENTITY % font "TT | B | I %u-font"> |
<!ENTITY % font "TT | B | I %u-font"> |
| 274 |
<!ENTITY % phrase "EM | STRONG | CODE | SAMP | KBD | VAR | DFN | CITE |
<!ENTITY % phrase "EM | STRONG | CODE | SAMP | KBD | VAR | DFN | CITE |
| 275 |
| STRIKE %key-emph"> |
| STRIKE %key-emph"> |
| 288 |
|
|
| 289 |
<!ENTITY % inline "%phrase %obsolete-font"> |
<!ENTITY % inline "%phrase %obsolete-font"> |
| 290 |
<!ENTITY % pre-inline "%font %obsolete-phrase %obsolete-p"> |
<!ENTITY % pre-inline "%font %obsolete-phrase %obsolete-p"> |
| 291 |
|
]]> |
| 292 |
|
|
| 293 |
|
<!ENTITY % inline ""> |
| 294 |
|
<!ENTITY % pre-inline ""> |
| 295 |
|
|
| 296 |
<!ENTITY % text "#PCDATA | IMG | %inline | BR %obsolete-p"> |
<!ENTITY % text "#PCDATA | IMG | %inline | BR %obsolete-p"> |
| 297 |
|
|
| 301 |
<!ENTITY % font-content "#PCDATA"> |
<!ENTITY % font-content "#PCDATA"> |
| 302 |
<!ELEMENT (%font;) - - (%font-content;)> |
<!ELEMENT (%font;) - - (%font-content;)> |
| 303 |
|
|
| 304 |
|
<![ %HTML.phrase [ |
| 305 |
<!ELEMENT (%phrase;) - - (%htext)+> |
<!ELEMENT (%phrase;) - - (%htext)+> |
| 306 |
|
]]> |
| 307 |
|
|
| 308 |
<!ENTITY % pre "PRE | XMP | LISTING"> |
<!ENTITY % pre "PRE | XMP | LISTING"> |
| 309 |
|
|