/[pub]/test/html.dtd
Suika

Contents of /test/html.dtd

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7.2.3 - (show annotations) (download)
Mon Apr 4 23:58:38 1994 UTC (30 years, 1 month ago) by connolly
Branch: connolly
Changes since 1.7.2.2: +5 -4 lines
Fixed a couple wierdo's with ADDRESS and such.

1 <!-- html.dtd
2
3 Document Type Definition for the HyperText Markup Language
4 as used by the World Wide Web application (HTML DTD).
5
6 $Id: html.dtd,v 1.7.2.2 1994/04/01 20:30:17 connolly Exp $
7 -->
8
9
10 <!-- DTD definitions -->
11
12 <!ENTITY % heading "H1|H2|H3|H4|H5|H6" >
13 <!ENTITY % list " UL | OL | DIR | MENU ">
14 <!ENTITY % literal " XMP | LISTING ">
15
16 <!ENTITY % bodyelement
17 "P | HR | %heading |
18 %list | DL | ADDRESS | PRE | BLOCKQUOTE
19 | %literal">
20
21 <!ENTITY % URL "CDATA"
22 -- The term URL means a CDATA attribute
23 whose value is a Uniform Resource Locator,
24 as defined. (A URN may also be usable here when defined.)
25 -->
26
27 <!ENTITY % linkattributes
28 "NAME NMTOKEN #IMPLIED
29 HREF %URL; #IMPLIED
30 REL CDATA #IMPLIED -- forward relationship type --
31 REV CDATA #IMPLIED -- reversed relationship type
32 to referent data:
33
34 PARENT CHILD, SIBLING, NEXT, TOP,
35 DEFINITION, UPDATE, ORIGINAL etc. --
36
37 URN CDATA #IMPLIED -- universal resource number --
38
39 TITLE CDATA #IMPLIED -- advisory only --
40
41 METHODS NAMES #IMPLIED -- supported public methods of the object:
42 TEXTSEARCH, GET, HEAD, ... --
43
44 ">
45
46
47 <!-- Document Element -->
48
49 <!ELEMENT HTML O O (HEAD, BODY)>
50
51 <!ELEMENT HEAD O O ( TITLE? & ISINDEX? & NEXTID? & LINK*
52 & BASE?)>
53
54 <!ELEMENT TITLE - - (#PCDATA)
55 -- The TITLE element is not considered part of the flow of text.
56 It should be displayed, for example as the page header or
57 window title.
58 -->
59
60 <!ELEMENT ISINDEX - O EMPTY
61 -- WWW clients should offer the option to perform a search on
62 documents containing ISINDEX.
63 -->
64
65 <!ELEMENT LINK - O EMPTY>
66 <!ATTLIST LINK
67 %linkattributes>
68
69 <!ELEMENT BASE - O EMPTY -- Reference context for URLS -->
70 <!ATTLIST BASE
71
72 HREF %URL; #IMPLIED
73
74 >
75 <!ENTITY % inline "EM | STRONG |
76 CODE | SAMP | KBD | KEY | VAR | DFN | CITE "
77 >
78
79 <!ELEMENT (%inline;) - - (#PCDATA | A)+>
80 <!ELEMENT (B | I | U | TT) - - (#PCDATA | A)+>
81
82 <!ENTITY % text "#PCDATA | IMG | %inline; | BR">
83
84 <!ENTITY % htext "A | %text" -- Plus links, no structure -->
85
86 <!ENTITY % stext -- as htext but also nested structure --
87 "P | HR | %list | DL | ADDRESS
88 | PRE | BLOCKQUOTE
89 | %literal | %htext">
90
91 <!ENTITY % block -- as htext but also nested structure --
92 "P | HR | %list | DL
93 | PRE | BLOCKQUOTE | ADDRESS
94 | %literal">
95
96
97 <!ELEMENT BODY O O (%heading | %block)+>
98
99
100 <!ELEMENT A - - ANY>
101 <!ATTLIST A
102 %linkattributes;
103 >
104
105 <!ELEMENT IMG - O EMPTY -- Embedded image -->
106 <!ATTLIST IMG
107 SRC %URL; #IMPLIED -- URL of document to embed --
108 >
109
110
111 <!ELEMENT P - O (%htext)+ -- paragraph -->
112 <!ELEMENT (HR|BR) - O EMPTY -- horizontal rule -->
113
114 <!ELEMENT ( %heading ) - - (%htext;)+>
115
116 <!ELEMENT DL - - (DT+, DD+)+>
117 <!-- structured DL's
118 -->
119
120 <!ELEMENT DT - O (%htext)+>
121 <!ELEMENT DD - O (%htext|%block)+>
122
123 <!ELEMENT (%list) - - (LI)+>
124
125 <!ATTLIST (%list)
126 COMPACT NAME #IMPLIED -- COMPACT, etc.--
127 >
128
129 <!ELEMENT LI - O (%htext|%block)+>
130
131 <!ELEMENT BLOCKQUOTE - - ((%htext|P)+, ADDRESS?)+
132 -- for quoting some other source -->
133
134 <!ELEMENT ADDRESS - - (%htext;)+>
135
136 <!ELEMENT PRE - - (#PCDATA | TT | B | I | U | A | P | BR)+>
137 <!ATTLIST PRE
138 WIDTH NUMBER #implied
139 >
140
141 <!-- Mnemonic character entities. -->
142
143 <!ENTITY % ISOlat1 PUBLIC
144 "ISO 8879:1986//ENTITIES Added Latin 1//EN">
145 %ISOlat1;
146
147 <!ENTITY amp "&#38;" -- ampersand -->
148 <!ENTITY gt "&#62;" -- greater than -->
149 <!ENTITY lt "&#60;" -- less than -->
150 <!ENTITY nbsp "&#32;" -- @@should be NON_BREAKING space -->
151 <!-- @@ should add entites for processing instructions
152 for line break, centering, etc. -->
153
154 <!-- deprecated elements -->
155
156 <!ELEMENT (%literal) - - CDATA>
157
158 <!ELEMENT PLAINTEXT - O EMPTY>
159

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24