/[suikacvs]/test/html.dtd
Suika

Contents of /test/html.dtd

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.30 - (show annotations) (download)
Thu Sep 21 23:30:19 1995 UTC (30 years, 9 months ago) by connolly
Branch: MAIN
CVS Tags: HEAD
Changes since 1.29: +7 -7 lines
,changes

1 <!-- html.dtd
2
3 Document Type Definition for the HyperText Markup Language
4 (HTML DTD)
5
6 $Id: html.dtd,v 1.29 1995/08/04 17:50:22 connolly Exp $
7
8 Author: Daniel W. Connolly <[email protected]>
9 See Also: html.decl, html-1.dtd
10 http://www.w3.org/hypertext/WWW/MarkUp/MarkUp.html
11 -->
12
13 <!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
30 compatibility with widespread usage, but they may
31 compromise the structural integrity of a document.
32 This feature test entity enables a more prescriptive
33 document type definition that eliminates
34 those features.
35 -->
36
37 <![ %HTML.Recommended [
38 <!ENTITY % HTML.Deprecated "IGNORE">
39 ]]>
40
41 <!ENTITY % HTML.Deprecated "INCLUDE"
42 -- Certain features of the language are necessary for
43 compatibility with earlier versions of the specification,
44 but they tend to be used and implemented inconsistently,
45 and their use is deprecated. This feature test entity
46 enables a document type definition that eliminates
47 these features.
48 -->
49
50 <!ENTITY % HTML.Highlighting "INCLUDE"
51 -- Use this feature test entity to validate that a
52 document uses no highlighting tags, which may be
53 ignored on minimal implementations.
54 -->
55
56 <!ENTITY % HTML.Forms "INCLUDE"
57 -- Use this feature test entity to validate that a document
58 contains no forms, which may not be supported in minimal
59 implementations
60 -->
61
62 <!--============== Imported Names ==============================-->
63
64 <!ENTITY % Content-Type "CDATA"
65 -- meaning an internet media type
66 (aka MIME content type, as per RFC1521)
67 -->
68
69 <!ENTITY % HTTP-Method "GET | POST"
70 -- as per HTTP specification, in progress
71 -->
72
73 <!--========= DTD "Macros" =====================-->
74
75 <!ENTITY % heading "H1|H2|H3|H4|H5|H6">
76
77 <!ENTITY % list " UL | OL | DIR | MENU " >
78
79
80 <!--======= Character mnemonic entities =================-->
81
82 <!ENTITY % ISOlat1 PUBLIC
83 "ISO 8879-1986//ENTITIES Added Latin 1//EN//HTML">
84 %ISOlat1;
85
86 <!ENTITY amp CDATA "&#38;" -- ampersand -->
87 <!ENTITY gt CDATA "&#62;" -- greater than -->
88 <!ENTITY lt CDATA "&#60;" -- less than -->
89 <!ENTITY quot CDATA "&#34;" -- double quote -->
90
91
92 <!--========= SGML Document Access (SDA) Parameter Entities =====-->
93
94 <!-- HTML 2.0 contains SGML Document Access (SDA) fixed attributes
95 in support of easy transformation to the International Committee
96 for Accessible Document Design (ICADD) DTD
97 "-//EC-USA-CDA/ICADD//DTD ICADD22//EN".
98 ICADD applications are designed to support usable access to
99 structured information by print-impaired individuals through
100 Braille, large print and voice synthesis. For more information on
101 SDA & ICADD:
102 - ISO 12083:1993, Annex A.8, Facilities for Braille,
103 large print and computer voice
104 - ICADD ListServ
105 <ICADD%[email protected]>
106 - Usenet news group bit.listserv.easi
107 - Recording for the Blind, +1 800 221 4792
108 -->
109
110 <!ENTITY % SDAFORM "SDAFORM CDATA #FIXED"
111 -- one to one mapping -->
112 <!ENTITY % SDARULE "SDARULE CDATA #FIXED"
113 -- context-sensitive mapping -->
114 <!ENTITY % SDAPREF "SDAPREF CDATA #FIXED"
115 -- generated text prefix -->
116 <!ENTITY % SDASUFF "SDASUFF CDATA #FIXED"
117 -- generated text suffix -->
118 <!ENTITY % SDASUSP "SDASUSP NAME #FIXED"
119 -- suspend transform process -->
120
121
122 <!--========== Text Markup =====================-->
123
124 <![ %HTML.Highlighting [
125
126 <!ENTITY % font " TT | B | I ">
127
128 <!ENTITY % phrase "EM | STRONG | CODE | SAMP | KBD | VAR | CITE ">
129
130 <!ENTITY % text "#PCDATA | A | IMG | BR | %phrase | %font">
131
132 <!ELEMENT (%font;|%phrase) - - (%text)*>
133 <!ATTLIST ( TT | CODE | SAMP | KBD | VAR )
134 %SDAFORM; "Lit"
135 >
136 <!ATTLIST ( B | STRONG )
137 %SDAFORM; "B"
138 >
139 <!ATTLIST ( I | EM | CITE )
140 %SDAFORM; "It"
141 >
142
143 <!-- <TT> Typewriter text -->
144 <!-- <B> Bold text -->
145 <!-- <I> Italic text -->
146
147 <!-- <EM> Emphasized phrase -->
148 <!-- <STRONG> Strong emphasis -->
149 <!-- <CODE> Source code phrase -->
150 <!-- <SAMP> Sample text or characters -->
151 <!-- <KBD> Keyboard phrase, e.g. user input -->
152 <!-- <VAR> Variable phrase or substitutable -->
153 <!-- <CITE> Name or title of cited work -->
154
155 <!ENTITY % pre.content "#PCDATA | A | HR | BR | %font | %phrase">
156
157 ]]>
158
159 <!ENTITY % text "#PCDATA | A | IMG | BR">
160
161 <!ELEMENT BR - O EMPTY>
162 <!ATTLIST BR
163 %SDAPREF; "&#RE;"
164 >
165
166 <!-- <BR> Line break -->
167
168
169 <!--========= Link Markup ======================-->
170
171 <!ENTITY % linkType "NAMES">
172
173 <!ENTITY % linkExtraAttributes
174 "REL %linkType #IMPLIED
175 REV %linkType #IMPLIED
176 URN CDATA #IMPLIED
177 TITLE CDATA #IMPLIED
178 METHODS NAMES #IMPLIED
179 ">
180
181 <![ %HTML.Recommended [
182 <!ENTITY % A.content "(%text)*"
183 -- <H1><a name="xxx">Heading</a></H1>
184 is preferred to
185 <a name="xxx"><H1>Heading</H1></a>
186 -->
187 ]]>
188
189 <!ENTITY % A.content "(%heading|%text)*">
190
191 <!ELEMENT A - - %A.content -(A)>
192 <!ATTLIST A
193 HREF CDATA #IMPLIED
194 NAME CDATA #IMPLIED
195 %linkExtraAttributes;
196 %SDAPREF; "<Anchor: #AttList>"
197 >
198 <!-- <A> Anchor; source/destination of link -->
199 <!-- <A NAME="..."> Name of this anchor -->
200 <!-- <A HREF="..."> Address of link destination -->
201 <!-- <A URN="..."> Permanent address of destination -->
202 <!-- <A REL=...> Relationship to destination -->
203 <!-- <A REV=...> Relationship of destination to this -->
204 <!-- <A TITLE="..."> Title of destination (advisory) -->
205 <!-- <A METHODS="..."> Operations on destination (advisory) -->
206
207
208 <!--========== Images ==========================-->
209
210 <!ELEMENT IMG - O EMPTY>
211 <!ATTLIST IMG
212 SRC CDATA #REQUIRED
213 ALT CDATA #IMPLIED
214 ALIGN (top|middle|bottom) #IMPLIED
215 ISMAP (ISMAP) #IMPLIED
216 %SDAPREF; "<Fig><?SDATrans Img: #AttList>#AttVal(Alt)</Fig>"
217 >
218
219 <!-- <IMG> Image; icon, glyph or illustration -->
220 <!-- <IMG SRC="..."> Address of image object -->
221 <!-- <IMG ALT="..."> Textual alternative -->
222 <!-- <IMG ALIGN=...> Position relative to text -->
223 <!-- <IMG ISMAP> Each pixel can be a link -->
224
225 <!--========== Paragraphs=======================-->
226
227 <!ELEMENT P - O (%text)*>
228 <!ATTLIST P
229 %SDAFORM; "Para"
230 >
231
232 <!-- <P> Paragraph -->
233
234
235 <!--========== Headings, Titles, Sections ===============-->
236
237 <!ELEMENT HR - O EMPTY>
238 <!ATTLIST HR
239 %SDAPREF; "&#RE;&#RE;"
240 >
241
242 <!-- <HR> Horizontal rule -->
243
244 <!ELEMENT ( %heading ) - - (%text;)*>
245 <!ATTLIST H1
246 %SDAFORM; "H1"
247 >
248 <!ATTLIST H2
249