xhtml1-frameset.dtd 32 KB

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