You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

xhtml1-transitional.dtd 31KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201
  1. <!--
  2. Extensible HTML version 1.0 Transitional DTD
  3. This is the same as HTML 4 Transitional except for
  4. changes due to the differences between XML and SGML.
  5. Namespace = http://www.w3.org/1999/xhtml
  6. For further information, see: http://www.w3.org/TR/xhtml1
  7. Copyright (c) 1998-2002 W3C (MIT, INRIA, Keio),
  8. All Rights Reserved.
  9. This DTD module is identified by the PUBLIC and SYSTEM identifiers:
  10. PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  11. SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
  12. $Revision: 1.2 $
  13. $Date: 2002/08/01 18:37:55 $
  14. -->
  15. <!--================ Character mnemonic entities =========================-->
  16. <!ENTITY % HTMLlat1 PUBLIC
  17. "-//W3C//ENTITIES Latin 1 for XHTML//EN"
  18. "xhtml-lat1.ent">
  19. %HTMLlat1;
  20. <!ENTITY % HTMLsymbol PUBLIC
  21. "-//W3C//ENTITIES Symbols for XHTML//EN"
  22. "xhtml-symbol.ent">
  23. %HTMLsymbol;
  24. <!ENTITY % HTMLspecial PUBLIC
  25. "-//W3C//ENTITIES Special for XHTML//EN"
  26. "xhtml-special.ent">
  27. %HTMLspecial;
  28. <!--================== Imported Names ====================================-->
  29. <!ENTITY % ContentType "CDATA">
  30. <!-- media type, as per [RFC2045] -->
  31. <!ENTITY % ContentTypes "CDATA">
  32. <!-- comma-separated list of media types, as per [RFC2045] -->
  33. <!ENTITY % Charset "CDATA">
  34. <!-- a character encoding, as per [RFC2045] -->
  35. <!ENTITY % Charsets "CDATA">
  36. <!-- a space separated list of character encodings, as per [RFC2045] -->
  37. <!ENTITY % LanguageCode "NMTOKEN">
  38. <!-- a language code, as per [RFC3066] -->
  39. <!ENTITY % Character "CDATA">
  40. <!-- a single character, as per section 2.2 of [XML] -->
  41. <!ENTITY % Number "CDATA">
  42. <!-- one or more digits -->
  43. <!ENTITY % LinkTypes "CDATA">
  44. <!-- space-separated list of link types -->
  45. <!ENTITY % MediaDesc "CDATA">
  46. <!-- single or comma-separated list of media descriptors -->
  47. <!ENTITY % URI "CDATA">
  48. <!-- a Uniform Resource Identifier, see [RFC2396] -->
  49. <!ENTITY % UriList "CDATA">
  50. <!-- a space separated list of Uniform Resource Identifiers -->
  51. <!ENTITY % Datetime "CDATA">
  52. <!-- date and time information. ISO date format -->
  53. <!ENTITY % Script "CDATA">
  54. <!-- script expression -->
  55. <!ENTITY % StyleSheet "CDATA">
  56. <!-- style sheet data -->
  57. <!ENTITY % Text "CDATA">
  58. <!-- used for titles etc. -->
  59. <!ENTITY % FrameTarget "NMTOKEN">
  60. <!-- render in this frame -->
  61. <!ENTITY % Length "CDATA">
  62. <!-- nn for pixels or nn% for percentage length -->
  63. <!ENTITY % MultiLength "CDATA">
  64. <!-- pixel, percentage, or relative -->
  65. <!ENTITY % Pixels "CDATA">
  66. <!-- integer representing length in pixels -->
  67. <!-- these are used for image maps -->
  68. <!ENTITY % Shape "(rect|circle|poly|default)">
  69. <!ENTITY % Coords "CDATA">
  70. <!-- comma separated list of lengths -->
  71. <!-- used for object, applet, img, input and iframe -->
  72. <!ENTITY % ImgAlign "(top|middle|bottom|left|right)">
  73. <!-- a color using sRGB: #RRGGBB as Hex values -->
  74. <!ENTITY % Color "CDATA">
  75. <!-- There are also 16 widely known color names with their sRGB values:
  76. Black = #000000 Green = #008000
  77. Silver = #C0C0C0 Lime = #00FF00
  78. Gray = #808080 Olive = #808000
  79. White = #FFFFFF Yellow = #FFFF00
  80. Maroon = #800000 Navy = #000080
  81. Red = #FF0000 Blue = #0000FF
  82. Purple = #800080 Teal = #008080
  83. Fuchsia= #FF00FF Aqua = #00FFFF
  84. -->
  85. <!--=================== Generic Attributes ===============================-->
  86. <!-- core attributes common to most elements
  87. id document-wide unique id
  88. class space separated list of classes
  89. style associated style info
  90. title advisory title/amplification
  91. -->
  92. <!ENTITY % coreattrs
  93. "id ID #IMPLIED
  94. class CDATA #IMPLIED
  95. style %StyleSheet; #IMPLIED
  96. title %Text; #IMPLIED"
  97. >
  98. <!-- internationalization attributes
  99. lang language code (backwards compatible)
  100. xml:lang language code (as per XML 1.0 spec)
  101. dir direction for weak/neutral text
  102. -->
  103. <!ENTITY % i18n
  104. "lang %LanguageCode; #IMPLIED
  105. xml:lang %LanguageCode; #IMPLIED
  106. dir (ltr|rtl) #IMPLIED"
  107. >
  108. <!-- attributes for common UI events
  109. onclick a pointer button was clicked
  110. ondblclick a pointer button was double clicked
  111. onmousedown a pointer button was pressed down
  112. onmouseup a pointer button was released
  113. onmousemove a pointer was moved onto the element
  114. onmouseout a pointer was moved away from the element
  115. onkeypress a key was pressed and released
  116. onkeydown a key was pressed down
  117. onkeyup a key was released
  118. -->
  119. <!ENTITY % events
  120. "onclick %Script; #IMPLIED
  121. ondblclick %Script; #IMPLIED
  122. onmousedown %Script; #IMPLIED
  123. onmouseup %Script; #IMPLIED
  124. onmouseover %Script; #IMPLIED
  125. onmousemove %Script; #IMPLIED
  126. onmouseout %Script; #IMPLIED
  127. onkeypress %Script; #IMPLIED
  128. onkeydown %Script; #IMPLIED
  129. onkeyup %Script; #IMPLIED"
  130. >
  131. <!-- attributes for elements that can get the focus
  132. accesskey accessibility key character
  133. tabindex position in tabbing order
  134. onfocus the element got the focus
  135. onblur the element lost the focus
  136. -->
  137. <!ENTITY % focus
  138. "accesskey %Character; #IMPLIED
  139. tabindex %Number; #IMPLIED
  140. onfocus %Script; #IMPLIED
  141. onblur %Script; #IMPLIED"
  142. >
  143. <!ENTITY % attrs "%coreattrs; %i18n; %events;">
  144. <!-- text alignment for p, div, h1-h6. The default is
  145. align="left" for ltr headings, "right" for rtl -->
  146. <!ENTITY % TextAlign "align (left|center|right|justify) #IMPLIED">
  147. <!--=================== Text Elements ====================================-->
  148. <!ENTITY % special.extra
  149. "object | applet | img | map | iframe">
  150. <!ENTITY % special.basic
  151. "br | span | bdo">
  152. <!ENTITY % special
  153. "%special.basic; | %special.extra;">
  154. <!ENTITY % fontstyle.extra "big | small | font | basefont">
  155. <!ENTITY % fontstyle.basic "tt | i | b | u
  156. | s | strike ">
  157. <!ENTITY % fontstyle "%fontstyle.basic; | %fontstyle.extra;">
  158. <!ENTITY % phrase.extra "sub | sup">
  159. <!ENTITY % phrase.basic "em | strong | dfn | code | q |
  160. samp | kbd | var | cite | abbr | acronym">
  161. <!ENTITY % phrase "%phrase.basic; | %phrase.extra;">
  162. <!ENTITY % inline.forms "input | select | textarea | label | button">
  163. <!-- these can occur at block or inline level -->
  164. <!ENTITY % misc.inline "ins | del | script">
  165. <!-- these can only occur at block level -->
  166. <!ENTITY % misc "noscript | %misc.inline;">
  167. <!ENTITY % inline "a | %special; | %fontstyle; | %phrase; | %inline.forms;">
  168. <!-- %Inline; covers inline or "text-level" elements -->
  169. <!ENTITY % Inline "(#PCDATA | %inline; | %misc.inline;)*">
  170. <!--================== Block level elements ==============================-->
  171. <!ENTITY % heading "h1|h2|h3|h4|h5|h6">
  172. <!ENTITY % lists "ul | ol | dl | menu | dir">
  173. <!ENTITY % blocktext "pre | hr | blockquote | address | center | noframes">
  174. <!ENTITY % block
  175. "p | %heading; | div | %lists; | %blocktext; | isindex |fieldset | table">
  176. <!-- %Flow; mixes block and inline and is used for list items etc. -->
  177. <!ENTITY % Flow "(#PCDATA | %block; | form | %inline; | %misc;)*">
  178. <!--================== Content models for exclusions =====================-->
  179. <!-- a elements use %Inline; excluding a -->
  180. <!ENTITY % a.content
  181. "(#PCDATA | %special; | %fontstyle; | %phrase; | %inline.forms; | %misc.inline;)*">
  182. <!-- pre uses %Inline excluding img, object, applet, big, small,
  183. font, or basefont -->
  184. <!ENTITY % pre.content
  185. "(#PCDATA | a | %special.basic; | %fontstyle.basic; | %phrase.basic; |
  186. %inline.forms; | %misc.inline;)*">
  187. <!-- form uses %Flow; excluding form -->
  188. <!ENTITY % form.content "(#PCDATA | %block; | %inline; | %misc;)*">
  189. <!-- button uses %Flow; but excludes a, form, form controls, iframe -->
  190. <!ENTITY % button.content
  191. "(#PCDATA | p | %heading; | div | %lists; | %blocktext; |
  192. table | br | span | bdo | object | applet | img | map |
  193. %fontstyle; | %phrase; | %misc;)*">
  194. <!--================ Document Structure ==================================-->
  195. <!-- the namespace URI designates the document profile -->
  196. <!ELEMENT html (head, body)>
  197. <!ATTLIST html
  198. %i18n;
  199. id ID #IMPLIED
  200. xmlns %URI; #FIXED 'http://www.w3.org/1999/xhtml'
  201. >
  202. <!--================ Document Head =======================================-->
  203. <!ENTITY % head.misc "(script|style|meta|link|object|isindex)*">
  204. <!-- content model is %head.misc; combined with a single
  205. title and an optional base element in any order -->
  206. <!ELEMENT head (%head.misc;,
  207. ((title, %head.misc;, (base, %head.misc;)?) |
  208. (base, %head.misc;, (title, %head.misc;))))>
  209. <!ATTLIST head
  210. %i18n;
  211. id ID #IMPLIED
  212. profile %URI; #IMPLIED
  213. >
  214. <!-- The title element is not considered part of the flow of text.
  215. It should be displayed, for example as the page header or
  216. window title. Exactly one title is required per document.
  217. -->
  218. <!ELEMENT title (#PCDATA)>
  219. <!ATTLIST title
  220. %i18n;
  221. id ID #IMPLIED
  222. >
  223. <!-- document base URI -->
  224. <!ELEMENT base EMPTY>
  225. <!ATTLIST base
  226. id ID #IMPLIED
  227. href %URI; #IMPLIED
  228. target %FrameTarget; #IMPLIED
  229. >
  230. <!-- generic metainformation -->
  231. <!ELEMENT meta EMPTY>
  232. <!ATTLIST meta
  233. %i18n;
  234. id ID #IMPLIED
  235. http-equiv CDATA #IMPLIED
  236. name CDATA #IMPLIED
  237. content CDATA #REQUIRED
  238. scheme CDATA #IMPLIED
  239. >
  240. <!--
  241. Relationship values can be used in principle:
  242. a) for document specific toolbars/menus when used
  243. with the link element in document head e.g.
  244. start, contents, previous, next, index, end, help
  245. b) to link to a separate style sheet (rel="stylesheet")
  246. c) to make a link to a script (rel="script")
  247. d) by stylesheets to control how collections of
  248. html nodes are rendered into printed documents
  249. e) to make a link to a printable version of this document
  250. e.g. a PostScript or PDF version (rel="alternate" media="print")
  251. -->
  252. <!ELEMENT link EMPTY>
  253. <!ATTLIST link
  254. %attrs;
  255. charset %Charset; #IMPLIED
  256. href %URI; #IMPLIED
  257. hreflang %LanguageCode; #IMPLIED
  258. type %ContentType; #IMPLIED
  259. rel %LinkTypes; #IMPLIED
  260. rev %LinkTypes; #IMPLIED
  261. media %MediaDesc; #IMPLIED
  262. target %FrameTarget; #IMPLIED
  263. >
  264. <!-- style info, which may include CDATA sections -->
  265. <!ELEMENT style (#PCDATA)>
  266. <!ATTLIST style
  267. %i18n;
  268. id ID #IMPLIED
  269. type %ContentType; #REQUIRED
  270. media %MediaDesc; #IMPLIED
  271. title %Text; #IMPLIED
  272. xml:space (preserve) #FIXED 'preserve'
  273. >
  274. <!-- script statements, which may include CDATA sections -->
  275. <!ELEMENT script (#PCDATA)>
  276. <!ATTLIST script
  277. id ID #IMPLIED
  278. charset %Charset; #IMPLIED
  279. type %ContentType; #REQUIRED
  280. language CDATA #IMPLIED
  281. src %URI; #IMPLIED
  282. defer (defer) #IMPLIED
  283. xml:space (preserve) #FIXED 'preserve'
  284. >
  285. <!-- alternate content container for non script-based rendering -->
  286. <!ELEMENT noscript %Flow;>
  287. <!ATTLIST noscript
  288. %attrs;
  289. >
  290. <!--======================= Frames =======================================-->
  291. <!-- inline subwindow -->
  292. <!ELEMENT iframe %Flow;>
  293. <!ATTLIST iframe
  294. %coreattrs;
  295. longdesc %URI; #IMPLIED
  296. name NMTOKEN #IMPLIED
  297. src %URI; #IMPLIED
  298. frameborder (1|0) "1"
  299. marginwidth %Pixels; #IMPLIED
  300. marginheight %Pixels; #IMPLIED
  301. scrolling (yes|no|auto) "auto"
  302. align %ImgAlign; #IMPLIED
  303. height %Length; #IMPLIED
  304. width %Length; #IMPLIED
  305. >
  306. <!-- alternate content container for non frame-based rendering -->
  307. <!ELEMENT noframes %Flow;>
  308. <!ATTLIST noframes
  309. %attrs;
  310. >
  311. <!--=================== Document Body ====================================-->
  312. <!ELEMENT body %Flow;>
  313. <!ATTLIST body
  314. %attrs;
  315. onload %Script; #IMPLIED
  316. onunload %Script; #IMPLIED
  317. background %URI; #IMPLIED
  318. bgcolor %Color; #IMPLIED
  319. text %Color; #IMPLIED
  320. link %Color; #IMPLIED
  321. vlink %Color; #IMPLIED
  322. alink %Color; #IMPLIED
  323. >
  324. <!ELEMENT div %Flow;> <!-- generic language/style container -->
  325. <!ATTLIST div
  326. %attrs;
  327. %TextAlign;
  328. >
  329. <!--=================== Paragraphs =======================================-->
  330. <!ELEMENT p %Inline;>
  331. <!ATTLIST p
  332. %attrs;
  333. %TextAlign;
  334. >
  335. <!--=================== Headings =========================================-->
  336. <!--
  337. There are six levels of headings from h1 (the most important)
  338. to h6 (the least important).
  339. -->
  340. <!ELEMENT h1 %Inline;>
  341. <!ATTLIST h1
  342. %attrs;
  343. %TextAlign;
  344. >
  345. <!ELEMENT h2 %Inline;>
  346. <!ATTLIST h2
  347. %attrs;
  348. %TextAlign;
  349. >
  350. <!ELEMENT h3 %Inline;>
  351. <!ATTLIST h3
  352. %attrs;
  353. %TextAlign;
  354. >
  355. <!ELEMENT h4 %Inline;>
  356. <!ATTLIST h4
  357. %attrs;
  358. %TextAlign;
  359. >
  360. <!ELEMENT h5 %Inline;>
  361. <!ATTLIST h5
  362. %attrs;
  363. %TextAlign;
  364. >
  365. <!ELEMENT h6 %Inline;>
  366. <!ATTLIST h6
  367. %attrs;
  368. %TextAlign;
  369. >
  370. <!--=================== Lists ============================================-->
  371. <!-- Unordered list bullet styles -->
  372. <!ENTITY % ULStyle "(disc|square|circle)">
  373. <!-- Unordered list -->
  374. <!ELEMENT ul (li)+>
  375. <!ATTLIST ul
  376. %attrs;
  377. type %ULStyle; #IMPLIED
  378. compact (compact) #IMPLIED
  379. >
  380. <!-- Ordered list numbering style
  381. 1 arabic numbers 1, 2, 3, ...
  382. a lower alpha a, b, c, ...
  383. A upper alpha A, B, C, ...
  384. i lower roman i, ii, iii, ...
  385. I upper roman I, II, III, ...
  386. The style is applied to the sequence number which by default
  387. is reset to 1 for the first list item in an ordered list.
  388. -->
  389. <!ENTITY % OLStyle "CDATA">
  390. <!-- Ordered (numbered) list -->
  391. <!ELEMENT ol (li)+>
  392. <!ATTLIST ol
  393. %attrs;
  394. type %OLStyle; #IMPLIED
  395. compact (compact) #IMPLIED
  396. start %Number; #IMPLIED
  397. >
  398. <!-- single column list (DEPRECATED) -->
  399. <!ELEMENT menu (li)+>
  400. <!ATTLIST menu
  401. %attrs;
  402. compact (compact) #IMPLIED
  403. >
  404. <!-- multiple column list (DEPRECATED) -->
  405. <!ELEMENT dir (li)+>
  406. <!ATTLIST dir
  407. %attrs;
  408. compact (compact) #IMPLIED
  409. >
  410. <!-- LIStyle is constrained to: "(%ULStyle;|%OLStyle;)" -->
  411. <!ENTITY % LIStyle "CDATA">
  412. <!-- list item -->
  413. <!ELEMENT li %Flow;>
  414. <!ATTLIST li
  415. %attrs;
  416. type %LIStyle; #IMPLIED
  417. value %Number; #IMPLIED
  418. >
  419. <!-- definition lists - dt for term, dd for its definition -->
  420. <!ELEMENT dl (dt|dd)+>
  421. <!ATTLIST dl
  422. %attrs;
  423. compact (compact) #IMPLIED
  424. >
  425. <!ELEMENT dt %Inline;>
  426. <!ATTLIST dt
  427. %attrs;
  428. >
  429. <!ELEMENT dd %Flow;>
  430. <!ATTLIST dd
  431. %attrs;
  432. >
  433. <!--=================== Address ==========================================-->
  434. <!-- information on author -->
  435. <!ELEMENT address (#PCDATA | %inline; | %misc.inline; | p)*>
  436. <!ATTLIST address
  437. %attrs;
  438. >
  439. <!--=================== Horizontal Rule ==================================-->
  440. <!ELEMENT hr EMPTY>
  441. <!ATTLIST hr
  442. %attrs;
  443. align (left|center|right) #IMPLIED
  444. noshade (noshade) #IMPLIED
  445. size %Pixels; #IMPLIED
  446. width %Length; #IMPLIED
  447. >
  448. <!--=================== Preformatted Text ================================-->
  449. <!-- content is %Inline; excluding
  450. "img|object|applet|big|small|sub|sup|font|basefont" -->
  451. <!ELEMENT pre %pre.content;>
  452. <!ATTLIST pre
  453. %attrs;
  454. width %Number; #IMPLIED
  455. xml:space (preserve) #FIXED 'preserve'
  456. >
  457. <!--=================== Block-like Quotes ================================-->
  458. <!ELEMENT blockquote %Flow;>
  459. <!ATTLIST blockquote
  460. %attrs;
  461. cite %URI; #IMPLIED
  462. >
  463. <!--=================== Text alignment ===================================-->
  464. <!-- center content -->
  465. <!ELEMENT center %Flow;>
  466. <!ATTLIST center
  467. %attrs;
  468. >
  469. <!--=================== Inserted/Deleted Text ============================-->
  470. <!--
  471. ins/del are allowed in block and inline content, but its
  472. inappropriate to include block content within an ins element
  473. occurring in inline content.
  474. -->
  475. <!ELEMENT ins %Flow;>
  476. <!ATTLIST ins
  477. %attrs;
  478. cite %URI; #IMPLIED
  479. datetime %Datetime; #IMPLIED
  480. >
  481. <!ELEMENT del %Flow;>
  482. <!ATTLIST del
  483. %attrs;
  484. cite %URI; #IMPLIED
  485. datetime %Datetime; #IMPLIED
  486. >
  487. <!--================== The Anchor Element ================================-->
  488. <!-- content is %Inline; except that anchors shouldn't be nested -->
  489. <!ELEMENT a %a.content;>
  490. <!ATTLIST a
  491. %attrs;
  492. %focus;
  493. charset %Charset; #IMPLIED
  494. type %ContentType; #IMPLIED
  495. name NMTOKEN #IMPLIED
  496. href %URI; #IMPLIED
  497. hreflang %LanguageCode; #IMPLIED
  498. rel %LinkTypes; #IMPLIED
  499. rev %LinkTypes; #IMPLIED
  500. shape %Shape; "rect"
  501. coords %Coords; #IMPLIED
  502. target %FrameTarget; #IMPLIED
  503. >
  504. <!--===================== Inline Elements ================================-->
  505. <!ELEMENT span %Inline;> <!-- generic language/style container -->
  506. <!ATTLIST span
  507. %attrs;
  508. >
  509. <!ELEMENT bdo %Inline;> <!-- I18N BiDi over-ride -->
  510. <!ATTLIST bdo
  511. %coreattrs;
  512. %events;
  513. lang %LanguageCode; #IMPLIED
  514. xml:lang %LanguageCode; #IMPLIED
  515. dir (ltr|rtl) #REQUIRED
  516. >
  517. <!ELEMENT br EMPTY> <!-- forced line break -->
  518. <!ATTLIST br
  519. %coreattrs;
  520. clear (left|all|right|none) "none"
  521. >
  522. <!ELEMENT em %Inline;> <!-- emphasis -->
  523. <!ATTLIST em %attrs;>
  524. <!ELEMENT strong %Inline;> <!-- strong emphasis -->
  525. <!ATTLIST strong %attrs;>
  526. <!ELEMENT dfn %Inline;> <!-- definitional -->
  527. <!ATTLIST dfn %attrs;>
  528. <!ELEMENT code %Inline;> <!-- program code -->
  529. <!ATTLIST code %attrs;>
  530. <!ELEMENT samp %Inline;> <!-- sample -->
  531. <!ATTLIST samp %attrs;>
  532. <!ELEMENT kbd %Inline;> <!-- something user would type -->
  533. <!ATTLIST kbd %attrs;>
  534. <!ELEMENT var %Inline;> <!-- variable -->
  535. <!ATTLIST var %attrs;>
  536. <!ELEMENT cite %Inline;> <!-- citation -->
  537. <!ATTLIST cite %attrs;>
  538. <!ELEMENT abbr %Inline;> <!-- abbreviation -->
  539. <!ATTLIST abbr %attrs;>
  540. <!ELEMENT acronym %Inline;> <!-- acronym -->
  541. <!ATTLIST acronym %attrs;>
  542. <!ELEMENT q %Inline;> <!-- inlined quote -->
  543. <!ATTLIST q
  544. %attrs;
  545. cite %URI; #IMPLIED
  546. >
  547. <!ELEMENT sub %Inline;> <!-- subscript -->
  548. <!ATTLIST sub %attrs;>
  549. <!ELEMENT sup %Inline;> <!-- superscript -->
  550. <!ATTLIST sup %attrs;>
  551. <!ELEMENT tt %Inline;> <!-- fixed pitch font -->
  552. <!ATTLIST tt %attrs;>
  553. <!ELEMENT i %Inline;> <!-- italic font -->
  554. <!ATTLIST i %attrs;>
  555. <!ELEMENT b %Inline;> <!-- bold font -->
  556. <!ATTLIST b %attrs;>
  557. <!ELEMENT big %Inline;> <!-- bigger font -->
  558. <!ATTLIST big %attrs;>
  559. <!ELEMENT small %Inline;> <!-- smaller font -->
  560. <!ATTLIST small %attrs;>
  561. <!ELEMENT u %Inline;> <!-- underline -->
  562. <!ATTLIST u %attrs;>
  563. <!ELEMENT s %Inline;> <!-- strike-through -->
  564. <!ATTLIST s %attrs;>
  565. <!ELEMENT strike %Inline;> <!-- strike-through -->
  566. <!ATTLIST strike %attrs;>
  567. <!ELEMENT basefont EMPTY> <!-- base font size -->
  568. <!ATTLIST basefont
  569. id ID #IMPLIED
  570. size CDATA #REQUIRED
  571. color %Color; #IMPLIED
  572. face CDATA #IMPLIED
  573. >
  574. <!ELEMENT font %Inline;> <!-- local change to font -->
  575. <!ATTLIST font
  576. %coreattrs;
  577. %i18n;
  578. size CDATA #IMPLIED
  579. color %Color; #IMPLIED
  580. face CDATA #IMPLIED
  581. >
  582. <!--==================== Object ======================================-->
  583. <!--
  584. object is used to embed objects as part of HTML pages.
  585. param elements should precede other content. Parameters
  586. can also be expressed as attribute/value pairs on the
  587. object element itself when brevity is desired.
  588. -->
  589. <!ELEMENT object (#PCDATA | param | %block; | form | %inline; | %misc;)*>
  590. <!ATTLIST object
  591. %attrs;
  592. declare (declare) #IMPLIED
  593. classid %URI; #IMPLIED
  594. codebase %URI; #IMPLIED
  595. data %URI; #IMPLIED
  596. type %ContentType; #IMPLIED
  597. codetype %ContentType; #IMPLIED
  598. archive %UriList; #IMPLIED
  599. standby %Text; #IMPLIED
  600. height %Length; #IMPLIED
  601. width %Length; #IMPLIED
  602. usemap %URI; #IMPLIED
  603. name NMTOKEN #IMPLIED
  604. tabindex %Number; #IMPLIED
  605. align %ImgAlign; #IMPLIED
  606. border %Pixels; #IMPLIED
  607. hspace %Pixels; #IMPLIED
  608. vspace %Pixels; #IMPLIED
  609. >
  610. <!--
  611. param is used to supply a named property value.
  612. In XML it would seem natural to follow RDF and support an
  613. abbreviated syntax where the param elements are replaced
  614. by attribute value pairs on the object start tag.
  615. -->
  616. <!ELEMENT param EMPTY>
  617. <!ATTLIST param
  618. id ID #IMPLIED
  619. name CDATA #REQUIRED
  620. value CDATA #IMPLIED
  621. valuetype (data|ref|object) "data"
  622. type %ContentType; #IMPLIED
  623. >
  624. <!--=================== Java applet ==================================-->
  625. <!--
  626. One of code or object attributes must be present.
  627. Place param elements before other content.
  628. -->
  629. <!ELEMENT applet (#PCDATA | param | %block; | form | %inline; | %misc;)*>
  630. <!ATTLIST applet
  631. %coreattrs;
  632. codebase %URI; #IMPLIED
  633. archive CDATA #IMPLIED
  634. code CDATA #IMPLIED
  635. object CDATA #IMPLIED
  636. alt %Text; #IMPLIED
  637. name NMTOKEN #IMPLIED
  638. width %Length; #REQUIRED
  639. height %Length; #REQUIRED
  640. align %ImgAlign; #IMPLIED
  641. hspace %Pixels; #IMPLIED
  642. vspace %Pixels; #IMPLIED
  643. >
  644. <!--=================== Images ===========================================-->
  645. <!--
  646. To avoid accessibility problems for people who aren't
  647. able to see the image, you should provide a text
  648. description using the alt and longdesc attributes.
  649. In addition, avoid the use of server-side image maps.
  650. -->
  651. <!ELEMENT img EMPTY>
  652. <!ATTLIST img
  653. %attrs;
  654. src %URI; #REQUIRED
  655. alt %Text; #REQUIRED
  656. name NMTOKEN #IMPLIED
  657. longdesc %URI; #IMPLIED
  658. height %Length; #IMPLIED
  659. width %Length; #IMPLIED
  660. usemap %URI; #IMPLIED
  661. ismap (ismap) #IMPLIED
  662. align %ImgAlign; #IMPLIED
  663. border %Length; #IMPLIED
  664. hspace %Pixels; #IMPLIED
  665. vspace %Pixels; #IMPLIED
  666. >
  667. <!-- usemap points to a map element which may be in this document
  668. or an external document, although the latter is not widely supported -->
  669. <!--================== Client-side image maps ============================-->
  670. <!-- These can be placed in the same document or grouped in a
  671. separate document although this isn't yet widely supported -->
  672. <!ELEMENT map ((%block; | form | %misc;)+ | area+)>
  673. <!ATTLIST map
  674. %i18n;
  675. %events;
  676. id ID #REQUIRED
  677. class CDATA #IMPLIED
  678. style %StyleSheet; #IMPLIED
  679. title %Text; #IMPLIED
  680. name CDATA #IMPLIED
  681. >
  682. <!ELEMENT area EMPTY>
  683. <!ATTLIST area
  684. %attrs;
  685. %focus;
  686. shape %Shape; "rect"
  687. coords %Coords; #IMPLIED
  688. href %URI; #IMPLIED
  689. nohref (nohref) #IMPLIED
  690. alt %Text; #REQUIRED
  691. target %FrameTarget; #IMPLIED
  692. >
  693. <!--================ Forms ===============================================-->
  694. <!ELEMENT form %form.content;> <!-- forms shouldn't be nested -->
  695. <!ATTLIST form
  696. %attrs;
  697. action %URI; #REQUIRED
  698. method (get|post) "get"
  699. name NMTOKEN #IMPLIED
  700. enctype %ContentType; "application/x-www-form-urlencoded"
  701. onsubmit %Script; #IMPLIED
  702. onreset %Script; #IMPLIED
  703. accept %ContentTypes; #IMPLIED
  704. accept-charset %Charsets; #IMPLIED
  705. target %FrameTarget; #IMPLIED
  706. >
  707. <!--
  708. Each label must not contain more than ONE field
  709. Label elements shouldn't be nested.
  710. -->
  711. <!ELEMENT label %Inline;>
  712. <!ATTLIST label
  713. %attrs;
  714. for IDREF #IMPLIED
  715. accesskey %Character; #IMPLIED
  716. onfocus %Script; #IMPLIED
  717. onblur %Script; #IMPLIED
  718. >
  719. <!ENTITY % InputType
  720. "(text | password | checkbox |
  721. radio | submit | reset |
  722. file | hidden | image | button)"
  723. >
  724. <!-- the name attribute is required for all but submit & reset -->
  725. <!ELEMENT input EMPTY> <!-- form control -->
  726. <!ATTLIST input
  727. %attrs;
  728. %focus;
  729. type %InputType; "text"
  730. name CDATA #IMPLIED
  731. value CDATA #IMPLIED
  732. checked (checked) #IMPLIED
  733. disabled (disabled) #IMPLIED
  734. readonly (readonly) #IMPLIED
  735. size CDATA #IMPLIED
  736. maxlength %Number; #IMPLIED
  737. src %URI; #IMPLIED
  738. alt CDATA #IMPLIED
  739. usemap %URI; #IMPLIED
  740. onselect %Script; #IMPLIED
  741. onchange %Script; #IMPLIED
  742. accept %ContentTypes; #IMPLIED
  743. align %ImgAlign; #IMPLIED
  744. >
  745. <!ELEMENT select (optgroup|option)+> <!-- option selector -->
  746. <!ATTLIST select
  747. %attrs;
  748. name CDATA #IMPLIED
  749. size %Number; #IMPLIED
  750. multiple (multiple) #IMPLIED
  751. disabled (disabled) #IMPLIED
  752. tabindex %Number; #IMPLIED
  753. onfocus %Script; #IMPLIED
  754. onblur %Script; #IMPLIED
  755. onchange %Script; #IMPLIED
  756. >
  757. <!ELEMENT optgroup (option)+> <!-- option group -->
  758. <!ATTLIST optgroup
  759. %attrs;
  760. disabled (disabled) #IMPLIED
  761. label %Text; #REQUIRED
  762. >
  763. <!ELEMENT option (#PCDATA)> <!-- selectable choice -->
  764. <!ATTLIST option
  765. %attrs;
  766. selected (selected) #IMPLIED
  767. disabled (disabled) #IMPLIED
  768. label %Text; #IMPLIED
  769. value CDATA #IMPLIED
  770. >
  771. <!ELEMENT textarea (#PCDATA)> <!-- multi-line text field -->
  772. <!ATTLIST textarea
  773. %attrs;
  774. %focus;
  775. name CDATA #IMPLIED
  776. rows %Number; #REQUIRED
  777. cols %Number; #REQUIRED
  778. disabled (disabled) #IMPLIED
  779. readonly (readonly) #IMPLIED
  780. onselect %Script; #IMPLIED
  781. onchange %Script; #IMPLIED
  782. >
  783. <!--
  784. The fieldset element is used to group form fields.
  785. Only one legend element should occur in the content
  786. and if present should only be preceded by whitespace.
  787. -->
  788. <!ELEMENT fieldset (#PCDATA | legend | %block; | form | %inline; | %misc;)*>
  789. <!ATTLIST fieldset
  790. %attrs;
  791. >
  792. <!ENTITY % LAlign "(top|bottom|left|right)">
  793. <!ELEMENT legend %Inline;> <!-- fieldset label -->
  794. <!ATTLIST legend
  795. %attrs;
  796. accesskey %Character; #IMPLIED
  797. align %LAlign; #IMPLIED
  798. >
  799. <!--
  800. Content is %Flow; excluding a, form, form controls, iframe
  801. -->
  802. <!ELEMENT button %button.content;> <!-- push button -->
  803. <!ATTLIST button
  804. %attrs;
  805. %focus;
  806. name CDATA #IMPLIED
  807. value CDATA #IMPLIED
  808. type (button|submit|reset) "submit"
  809. disabled (disabled) #IMPLIED
  810. >
  811. <!-- single-line text input control (DEPRECATED) -->
  812. <!ELEMENT isindex EMPTY>
  813. <!ATTLIST isindex
  814. %coreattrs;
  815. %i18n;
  816. prompt %Text; #IMPLIED
  817. >
  818. <!--======================= Tables =======================================-->
  819. <!-- Derived from IETF HTML table standard, see [RFC1942] -->
  820. <!--
  821. The border attribute sets the thickness of the frame around the
  822. table. The default units are screen pixels.
  823. The frame attribute specifies which parts of the frame around
  824. the table should be rendered. The values are not the same as
  825. CALS to avoid a name clash with the valign attribute.
  826. -->
  827. <!ENTITY % TFrame "(void|above|below|hsides|lhs|rhs|vsides|box|border)">
  828. <!--
  829. The rules attribute defines which rules to draw between cells:
  830. If rules is absent then assume:
  831. "none" if border is absent or border="0" otherwise "all"
  832. -->
  833. <!ENTITY % TRules "(none | groups | rows | cols | all)">
  834. <!-- horizontal placement of table relative to document -->
  835. <!ENTITY % TAlign "(left|center|right)">
  836. <!-- horizontal alignment attributes for cell contents
  837. char alignment char, e.g. char=':'
  838. charoff offset for alignment char
  839. -->
  840. <!ENTITY % cellhalign
  841. "align (left|center|right|justify|char) #IMPLIED
  842. char %Character; #IMPLIED
  843. charoff %Length; #IMPLIED"
  844. >
  845. <!-- vertical alignment attributes for cell contents -->
  846. <!ENTITY % cellvalign
  847. "valign (top|middle|bottom|baseline) #IMPLIED"
  848. >
  849. <!ELEMENT table
  850. (caption?, (col*|colgroup*), thead?, tfoot?, (tbody+|tr+))>
  851. <!ELEMENT caption %Inline;>
  852. <!ELEMENT thead (tr)+>
  853. <!ELEMENT tfoot (tr)+>
  854. <!ELEMENT tbody (tr)+>
  855. <!ELEMENT colgroup (col)*>
  856. <!ELEMENT col EMPTY>
  857. <!ELEMENT tr (th|td)+>
  858. <!ELEMENT th %Flow;>
  859. <!ELEMENT td %Flow;>
  860. <!ATTLIST table
  861. %attrs;
  862. summary %Text; #IMPLIED
  863. width %Length; #IMPLIED
  864. border %Pixels; #IMPLIED
  865. frame %TFrame; #IMPLIED
  866. rules %TRules; #IMPLIED
  867. cellspacing %Length; #IMPLIED
  868. cellpadding %Length; #IMPLIED
  869. align %TAlign; #IMPLIED
  870. bgcolor %Color; #IMPLIED
  871. >
  872. <!ENTITY % CAlign "(top|bottom|left|right)">
  873. <!ATTLIST caption
  874. %attrs;
  875. align %CAlign; #IMPLIED
  876. >
  877. <!--
  878. colgroup groups a set of col elements. It allows you to group
  879. several semantically related columns together.
  880. -->
  881. <!ATTLIST colgroup
  882. %attrs;
  883. span %Number; "1"
  884. width %MultiLength; #IMPLIED
  885. %cellhalign;
  886. %cellvalign;
  887. >
  888. <!--
  889. col elements define the alignment properties for cells in
  890. one or more columns.
  891. The width attribute specifies the width of the columns, e.g.
  892. width=64 width in screen pixels
  893. width=0.5* relative width of 0.5
  894. The span attribute causes the attributes of one
  895. col element to apply to more than one column.
  896. -->
  897. <!ATTLIST col
  898. %attrs;
  899. span %Number; "1"
  900. width %MultiLength; #IMPLIED
  901. %cellhalign;
  902. %cellvalign;
  903. >
  904. <!--
  905. Use thead to duplicate headers when breaking table
  906. across page boundaries, or for static headers when
  907. tbody sections are rendered in scrolling panel.
  908. Use tfoot to duplicate footers when breaking table
  909. across page boundaries, or for static footers when
  910. tbody sections are rendered in scrolling panel.
  911. Use multiple tbody sections when rules are needed
  912. between groups of table rows.
  913. -->
  914. <!ATTLIST thead
  915. %attrs;
  916. %cellhalign;
  917. %cellvalign;
  918. >
  919. <!ATTLIST tfoot
  920. %attrs;
  921. %cellhalign;
  922. %cellvalign;
  923. >
  924. <!ATTLIST tbody
  925. %attrs;
  926. %cellhalign;
  927. %cellvalign;
  928. >
  929. <!ATTLIST tr
  930. %attrs;
  931. %cellhalign;
  932. %cellvalign;
  933. bgcolor %Color; #IMPLIED
  934. >
  935. <!-- Scope is simpler than headers attribute for common tables -->
  936. <!ENTITY % Scope "(row|col|rowgroup|colgroup)">
  937. <!-- th is for headers, td for data and for cells acting as both -->
  938. <!ATTLIST th
  939. %attrs;
  940. abbr %Text; #IMPLIED
  941. axis CDATA #IMPLIED
  942. headers IDREFS #IMPLIED
  943. scope %Scope; #IMPLIED
  944. rowspan %Number; "1"
  945. colspan %Number; "1"
  946. %cellhalign;
  947. %cellvalign;
  948. nowrap (nowrap) #IMPLIED
  949. bgcolor %Color; #IMPLIED
  950. width %Length; #IMPLIED
  951. height %Length; #IMPLIED
  952. >
  953. <!ATTLIST td
  954. %attrs;
  955. abbr %Text; #IMPLIED
  956. axis CDATA #IMPLIED
  957. headers IDREFS #IMPLIED
  958. scope %Scope; #IMPLIED
  959. rowspan %Number; "1"
  960. colspan %Number; "1"
  961. %cellhalign;
  962. %cellvalign;
  963. nowrap (nowrap) #IMPLIED
  964. bgcolor %Color; #IMPLIED
  965. width %Length; #IMPLIED
  966. height %Length; #IMPLIED
  967. >