annotate etc/sgml/html-3.2.dtd @ 193:f53b5ca2e663 r20-3b23

Import from CVS: tag r20-3b23
author cvs
date Mon, 13 Aug 2007 09:58:30 +0200
parents 376386a54a3c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 <!--
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2 W3C Document Type Definition for the HyperText Markup Language
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 This version is code named Wilbur, and also as "HTML 3.2".
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5 Draft: Tuesday 21-May-96
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 Author: Dave Raggett <dsr@w3.org>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 This is subject to change, pending final approval by the W3C
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 member companies.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 HTML 3.2 aims to capture recommended practice as of early '96
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 and as such to be used as a replacement for HTML 2.0 (RFC 1866).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 Widely deployed rendering attributes are included where they
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 have been shown to be interoperable. SCRIPT and STYLE are
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 included to smooth the introduction of client-side scripts
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 and style sheets. Browsers must avoid showing the contents
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 of these element Otherwise support for them is not required.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 ID, CLASS and STYLE attributes are not included in this version
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 of HTML.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22 The next version of HTML after Wilbur is code named Cougar and
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 will add support for <OBJECT>, client-side scripting, style
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 sheets, and extensions to fill-out forms.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 <!ENTITY % HTML.Version
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 "-//W3C//DTD HTML 3.2//EN"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 -- Typical usage:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33 <html>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 ...
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 </html>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 <!--================== Deprecated Features Switch =========================-->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 <!ENTITY % HTML.Deprecated "INCLUDE">
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 <!--================== Imported Names =====================================-->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 <!ENTITY % Content-Type "CDATA"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 -- meaning a MIME content type, as per RFC1521
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 <!ENTITY % HTTP-Method "GET | POST"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 -- as per HTTP specification
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 <!ENTITY % URL "CDATA"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 -- The term URL means a CDATA attribute
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 whose value is a Uniform Resource Locator,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 See RFC1808 (June 95) and RFC1738 (Dec 94).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 <!-- Parameter Entities -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 <!ENTITY % head.misc "SCRIPT|STYLE|META|LINK" -- repeatable head elements -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 <!ENTITY % heading "H1|H2|H3|H4|H5|H6">
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 <!ENTITY % list "UL | OL | DIR | MENU">
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67 <![ %HTML.Deprecated [
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68 <!ENTITY % preformatted "PRE | XMP | LISTING">
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69 ]]>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71 <!ENTITY % preformatted "PRE">
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73 <!--================ Character mnemonic entities ==========================-->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 <!ENTITY % ISOlat1 PUBLIC
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76 "ISO 8879-1986//ENTITIES Added Latin 1//EN//HTML">
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77 %ISOlat1;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79 <!--================ Entities for special symbols =========================-->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80 <!-- &trade &shy and &cbsp are not widely deployed and so not included here -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82 <!ENTITY copy CDATA "&#169" -- copyright sign -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 <!ENTITY reg CDATA "&#174" -- registered sign -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84 <!ENTITY amp CDATA "&#38;" -- ampersand -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85 <!ENTITY gt CDATA "&#62;" -- greater than -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86 <!ENTITY lt CDATA "&#60;" -- less than -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 <!ENTITY quot CDATA "&#34;" -- double quote -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88 <!ENTITY nbsp CDATA "&#160;" -- non breaking space -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90 <!--=================== Text Markup =======================================-->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92 <!ENTITY % font "TT | I | B | STRIKE | BIG | SMALL | SUB | SUP">
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94 <!ENTITY % phrase "EM | STRONG | DFN | CODE | SAMP | KBD | VAR | CITE">
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96 <!ENTITY % special "A | IMG | APPLET | FONT | BR | SCRIPT | MAP">
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98 <!ENTITY % form "INPUT | SELECT | TEXTAREA">
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100 <!ENTITY % text "#PCDATA | %font | %phrase | %special | %form">
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102 <!ELEMENT (%font|%phrase) - - (%text)*>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104 <!-- there are also 16 widely known color names although
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105 the resulting colors are implementation dependent:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107 aqua, black, blue, fuchsia, gray, green, lime, maroon,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108 navy, olive, purple, red, silver, teal, white, and yellow
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110 These colors were originally picked as being the standard
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111 16 colors supported with the Windows VGA palette.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112 -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114 <!ELEMENT FONT - - (%text)* -- local change to font -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115 <!ATTLIST FONT
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116 size CDATA #IMPLIED -- [+]nn e.g. size="+1", size=4 --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117 color CDATA #IMPLIED -- #RRGGBB in hex, e.g. red: color="#FF0000" --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120 <!ELEMENT BR - O EMPTY -- forced line break -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121 <!ATTLIST BR
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122 clear (left|all|right|none) none -- control of text flow --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125 <!--================== HTML content models ================================-->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126 <!--
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127 HTML has three basic content models:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129 %text character level elements and text strings
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130 %flow block-like elements e.g. paragraphs and lists
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131 %bodytext as (b) plus headers and ADDRESS
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132 -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134 <!ENTITY % block
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 "P | %list | %preformatted | DL | DIV | CENTER |
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 BLOCKQUOTE | FORM | ISINDEX | HR | TABLE">
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
138 <!-- %flow is used for DD and LI -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140 <!ENTITY % flow "(%text | %block)*">
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142 <!--=================== Document Body =====================================-->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
143
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144 <!ENTITY % body.content "(%heading | %text | %block | ADDRESS)*">
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
145
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146 <!ENTITY % color "CDATA" -- a color specification: #HHHHHH @@ details? -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148 <!ENTITY % body-color-attrs "
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149 bgcolor %color #IMPLIED
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150 text %color #IMPLIED
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151 link %color #IMPLIED
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
152 vlink %color #IMPLIED
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
153 alink %color #IMPLIED
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
154 ">
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
155
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
156 <!ELEMENT BODY O O %body.content>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
157 <!ATTLIST BODY
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
158 background %URL #IMPLIED -- texture tile for document background --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
159 %body-color-attrs; -- bgcolor, text, link, vlink, alink --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
160 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
161
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
162 <!ENTITY % address.content "((%text;) | P)*">
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
163
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
164 <!ELEMENT ADDRESS - - %address.content>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
165
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
166 <!ELEMENT DIV - - %body.content>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
167 <!ATTLIST DIV
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
168 align (left|center|right) left -- alignment of following text --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
169 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
170
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
171 <!-- CENTER is a shorthand for DIV with ALIGN=CENTER -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
172 <!ELEMENT center - - %body.content>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
173
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
174 <!--================== The Anchor Element =================================-->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
175
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
176 <!ELEMENT A - - (%text)* -(A)>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
177 <!ATTLIST A
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
178 name CDATA #IMPLIED -- named link end --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
179 href %URL #IMPLIED -- URL for linked resource --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
180 rel CDATA #IMPLIED -- forward link types --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
181 rev CDATA #IMPLIED -- reverse link types --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
182 title CDATA #IMPLIED -- advisory title string --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
183 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
184
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
185 <!--================== Client-side image maps ============================-->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
186
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
187 <!-- These can be placed in the same document or grouped in a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
188 separate document although this isn't yet widely supported -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
189
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
190 <!ENTITY % SHAPE "(rect|circle|poly|default)">
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
191 <!ENTITY % COORDS "CDATA" -- comma separated list of numbers -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
192
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
193 <!ELEMENT MAP - - (AREA)*>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
194 <!ATTLIST MAP
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
195 name CDATA #IMPLIED
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
196 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
197
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
198 <!ELEMENT AREA - O EMPTY>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
199 <!ATTLIST AREA
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
200 shape %SHAPE rect
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
201 coords %COORDS #IMPLIED -- always needed except for shape=default --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
202 href %URL #IMPLIED -- this region acts as hypertext link --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
203 nohref (nohref) #IMPLIED -- this region has no action --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
204 alt CDATA #REQUIRED
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
205 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
206
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
207 <!--================== The LINK Element ==================================-->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
208
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
209 <!ENTITY % Types "CDATA"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
210 -- See Internet Draft: draft-ietf-html-relrev-00.txt
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
211 LINK has been part of HTML since the early days
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
212 although few browsers as yet take advantage of it.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
213
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
214 Relationship values can be used in principle:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
215
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
216 a) for document specific toolbars/menus when used
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
217 with the LINK element in document head:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
218 b) to link to a separate style sheet (rel=stylesheet)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
219 c) to make a link to a script (rel=script)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
220 d) by stylesheets to control how collections of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
221 html nodes are rendered into printed documents
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
222 e) to make a link to a printable version of this document
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
223 e.g. a postscript or pdf version (rel=print)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
224 -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
225
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
226 <!ELEMENT LINK - O EMPTY>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
227 <!ATTLIST LINK
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
228 id ID #IMPLIED -- SGML ID attribute --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
229 href %URL #IMPLIED -- URL for linked resource --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
230 rel %Types #IMPLIED -- forward link types --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
231 rev %Types #IMPLIED -- reverse link types --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
232 title CDATA #IMPLIED -- advisory title string --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
233 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
234
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
235 <!--=================== Images ============================================-->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
236
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
237 <!ENTITY % Length "CDATA" -- nn for pixels or nn% for percentage length -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
238 <!ENTITY % Pixels "CDATA" -- integer representing length in pixels -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
239
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
240 <!-- Suggested widths are used for negotiating image size
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
241 with the module responsible for painting the image.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
242 align=left or right cause image to float to margin
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
243 and for subsequent text to wrap around image -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
244
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
245 <!ENTITY % IAlign "(top|middle|bottom|left|right)">
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
246
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
247 <!ELEMENT IMG - O EMPTY -- Embedded image -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
248 <!ATTLIST IMG
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
249 src %URL #REQUIRED -- URL of image to embed --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
250 alt CDATA #IMPLIED -- for display in place of image --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
251 align %IAlign #IMPLIED -- vertical or horizontal alignment --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
252 height %Pixels #IMPLIED -- suggested height in pixels --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
253 width %Pixels #IMPLIED -- suggested width in pixels --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
254 border %Pixels #IMPLIED -- suggested link border width --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
255 hspace %Pixels #IMPLIED -- suggested horizontal gutter --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
256 vspace %Pixels #IMPLIED -- suggested vertical gutter --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
257 usemap %URL #IMPLIED -- use client-side image map --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
258 ismap (ismap) #IMPLIED -- use server image map --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
259 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
260
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
261 <!-- USEMAP points to a MAP element which may be in this document
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
262 or an external document, although the latter is not widely supported -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
263
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
264 <!--=================== Java APPLET tag ===================================-->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
265 <!--
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
266 This tag is supported by all java enabled browsers. Applet resources
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
267 (including their classes) are normally loaded relative to the document
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
268 URL (or <BASE> element if it is defined). The CODEBASE attribute is used
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
269 to change this default behavior. If the CODEBASE attribute is defined then
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
270 it specifies a different location to find applet resources. The value
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
271 can be an absolute URL or a relative URL. The absolute URL is used as is
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
272 without modification and is not effected by the documents <BASE> element.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
273 When the codebase attribute is relative, then it is relative to the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
274 document URL (or <BASE> tag if defined). <TEXTFLOW> avoids the problems
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
275 with SGML mixed content. It can always be omitted *except* when the APPLET
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
276 element hasn't any content. White space, comments and PARAM elements
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
277 don't count as content for this purpose. TEXTFLOW was introduced into
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
278 the DTD to satisfy SGML parsers, but is ignored by current Web browsers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
279 -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
280 <!ELEMENT APPLET - - (PARAM*, TEXTFLOW)>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
281 <!ATTLIST APPLET
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
282 codebase %URL #IMPLIED -- code base --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
283 code CDATA #REQUIRED -- class file --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
284 name CDATA #IMPLIED -- applet name --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
285 alt CDATA #IMPLIED -- for display in place of applet --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
286 align %IAlign #IMPLIED -- vertical or horizontal alignment --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
287 height %Pixels #REQUIRED -- suggested height in pixels --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
288 width %Pixels #REQUIRED -- suggested width in pixels --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
289 hspace %Pixels #IMPLIED -- suggested horizontal gutter --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
290 vspace %Pixels #IMPLIED -- suggested vertical gutter --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
291 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
292
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
293 <!ELEMENT PARAM - O EMPTY>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
294 <!ATTLIST PARAM
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
295 name NAME #REQUIRED -- The name of the parameter --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
296 value CDATA #IMPLIED -- The value of the parameter --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
297 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
298 <!ELEMENT TEXTFLOW O O (%text)* -- needed to bypass mixed content model -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
299
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
300 <!--
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
301 Here is an example:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
302
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
303 <applet codebase="applets/NervousText"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
304 code=NervousText.class
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
305 width=300
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
306 height=50>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
307 <param name=text value="Java is Cool!">
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
308 <img src=sorry.gif alt="This looks better with Java support">
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
309 </applet>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
310 -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
311
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
312 <!--=================== Horizontal Rule ===================================-->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
313
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
314 <!ELEMENT HR - O EMPTY>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
315 <!ATTLIST HR
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
316 align (left|right|center) #IMPLIED
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
317 noshade (noshade) #IMPLIED
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
318 size %Pixels #IMPLIED
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
319 width %Length #IMPLIED
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
320 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
321 <!--=================== Paragraphs=========================================-->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
322
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
323 <!ELEMENT P - O (%text)*>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
324 <!ATTLIST P
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
325 align (left|center|right) #IMPLIED
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
326 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
327
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
328 <!--=================== Headings ==========================================-->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
329
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
330 <!--
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
331 There are six levels of headers from H1 (the most important)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
332 to H6 (the least important).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
333 -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
334
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
335 <!ELEMENT ( %heading ) - - (%text;)*>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
336 <!ATTLIST ( %heading )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
337 align (left|center|right) #IMPLIED
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
338 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
339
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
340 <!--=================== Preformatted Text =================================-->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
341
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
342 <!-- excludes images and changes in font size -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
343
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
344 <!ENTITY % pre.exclusion "IMG|BIG|SMALL|SUB|SUP|FONT">
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
345
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
346 <!ELEMENT PRE - - (%text)* -(%pre.exclusion)>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
347 <!ATTLIST PRE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
348 width NUMBER #implied -- is this widely supported? --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
349 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
350
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
351 <![ %HTML.Deprecated [
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
352
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
353 <!ENTITY % literal "CDATA"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
354 -- historical, non-conforming parsing mode where
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
355 the only markup signal is the end tag
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
356 in full
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
357 -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
358
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
359 <!ELEMENT (XMP|LISTING) - - %literal>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
360 <!ELEMENT PLAINTEXT - O %literal>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
361
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
362 ]]>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
363
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
364 <!--=================== Block-like Quotes =================================-->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
365
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
366 <!ELEMENT BLOCKQUOTE - - %body.content>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
367
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
368 <!--=================== Lists =============================================-->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
369
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
370 <!--
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
371 HTML 3.2 allows you to control the sequence number for ordered lists.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
372 You can set the sequence number with the START and VALUE attributes.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
373 The TYPE attribute may be used to specify the rendering of ordered
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
374 and unordered lists.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
375 -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
376
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
377 <!-- definition lists - DT for term, DD for its definition -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
378
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
379 <!ELEMENT DL - - (DT|DD)*>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
380 <!ATTLIST DL
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
381 compact (compact) #IMPLIED -- more compact style --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
382 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
383
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
384 <!ELEMENT DT - O (%text)*>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
385 <!ELEMENT DD - O %flow;>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
386
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
387 <!-- Ordered lists OL, and unordered lists UL -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
388 <!ELEMENT (OL|UL) - - (LI)*>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
389
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
390 <!--
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
391 Numbering style
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
392 1 arablic numbers 1, 2, 3, ...
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
393 a lower alpha a, b, c, ...
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
394 A upper alpha A, B, C, ...
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
395 i lower roman i, ii, iii, ...
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
396 I upper roman I, II, III, ...
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
397
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
398 The style is applied to the sequence number which by default
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
399 is reset to 1 for the first list item in an ordered list.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
400
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
401 This can't be expressed directly in SGML due to case folding.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
402 -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
403
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
404 <!ENTITY % OLStyle "CDATA" -- constrained to: [1|a|A|i|I] -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
405
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
406 <!ATTLIST OL -- ordered lists --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
407 type %OLStyle #IMPLIED -- numbering style --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
408 start NUMBER #IMPLIED -- starting sequence number --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
409 compact (compact) #IMPLIED -- reduced interitem spacing --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
410 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
411
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
412 <!-- bullet styles -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
413
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
414 <!ENTITY % ULStyle "disc|square|circle">
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
415
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
416 <!ATTLIST UL -- unordered lists --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
417 type (%ULStyle) #IMPLIED -- bullet style --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
418 compact (compact) #IMPLIED -- reduced interitem spacing --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
419 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
420
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
421 <!ELEMENT (DIR|MENU) - - (LI)* -(%block)>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
422 <!ATTLIST DIR
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
423 compact (compact) #IMPLIED
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
424 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
425 <!ATTLIST MENU
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
426 compact (compact) #IMPLIED
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
427 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
428
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
429 <!-- <DIR> Directory list -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
430 <!-- <DIR COMPACT> Compact list style -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
431 <!-- <MENU> Menu list -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
432 <!-- <MENU COMPACT> Compact list style -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
433
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
434 <!-- The type attribute can be used to change the bullet style
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
435 in unordered lists and the numbering style in ordered lists -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
436
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
437 <!ENTITY % LIStyle "CDATA" -- constrained to: "(%ULStyle|%OLStyle)" -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
438
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
439 <!ELEMENT LI - O %flow -- list item -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
440 <!ATTLIST LI
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
441 type %LIStyle #IMPLIED -- list item style --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
442 value NUMBER #IMPLIED -- reset sequence number --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
443 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
444
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
445 <!--================ Forms ===============================================-->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
446
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
447 <!ELEMENT FORM - - %body.content -(FORM)>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
448 <!ATTLIST FORM
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
449 action %URL #REQUIRED -- server-side form handler --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
450 method (%HTTP-Method) GET -- see HTTP specification --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
451 enctype %Content-Type; "application/x-www-form-urlencoded"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
452 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
453
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
454 <!ENTITY % InputType
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
455 "(TEXT | PASSWORD | CHECKBOX | RADIO | SUBMIT
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
456 | RESET | FILE | HIDDEN | IMAGE)">
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
457
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
458 <!ELEMENT INPUT - O EMPTY>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
459 <!ATTLIST INPUT
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
460 type %InputType TEXT -- what kind of widget is needed --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
461 name CDATA #IMPLIED -- required for all but submit and reset --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
462 value CDATA #IMPLIED -- required for radio and checkboxes --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
463 checked (checked) #IMPLIED -- for radio buttons and check boxes --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
464 size CDATA #IMPLIED -- specific to each type of field --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
465 maxlength NUMBER #IMPLIED
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
466 src %URL #IMPLIED -- for fields with background images --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
467 align (top|middle|bottom|left|right) top -- image alignment --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
468 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
469
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
470 <!ELEMENT SELECT - - (OPTION+)>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
471 <!ATTLIST SELECT
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
472 name CDATA #REQUIRED
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
473 size NUMBER #IMPLIED
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
474 multiple (multiple) #IMPLIED
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
475 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
476
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
477 <!ELEMENT OPTION - O (#PCDATA)*>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
478 <!ATTLIST OPTION
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
479 selected (selected) #IMPLIED
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
480 value CDATA #IMPLIED -- defaults to element content --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
481 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
482
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
483 <!-- Multi-line text input field. -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
484
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
485 <!ELEMENT TEXTAREA - - (#PCDATA)*>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
486 <!ATTLIST TEXTAREA
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
487 name CDATA #REQUIRED
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
488 rows NUMBER #REQUIRED
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
489 cols NUMBER #REQUIRED
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
490 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
491
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
492 <!--======================= Tables ========================================-->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
493
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
494 <!-- Widely deployed subset of the full table standard, see RFC XXXX -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
495
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
496 <!-- horizontal placement of table relative to window -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
497 <!ENTITY % Where "(left|center|right)">
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
498
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
499 <!-- horizontal alignment attributes for cell contents -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
500 <!ENTITY % cell.halign
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
501 "align (left|center|right) #IMPLIED"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
502 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
503
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
504 <!-- vertical alignment attributes for cell contents -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
505 <!ENTITY % cell.valign
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
506 "valign (top|middle|bottom|baseline) #IMPLIED"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
507 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
508
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
509 <!ELEMENT table - - (caption?, tr+)>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
510 <!ELEMENT tr - O (th|td)*>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
511 <!ELEMENT (th|td) - O %body.content>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
512
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
513 <!ATTLIST table -- table element --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
514 align %Where; #IMPLIED -- table position relative to window --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
515 width %Length #IMPLIED -- table width relative to window --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
516 border %Pixels #IMPLIED -- controls frame width around table --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
517 cellspacing %Pixels #IMPLIED -- spacing between cells --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
518 cellpadding %Pixels #IMPLIED -- spacing within cells --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
519 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
520
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
521 <!ELEMENT CAPTION - - (%text;)* -- table or figure caption -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
522 <!ATTLIST CAPTION
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
523 align (top|bottom) #IMPLIED
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
524 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
525
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
526 <!ATTLIST tr -- table row --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
527 %cell.halign; -- horizontal alignment in cells --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
528 %cell.valign; -- vertical alignment in cells --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
529 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
530
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
531 <!ATTLIST (th|td) -- header or data cell --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
532 nowrap (nowrap) #IMPLIED -- suppress word wrap --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
533 rowspan NUMBER 1 -- number of rows spanned by cell --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
534 colspan NUMBER 1 -- number of cols spanned by cell --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
535 %cell.halign; -- horizontal alignment in cells --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
536 %cell.valign; -- vertical alignment in cells --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
537 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
538
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
539 <!--================ Document Head ========================================-->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
540
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
541 <!-- %head.misc defined earlier on as "SCRIPT|STYLE|META|LINK" -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
542
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
543 <!ENTITY % head.content "TITLE & ISINDEX? & BASE?">
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
544
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
545 <!ELEMENT HEAD O O (%head.content) +(%head.misc)>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
546
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
547 <!ELEMENT TITLE - - (#PCDATA)* -(%head.misc)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
548 -- The TITLE element is not considered part of the flow of text.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
549 It should be displayed, for example as the page header or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
550 window title.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
551 -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
552
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
553 <!ELEMENT ISINDEX - O EMPTY>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
554 <!ATTLIST ISINDEX
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
555 prompt CDATA #IMPLIED -- prompt message -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
556
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
557 <!--
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
558 The BASE element gives an absolute URL for dereferencing relative
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
559 URLs, e.g.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
560
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
561 <BASE href="http://foo.com/index.html">
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
562 ...
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
563 <IMG SRC="images/bar.gif">
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
564
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
565 The image is deferenced to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
566
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
567 http://foo.com/images/bar.gif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
568
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
569 In the absence of a BASE element the document URL should be used.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
570 Note that this is not necessarily the same as the URL used to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
571 request the document, as the base URL may be overridden by an HTTP
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
572 header accompanying the document.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
573 -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
574
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
575 <!ELEMENT BASE - O EMPTY>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
576 <!ATTLIST BASE
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
577 href %URL #REQUIRED
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
578 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
579
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
580 <!ELEMENT META - O EMPTY -- Generic Metainformation -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
581 <!ATTLIST META
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
582 http-equiv NAME #IMPLIED -- HTTP response header name --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
583 name NAME #IMPLIED -- metainformation name --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
584 content CDATA #REQUIRED -- associated information --
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
585 >
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
586
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
587 <!-- SCRIPT/STYLE are place holders for transition to next version of HTML -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
588
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
589 <!ELEMENT STYLE - - (#PCDATA)* -(%head.misc) -- style info -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
590 <!ELEMENT SCRIPT - - (#PCDATA)* -(%head.misc) -- script statements -->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
591
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
592 <!--================ Document Structure ===================================-->
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
593
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
594 <!ENTITY % version.attr "VERSION CDATA #FIXED '%HTML.Version;'">
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
595
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
596 <!ELEMENT HTML O O (HEAD, BODY)>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
597 <!ATTLIST HTML
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
598 %version.attr;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
599 >