1 |
connolly |
1.7 |
<!-- html.dtd |
2 |
|
|
|
3 |
connolly |
1.16 |
Document Type Definition for the HyperText Markup Language (HTML DTD) |
4 |
connolly |
1.5 |
|
5 |
connolly |
1.16 |
$Id: html.dtd,v 1.15 1994/06/03 22:09:14 connolly Exp $ |
6 |
connolly |
1.11 |
|
7 |
connolly |
1.13 |
Author: Daniel W. Connolly <connolly@hal.com> |
8 |
connolly |
1.16 |
See Also: html.decl, html-0.dtd, html-1.dtd |
9 |
|
|
http://www.hal.com/%7Econnolly/html-spec/index.html |
10 |
connolly |
1.14 |
http://info.cern.ch/hypertext/WWW/MarkUp2/MarkUp.html |
11 |
connolly |
1.2 |
--> |
12 |
|
|
|
13 |
connolly |
1.13 |
<!ENTITY HTML.Version |
14 |
connolly |
1.14 |
"-//W3O//DTD WWW HTML 2.0//EN" |
15 |
connolly |
1.13 |
|
16 |
|
|
-- Typical usage: |
17 |
|
|
|
18 |
connolly |
1.14 |
<!DOCTYPE HTML PUBLIC "-//W3O//DTD WWW HTML 2.0//EN"> |
19 |
connolly |
1.13 |
<html> |
20 |
|
|
... |
21 |
|
|
</html> |
22 |
|
|
-- |
23 |
|
|
> |
24 |
|
|
|
25 |
|
|
|
26 |
connolly |
1.16 |
<!-- Imported Names --> |
27 |
connolly |
1.8 |
|
28 |
|
|
<!ENTITY % Content-Type "CDATA" |
29 |
connolly |
1.12 |
-- meaning a MIME content type, as per RFC1521 |
30 |
connolly |
1.8 |
--> |
31 |
connolly |
1.2 |
|
32 |
connolly |
1.16 |
<!ENTITY % HTTP-Method "GET | POST"> |
33 |
connolly |
1.8 |
|
34 |
|
|
|
35 |
connolly |
1.16 |
<!-- Include level 1 DTD + block extensions --> |
36 |
connolly |
1.12 |
|
37 |
connolly |
1.16 |
<!ENTITY % block-2 "| FORM | ISINDEX" |
38 |
|
|
--@# ISINDEX in BODY? --> |
39 |
connolly |
1.12 |
|
40 |
connolly |
1.16 |
<!ENTITY % html-1 PUBLIC "-//W3O//DTD WWW HTML 2.0 Level 1//EN"> |
41 |
|
|
%html-1; |
42 |
connolly |
1.6 |
|
43 |
connolly |
1.3 |
|
44 |
connolly |
1.8 |
<!-- Forms --> |
45 |
|
|
|
46 |
connolly |
1.16 |
<!ELEMENT FORM - - %body.content -(FORM) +(INPUT|SELECT|TEXTAREA)> |
47 |
connolly |
1.8 |
<!ATTLIST FORM |
48 |
|
|
ACTION %URI #REQUIRED |
49 |
connolly |
1.16 |
METHOD (%HTTP-Method) #IMPLIED -- @# MAILTO? -- |
50 |
connolly |
1.8 |
ENCTYPE %Content-Type; #IMPLIED |
51 |
|
|
> |
52 |
|
|
|
53 |
|
|
<!ENTITY % InputType "(TEXT | PASSWORD | CHECKBOX | |
54 |
|
|
RADIO | SUBMIT | RESET | |
55 |
|
|
IMAGE | HIDDEN )"> |
56 |
|
|
<!ELEMENT INPUT - O EMPTY> |
57 |
|
|
<!ATTLIST INPUT |
58 |
|
|
TYPE %InputType #IMPLIED -- @# defaults to TEXT?? -- |
59 |
|
|
NAME CDATA #IMPLIED -- required for all but submit and reset -- |
60 |
|
|
VALUE CDATA #IMPLIED |
61 |
|
|
SRC %URI #IMPLIED -- for image inputs -- |
62 |
connolly |
1.11 |
CHECKED (CHECKED) #IMPLIED |
63 |
connolly |
1.8 |
SIZE CDATA #IMPLIED -- @# should be NUMBERS: delimit with space, not comma -- |
64 |
|
|
MAXLENGTH NUMBER #IMPLIED |
65 |
|
|
ALIGN (top|middle|bottom|left|center|right) #IMPLIED --@#supported?-- |
66 |
|
|
> |
67 |
|
|
|
68 |
|
|
<!ELEMENT SELECT - - (OPTION+)> |
69 |
|
|
<!ATTLIST SELECT |
70 |
|
|
NAME CDATA #REQUIRED |
71 |
|
|
SIZE NUMBER #IMPLIED |
72 |
connolly |
1.11 |
MULTIPLE (MULTIPLE) #IMPLIED |
73 |
connolly |
1.8 |
> |
74 |
|
|
|
75 |
|
|
<!ELEMENT OPTION - O (#PCDATA)> |
76 |
|
|
<!ATTLIST OPTION |
77 |
connolly |
1.11 |
SELECTED (SELECTED) #IMPLIED |
78 |
connolly |
1.8 |
VALUE CDATA #IMPLIED |
79 |
|
|
> |
80 |
|
|
|
81 |
|
|
<!ELEMENT TEXTAREA - - (#PCDATA)> |
82 |
|
|
<!ATTLIST TEXTAREA |
83 |
|
|
NAME CDATA #REQUIRED |
84 |
|
|
ROWS NUMBER #REQUIRED -- @#implied? -- |
85 |
|
|
COLS NUMBER #REQUIRED |
86 |
|
|
> |
87 |
connolly |
1.2 |
|
88 |
connolly |
1.12 |
|
89 |
|
|
|