Mercurial > hg > Aquinas
comparison dtd/html-base.mod @ 0:bca6df27dbfd
mostly unchanged from http://www.cc.org/dtd
| author | ht |
|---|---|
| date | Sat, 19 Jan 2008 22:54:40 +0000 |
| parents | |
| children | e851c0a4d5dc |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:bca6df27dbfd |
|---|---|
| 1 <!-- | |
| 2 Base DTD defining core HTML features for Voyager. | |
| 3 This should be imported after the other Voyager DTDs. | |
| 4 | |
| 5 Copyright (c) 1998 W3C (MIT, INRIA, Keio), All Rights Reserved. | |
| 6 | |
| 7 Author: Dave Raggett <dsr@w3.org> | |
| 8 | |
| 9 Modified by whp <hplantin@calvin.edu> 2002-08-20 | |
| 10 to add xcss stylesheet type and elements. | |
| 11 --> | |
| 12 | |
| 13 <!--=================== Document Body ====================================--> | |
| 14 | |
| 15 <!ENTITY % body.extra ""> | |
| 16 <!ENTITY % body.content "%Block;"> | |
| 17 | |
| 18 <!ELEMENT body %body.content;> | |
| 19 <!ATTLIST body | |
| 20 %attrs; | |
| 21 onload %Script; #IMPLIED | |
| 22 onunload %Script; #IMPLIED | |
| 23 %body.extra; | |
| 24 > | |
| 25 | |
| 26 <!ELEMENT div %Flow;> <!-- generic language/style container --> | |
| 27 <!ATTLIST div | |
| 28 %attrs; | |
| 29 > | |
| 30 | |
| 31 <!--===================== Inline Elements ================================--> | |
| 32 | |
| 33 <!ELEMENT span %Inline;> <!-- generic language/style container --> | |
| 34 <!ATTLIST span | |
| 35 %attrs; | |
| 36 > | |
| 37 | |
| 38 <!ELEMENT bdo %Inline;> <!-- I18N BiDi over-ride --> | |
| 39 <!ATTLIST bdo | |
| 40 %coreattrs; | |
| 41 lang %LanguageCode; #IMPLIED | |
| 42 dir (ltr|rtl) #REQUIRED | |
| 43 > | |
| 44 | |
| 45 <!ENTITY % br.extra ""> | |
| 46 | |
| 47 <!ELEMENT br EMPTY> <!-- forced line break --> | |
| 48 <!ATTLIST br | |
| 49 %coreattrs; | |
| 50 %br.extra; | |
| 51 > | |
| 52 | |
| 53 <!--================== The Anchor Element ================================--> | |
| 54 | |
| 55 <!ENTITY % a.extra ""> | |
| 56 | |
| 57 <!ELEMENT a %Inline;> <!-- anchors shouldn't be nested --> | |
| 58 <!ATTLIST a | |
| 59 %attrs; | |
| 60 charset %Charset; #IMPLIED | |
| 61 type %ContentType; #IMPLIED | |
| 62 name CDATA #IMPLIED | |
| 63 href %URI; #IMPLIED | |
| 64 hreflang %LanguageCode; #IMPLIED | |
| 65 rel %LinkTypes; #IMPLIED | |
| 66 rev %LinkTypes; #IMPLIED | |
| 67 accesskey %Character; #IMPLIED | |
| 68 shape %Shape; "rect" | |
| 69 coords %Coords; #IMPLIED | |
| 70 tabindex %Number; #IMPLIED | |
| 71 onfocus %Script; #IMPLIED | |
| 72 onblur %Script; #IMPLIED | |
| 73 xml:link CDATA #FIXED "simple" | |
| 74 %a.extra; | |
| 75 > | |
| 76 | |
| 77 <!--================== The LINK Element ==================================--> | |
| 78 | |
| 79 <!-- | |
| 80 Relationship values can be used in principle: | |
| 81 | |
| 82 a) for document specific toolbars/menus when used | |
| 83 with the LINK element in document head e.g. | |
| 84 start, contents, previous, next, index, end, help | |
| 85 b) to link to a separate style sheet (rel=stylesheet) | |
| 86 c) to make a link to a script (rel=script) | |
| 87 d) by stylesheets to control how collections of | |
| 88 html nodes are rendered into printed documents | |
| 89 e) to make a link to a printable version of this document | |
| 90 e.g. a postscript or pdf version (rel=alternate media=print) | |
| 91 --> | |
| 92 | |
| 93 <!ELEMENT link EMPTY> | |
| 94 <!ATTLIST link | |
| 95 %attrs; | |
| 96 charset %Charset; #IMPLIED | |
| 97 href %URI; #IMPLIED | |
| 98 hreflang %LanguageCode; #IMPLIED | |
| 99 type %ContentType; #IMPLIED | |
| 100 rel %LinkTypes; #IMPLIED | |
| 101 rev %LinkTypes; #IMPLIED | |
| 102 media %MediaDesc; #IMPLIED | |
| 103 target %FrameTarget; #IMPLIED | |
| 104 > | |
| 105 | |
| 106 <!--=================== Paragraphs =======================================--> | |
| 107 | |
| 108 <!ENTITY % p.extra ""> | |
| 109 | |
| 110 <!ELEMENT p %Inline;> | |
| 111 <!ATTLIST p | |
| 112 %attrs; | |
| 113 n CDATA #IMPLIED | |
| 114 shownumber (yes|no) "no" | |
| 115 %p.extra; | |
| 116 > | |
| 117 | |
| 118 <!--=================== Headings =========================================--> | |
| 119 | |
| 120 <!-- | |
| 121 There are six levels of headings from H1 (the most important) | |
| 122 to H6 (the least important). | |
| 123 --> | |
| 124 | |
| 125 <!ENTITY % headings.extra ""> | |
| 126 | |
| 127 <!ELEMENT h1 %Inline;> | |
| 128 <!ATTLIST h1 | |
| 129 %attrs; | |
| 130 %headings.extra; | |
| 131 > | |
| 132 | |
| 133 <!ELEMENT h2 %Inline;> | |
| 134 <!ATTLIST h2 | |
| 135 %attrs; | |
| 136 %headings.extra; | |
| 137 > | |
| 138 | |
| 139 <!ELEMENT h3 %Inline;> | |
| 140 <!ATTLIST h3 | |
| 141 %attrs; | |
| 142 %headings.extra; | |
| 143 > | |
| 144 | |
| 145 <!ELEMENT h4 %Inline;> | |
| 146 <!ATTLIST h4 | |
| 147 %attrs; | |
| 148 %headings.extra; | |
| 149 > | |
| 150 | |
| 151 <!ELEMENT h5 %Inline;> | |
| 152 <!ATTLIST h5 | |
| 153 %attrs; | |
| 154 %headings.extra; | |
| 155 > | |
| 156 | |
| 157 <!ELEMENT h6 %Inline;> | |
| 158 <!ATTLIST h6 | |
| 159 %attrs; | |
| 160 %headings.extra; | |
| 161 > | |
| 162 | |
| 163 <!--=================== Inserted/Deleted Text ============================--> | |
| 164 | |
| 165 | |
| 166 <!-- | |
| 167 INS/DEL are allowed in block and inline content, but its | |
| 168 inappropriate to include block content within an ins element | |
| 169 occurring in inline content. | |
| 170 --> | |
| 171 <!ELEMENT ins %Flow;> | |
| 172 <!ATTLIST ins | |
| 173 %attrs; | |
| 174 cite %URI; #IMPLIED | |
| 175 datetime %Datetime; #IMPLIED | |
| 176 > | |
| 177 | |
| 178 <!ELEMENT del %Flow;> | |
| 179 <!ATTLIST del | |
| 180 %attrs; | |
| 181 cite %URI; #IMPLIED | |
| 182 datetime %Datetime; #IMPLIED | |
| 183 > | |
| 184 | |
| 185 <!--================ Document Head =======================================--> | |
| 186 | |
| 187 <!ELEMENT head (title, base?, (script|style|meta|link)*)> | |
| 188 <!ATTLIST head | |
| 189 %i18n; | |
| 190 profile %URI; #IMPLIED | |
| 191 > | |
| 192 | |
| 193 <!-- The TITLE element is not considered part of the flow of text. | |
| 194 It should be displayed, for example as the page header or | |
| 195 window title. Exactly one title is required per document. | |
| 196 --> | |
| 197 <!ELEMENT title (#PCDATA)> | |
| 198 <!ATTLIST title %i18n;> | |
| 199 | |
| 200 <!-- document base URI --> | |
| 201 | |
| 202 <!ENTITY % base.extra ""> | |
| 203 | |
| 204 <!ELEMENT base EMPTY> | |
| 205 <!ATTLIST base | |
| 206 href %URI; #IMPLIED | |
| 207 %base.extra; | |
| 208 > | |
| 209 | |
| 210 <!-- generic metainformation --> | |
| 211 <!ELEMENT meta EMPTY> | |
| 212 <!ATTLIST meta | |
| 213 %i18n; | |
| 214 http-equiv CDATA #IMPLIED | |
| 215 name CDATA #IMPLIED | |
| 216 content CDATA #REQUIRED | |
| 217 scheme CDATA #IMPLIED | |
| 218 > | |
| 219 | |
| 220 <!-- style info, which may include CDATA sections --> | |
| 221 <!--selector added by whp--> | |
| 222 <!ELEMENT style (#PCDATA | selector)*> | |
| 223 | |
| 224 <!ATTLIST style | |
| 225 %i18n; | |
| 226 type %ContentType; #REQUIRED | |
| 227 media %MediaDesc; #IMPLIED | |
| 228 title %Text; #IMPLIED | |
| 229 > | |
| 230 | |
| 231 <!-- selector - part of xcss stylesheet. Added by whp --> | |
| 232 <!ELEMENT selector (property+) > | |
| 233 <!ATTLIST selector | |
| 234 element CDATA #IMPLIED | |
| 235 class CDATA #IMPLIED | |
| 236 pseud CDATA #IMPLIED | |
| 237 > | |
| 238 | |
| 239 <!-- property - part of xcss stylesheet. Added by whp --> | |
| 240 <!ELEMENT property EMPTY > | |
| 241 <!ATTLIST property | |
| 242 name CDATA #IMPLIED | |
| 243 value CDATA #IMPLIED | |
| 244 > | |
| 245 | |
| 246 | |
| 247 | |
| 248 <!-- a comment here to take up space --> | |
| 249 | |
| 250 | |
| 251 <!-- script statements, which may include CDATA sections --> | |
| 252 <!ELEMENT script (#PCDATA)> | |
| 253 <!ATTLIST script | |
| 254 charset %Charset; #IMPLIED | |
| 255 type %ContentType; #REQUIRED | |
| 256 language CDATA #IMPLIED | |
| 257 src %URI; #IMPLIED | |
| 258 defer (defer) #IMPLIED | |
| 259 > | |
| 260 | |
| 261 <!-- alternate content container for non script-based rendering --> | |
| 262 | |
| 263 <!ENTITY % noscript.content "%Block;"> | |
| 264 | |
| 265 <!ELEMENT noscript %noscript.content;> | |
| 266 <!ATTLIST noscript | |
| 267 %attrs; | |
| 268 > | |
| 269 | |
| 270 <!--================ Document Structure ==================================--> | |
| 271 | |
| 272 |
