2 Extensible HTML version 1.0 Transitional + RDFa 1.0 DTD
4 This is the same as HTML 4.01 + RDFa DTD except for
5 changes due to the differences between XML and SGML.
7 Namespace = http://www.w3.org/1999/xhtml
9 For further information, see: http://www.w3.org/TR/xhtml1
10 Information about RDFa at: http://www.w3.org/TR/rdfa-syntax
12 Copyright (c) 1998-2002 W3C (MIT, INRIA, Keio),
15 Copyright (c) 2011, 2012 Thorsten Glaser <t.glaser@tarent.de>
16 HTML 4 (loose) + RDFa 1.0 by: Shane McCarron <shane@aptest.com>
18 This DTD module is covered by the same licence as the W3C published
19 XHTML + RDFa DTD, I suppose. Which is reproduced below:
21 Copyright 1998-2008 World Wide Web Consortium
22 (Massachusetts Institute of Technology,
23 European Research Consortium for Informatics and Mathematics,
27 Permission to use, copy, modify and distribute the XHTML DTD and its
28 accompanying documentation for any purpose and without fee is hereby
29 granted in perpetuity, provided that the above copyright notice and
30 this paragraph appear in all copies. The copyright holders make no
31 representation about the suitability of the DTD for any purpose.
33 It is provided "as is" without expressed or implied warranty.
36 This DTD module is identified by the SYSTEM identifier:
38 SYSTEM "http://evolvis.org/DTD/xhtml10t-rdfa10.dtd"
42 <!--================ Character mnemonic entities =========================-->
44 <!ENTITY % HTMLlat1 PUBLIC
45 "-//W3C//ENTITIES Latin 1 for XHTML//EN"
46 "http://www.w3.org/TR/xhtml1/xhtml-lat1.ent">
49 <!ENTITY % HTMLsymbol PUBLIC
50 "-//W3C//ENTITIES Symbols for XHTML//EN"
51 "http://www.w3.org/TR/xhtml1/xhtml-symbol.ent">
54 <!ENTITY % HTMLspecial PUBLIC
55 "-//W3C//ENTITIES Special for XHTML//EN"
56 "http://www.w3.org/TR/xhtml1/xhtml-special.ent">
59 <!--================== Imported Names ====================================-->
61 <!ENTITY % ContentType "CDATA">
62 <!-- media type, as per [RFC2045] -->
64 <!ENTITY % ContentTypes "CDATA">
65 <!-- comma-separated list of media types, as per [RFC2045] -->
67 <!ENTITY % Charset "CDATA">
68 <!-- a character encoding, as per [RFC2045] -->
70 <!ENTITY % Charsets "CDATA">
71 <!-- a space separated list of character encodings, as per [RFC2045] -->
73 <!ENTITY % LanguageCode "NMTOKEN">
74 <!-- a language code, as per [RFC3066] -->
76 <!ENTITY % Character "CDATA">
77 <!-- a single character, as per section 2.2 of [XML] -->
79 <!ENTITY % Number "CDATA">
80 <!-- one or more digits -->
82 <!ENTITY % LinkTypes "CDATA">
83 <!-- space-separated list of link types -->
85 <!ENTITY % MediaDesc "CDATA">
86 <!-- single or comma-separated list of media descriptors -->
88 <!ENTITY % URI "CDATA">
89 <!-- a Uniform Resource Identifier, see [RFC2396] -->
91 <!ENTITY % UriList "CDATA">
92 <!-- a space separated list of Uniform Resource Identifiers -->
94 <!ENTITY % Datetime "CDATA">
95 <!-- date and time information. ISO date format -->
97 <!ENTITY % Script "CDATA">
98 <!-- script expression -->
100 <!ENTITY % StyleSheet "CDATA">
101 <!-- style sheet data -->
103 <!ENTITY % Text "CDATA">
104 <!-- used for titles etc. -->
106 <!ENTITY % FrameTarget "NMTOKEN">
107 <!-- render in this frame -->
109 <!ENTITY % Length "CDATA">
110 <!-- nn for pixels or nn% for percentage length -->
112 <!ENTITY % MultiLength "CDATA">
113 <!-- pixel, percentage, or relative -->
115 <!ENTITY % Pixels "CDATA">
116 <!-- integer representing length in pixels -->
118 <!-- these are used for image maps -->
120 <!ENTITY % Shape "(rect|circle|poly|default)">
122 <!ENTITY % Coords "CDATA">
123 <!-- comma separated list of lengths -->
125 <!-- used for object, applet, img, input and iframe -->
126 <!ENTITY % ImgAlign "(top|middle|bottom|left|right)">
128 <!-- a color using sRGB: #RRGGBB as Hex values -->
129 <!ENTITY % Color "CDATA">
131 <!-- There are also 16 widely known color names with their sRGB values:
133 Black = #000000 Green = #008000
134 Silver = #C0C0C0 Lime = #00FF00
135 Gray = #808080 Olive = #808000
136 White = #FFFFFF Yellow = #FFFF00
137 Maroon = #800000 Navy = #000080
138 Red = #FF0000 Blue = #0000FF
139 Purple = #800080 Teal = #008080
140 Fuchsia= #FF00FF Aqua = #00FFFF
143 <!-- these are used for RDFa -->
145 <!ENTITY % CURIE "CDATA">
148 <!ENTITY % CURIEs "CDATA">
149 <!-- One or more whitespace separated CURIE values -->
151 <!ENTITY % URIorSafeCURIE "CDATA">
152 <!-- URI or Safe Compact URI -->
154 <!--=================== Generic Attributes ===============================-->
156 <!-- core attributes common to most elements
157 id document-wide unique id
158 class space separated list of classes
159 style associated style info
160 title advisory title/amplification
165 style %StyleSheet; #IMPLIED
166 title %Text; #IMPLIED
167 prefix CDATA #IMPLIED"
170 <!-- RDFa metainformation
172 <!ENTITY % metainformation
174 "about %URIorSafeCURIE; #IMPLIED
175 content CDATA #IMPLIED
176 datatype %CURIE; #IMPLIED
177 typeof %CURIEs; #IMPLIED
178 property %CURIEs; #IMPLIED
179 rel %CURIEs; #IMPLIED
180 rev %CURIEs; #IMPLIED
181 resource %URIorSafeCURIE; #IMPLIED"
184 <!-- internationalization attributes
185 lang language code (backwards compatible)
186 xml:lang language code (as per XML 1.0 spec)
187 dir direction for weak/neutral text
190 "lang %LanguageCode; #IMPLIED
191 xml:lang %LanguageCode; #IMPLIED
192 dir (ltr|rtl) #IMPLIED"
195 <!-- attributes for common UI events
196 onclick a pointer button was clicked
197 ondblclick a pointer button was double clicked
198 onmousedown a pointer button was pressed down
199 onmouseup a pointer button was released
200 onmousemove a pointer was moved onto the element
201 onmouseout a pointer was moved away from the element
202 onkeypress a key was pressed and released
203 onkeydown a key was pressed down
204 onkeyup a key was released
207 "onclick %Script; #IMPLIED
208 ondblclick %Script; #IMPLIED
209 onmousedown %Script; #IMPLIED
210 onmouseup %Script; #IMPLIED
211 onmouseover %Script; #IMPLIED
212 onmousemove %Script; #IMPLIED
213 onmouseout %Script; #IMPLIED
214 onkeypress %Script; #IMPLIED
215 onkeydown %Script; #IMPLIED
216 onkeyup %Script; #IMPLIED"
219 <!-- attributes for elements that can get the focus
220 accesskey accessibility key character
221 tabindex position in tabbing order
222 onfocus the element got the focus
223 onblur the element lost the focus
226 "accesskey %Character; #IMPLIED
227 tabindex %Number; #IMPLIED
228 onfocus %Script; #IMPLIED
229 onblur %Script; #IMPLIED"
232 <!ENTITY % attrs "%coreattrs; %i18n; %events; %metainformation;">
234 <!-- text alignment for p, div, h1-h6. The default is
235 align="left" for ltr headings, "right" for rtl -->
237 <!ENTITY % TextAlign "align (left|center|right|justify) #IMPLIED">
239 <!--=================== Text Elements ====================================-->
241 <!ENTITY % special.extra
242 "object | applet | img | map | iframe">
244 <!ENTITY % special.basic
248 "%special.basic; | %special.extra;">
250 <!ENTITY % fontstyle.extra "big | small | font | basefont">
252 <!ENTITY % fontstyle.basic "tt | i | b | u
255 <!ENTITY % fontstyle "%fontstyle.basic; | %fontstyle.extra;">
257 <!ENTITY % phrase.extra "sub | sup">
258 <!ENTITY % phrase.basic "em | strong | dfn | code | q |
259 samp | kbd | var | cite | abbr | acronym">
261 <!ENTITY % phrase "%phrase.basic; | %phrase.extra;">
263 <!ENTITY % inline.forms "input | select | textarea | label | button">
265 <!-- these can occur at block or inline level -->
266 <!ENTITY % misc.inline "ins | del | script">
268 <!-- these can only occur at block level -->
269 <!ENTITY % misc "noscript | %misc.inline;">
271 <!ENTITY % inline "a | %special; | %fontstyle; | %phrase; | %inline.forms;">
273 <!-- %Inline; covers inline or "text-level" elements -->
274 <!ENTITY % Inline "(#PCDATA | %inline; | %misc.inline;)*">
276 <!--================== Block level elements ==============================-->
278 <!ENTITY % heading "h1|h2|h3|h4|h5|h6">
279 <!ENTITY % lists "ul | ol | dl | menu | dir">
280 <!ENTITY % blocktext "pre | hr | blockquote | address | center | noframes">
283 "p | %heading; | div | %lists; | %blocktext; | isindex |fieldset | table">
285 <!-- %Flow; mixes block and inline and is used for list items etc. -->
286 <!ENTITY % Flow "(#PCDATA | %block; | form | %inline; | %misc;)*">
288 <!--================== Content models for exclusions =====================-->
290 <!-- a elements use %Inline; excluding a -->
293 "(#PCDATA | %special; | %fontstyle; | %phrase; | %inline.forms; | %misc.inline;)*">
295 <!-- pre uses %Inline excluding img, object, applet, big, small,
296 font, or basefont -->
298 <!ENTITY % pre.content
299 "(#PCDATA | a | %special.basic; | %fontstyle.basic; | %phrase.basic; |
300 %inline.forms; | %misc.inline;)*">
302 <!-- form uses %Flow; excluding form -->
304 <!ENTITY % form.content "(#PCDATA | %block; | %inline; | %misc;)*">
306 <!-- button uses %Flow; but excludes a, form, form controls, iframe -->
308 <!ENTITY % button.content
309 "(#PCDATA | p | %heading; | div | %lists; | %blocktext; |
310 table | br | span | bdo | object | applet | img | map |
311 %fontstyle; | %phrase; | %misc;)*">
313 <!--================ Document Structure ==================================-->
315 <!-- the namespace URI designates the document profile -->
317 <!ELEMENT html (head, body)>
320 xmlns %URI; #FIXED 'http://www.w3.org/1999/xhtml'
323 <!--================ Document Head =======================================-->
325 <!ENTITY % head.misc "(script|style|meta|link|object|isindex)*">
327 <!-- content model is %head.misc; combined with a single
328 title and an optional base element in any order -->
330 <!ELEMENT head (%head.misc;,
331 ((title, %head.misc;, (base, %head.misc;)?) |
332 (base, %head.misc;, (title, %head.misc;))))>
336 profile %URI; #IMPLIED
339 <!-- The title element is not considered part of the flow of text.
340 It should be displayed, for example as the page header or
341 window title. Exactly one title is required per document.
343 <!ELEMENT title (#PCDATA)>
348 <!-- document base URI -->
350 <!ELEMENT base EMPTY>
354 target %FrameTarget; #IMPLIED
357 <!-- generic metainformation -->
358 <!ELEMENT meta EMPTY>
363 http-equiv CDATA #IMPLIED
365 scheme CDATA #IMPLIED
369 Relationship values can be used in principle:
371 a) for document specific toolbars/menus when used
372 with the link element in document head e.g.
373 start, contents, previous, next, index, end, help
374 b) to link to a separate style sheet (rel="stylesheet")
375 c) to make a link to a script (rel="script")
376 d) by stylesheets to control how collections of
377 html nodes are rendered into printed documents
378 e) to make a link to a printable version of this document
379 e.g. a PostScript or PDF version (rel="alternate" media="print")
382 <!ELEMENT link EMPTY>
385 charset %Charset; #IMPLIED
387 hreflang %LanguageCode; #IMPLIED
388 type %ContentType; #IMPLIED
389 media %MediaDesc; #IMPLIED
390 target %FrameTarget; #IMPLIED
393 <!-- style info, which may include CDATA sections -->
394 <!ELEMENT style (#PCDATA)>
398 type %ContentType; #REQUIRED
399 media %MediaDesc; #IMPLIED
400 title %Text; #IMPLIED
401 xml:space (preserve) #FIXED 'preserve'
404 <!-- script statements, which may include CDATA sections -->
405 <!ELEMENT script (#PCDATA)>
408 charset %Charset; #IMPLIED
409 type %ContentType; #REQUIRED
410 language CDATA #IMPLIED
412 defer (defer) #IMPLIED
413 xml:space (preserve) #FIXED 'preserve'
416 <!-- alternate content container for non script-based rendering -->
418 <!ELEMENT noscript %Flow;>
423 <!--======================= Frames =======================================-->
425 <!-- inline subwindow -->
427 <!ELEMENT iframe %Flow;>
430 longdesc %URI; #IMPLIED
431 name NMTOKEN #IMPLIED
433 frameborder (1|0) "1"
434 marginwidth %Pixels; #IMPLIED
435 marginheight %Pixels; #IMPLIED
436 scrolling (yes|no|auto) "auto"
437 align %ImgAlign; #IMPLIED
438 height %Length; #IMPLIED
439 width %Length; #IMPLIED
442 <!-- alternate content container for non frame-based rendering -->
444 <!ELEMENT noframes %Flow;>
449 <!--=================== Document Body ====================================-->
451 <!ELEMENT body %Flow;>
454 onload %Script; #IMPLIED
455 onunload %Script; #IMPLIED
456 background %URI; #IMPLIED
457 bgcolor %Color; #IMPLIED
458 text %Color; #IMPLIED
459 link %Color; #IMPLIED
460 vlink %Color; #IMPLIED
461 alink %Color; #IMPLIED
464 <!ELEMENT div %Flow;> <!-- generic language/style container -->
470 <!--=================== Paragraphs =======================================-->
472 <!ELEMENT p %Inline;>
478 <!--=================== Headings =========================================-->
481 There are six levels of headings from h1 (the most important)
482 to h6 (the least important).
485 <!ELEMENT h1 %Inline;>
491 <!ELEMENT h2 %Inline;>
497 <!ELEMENT h3 %Inline;>
503 <!ELEMENT h4 %Inline;>
509 <!ELEMENT h5 %Inline;>
515 <!ELEMENT h6 %Inline;>
521 <!--=================== Lists ============================================-->
523 <!-- Unordered list bullet styles -->
525 <!ENTITY % ULStyle "(disc|square|circle)">
527 <!-- Unordered list -->
532 type %ULStyle; #IMPLIED
533 compact (compact) #IMPLIED
536 <!-- Ordered list numbering style
538 1 arabic numbers 1, 2, 3, ...
539 a lower alpha a, b, c, ...
540 A upper alpha A, B, C, ...
541 i lower roman i, ii, iii, ...
542 I upper roman I, II, III, ...
544 The style is applied to the sequence number which by default
545 is reset to 1 for the first list item in an ordered list.
547 <!ENTITY % OLStyle "CDATA">
549 <!-- Ordered (numbered) list -->
554 type %OLStyle; #IMPLIED
555 compact (compact) #IMPLIED
556 start %Number; #IMPLIED
559 <!-- single column list (DEPRECATED) -->
560 <!ELEMENT menu (li)+>
563 compact (compact) #IMPLIED
566 <!-- multiple column list (DEPRECATED) -->
570 compact (compact) #IMPLIED
573 <!-- LIStyle is constrained to: "(%ULStyle;|%OLStyle;)" -->
574 <!ENTITY % LIStyle "CDATA">
581 type %LIStyle; #IMPLIED
582 value %Number; #IMPLIED
585 <!-- definition lists - dt for term, dd for its definition -->
587 <!ELEMENT dl (dt|dd)+>
590 compact (compact) #IMPLIED
593 <!ELEMENT dt %Inline;>
603 <!--=================== Address ==========================================-->
605 <!-- information on author -->
607 <!ELEMENT address (#PCDATA | %inline; | %misc.inline; | p)*>
612 <!--=================== Horizontal Rule ==================================-->
617 align (left|center|right) #IMPLIED
618 noshade (noshade) #IMPLIED
619 size %Pixels; #IMPLIED
620 width %Length; #IMPLIED
623 <!--=================== Preformatted Text ================================-->
625 <!-- content is %Inline; excluding
626 "img|object|applet|big|small|sub|sup|font|basefont" -->
628 <!ELEMENT pre %pre.content;>
631 width %Number; #IMPLIED
632 xml:space (preserve) #FIXED 'preserve'
635 <!--=================== Block-like Quotes ================================-->
637 <!ELEMENT blockquote %Flow;>
643 <!--=================== Text alignment ===================================-->
645 <!-- center content -->
646 <!ELEMENT center %Flow;>
651 <!--=================== Inserted/Deleted Text ============================-->
654 ins/del are allowed in block and inline content, but its
655 inappropriate to include block content within an ins element
656 occurring in inline content.
658 <!ELEMENT ins %Flow;>
662 datetime %Datetime; #IMPLIED
665 <!ELEMENT del %Flow;>
669 datetime %Datetime; #IMPLIED
672 <!--================== The Anchor Element ================================-->
674 <!-- content is %Inline; except that anchors shouldn't be nested -->
676 <!ELEMENT a %a.content;>
680 charset %Charset; #IMPLIED
681 type %ContentType; #IMPLIED
682 name NMTOKEN #IMPLIED
684 hreflang %LanguageCode; #IMPLIED
686 coords %Coords; #IMPLIED
687 target %FrameTarget; #IMPLIED
690 <!--===================== Inline Elements ================================-->
692 <!ELEMENT span %Inline;> <!-- generic language/style container -->
697 <!ELEMENT bdo %Inline;> <!-- I18N BiDi over-ride -->
701 lang %LanguageCode; #IMPLIED
702 xml:lang %LanguageCode; #IMPLIED
703 dir (ltr|rtl) #REQUIRED
706 <!ELEMENT br EMPTY> <!-- forced line break -->
709 clear (left|all|right|none) "none"
712 <!ELEMENT em %Inline;> <!-- emphasis -->
713 <!ATTLIST em %attrs;>
715 <!ELEMENT strong %Inline;> <!-- strong emphasis -->
716 <!ATTLIST strong %attrs;>
718 <!ELEMENT dfn %Inline;> <!-- definitional -->
719 <!ATTLIST dfn %attrs;>
721 <!ELEMENT code %Inline;> <!-- program code -->
722 <!ATTLIST code %attrs;>
724 <!ELEMENT samp %Inline;> <!-- sample -->
725 <!ATTLIST samp %attrs;>
727 <!ELEMENT kbd %Inline;> <!-- something user would type -->
728 <!ATTLIST kbd %attrs;>
730 <!ELEMENT var %Inline;> <!-- variable -->
731 <!ATTLIST var %attrs;>
733 <!ELEMENT cite %Inline;> <!-- citation -->
734 <!ATTLIST cite %attrs;>
736 <!ELEMENT abbr %Inline;> <!-- abbreviation -->
737 <!ATTLIST abbr %attrs;>
739 <!ELEMENT acronym %Inline;> <!-- acronym -->
740 <!ATTLIST acronym %attrs;>
742 <!ELEMENT q %Inline;> <!-- inlined quote -->
748 <!ELEMENT sub %Inline;> <!-- subscript -->
749 <!ATTLIST sub %attrs;>
751 <!ELEMENT sup %Inline;> <!-- superscript -->
752 <!ATTLIST sup %attrs;>
754 <!ELEMENT tt %Inline;> <!-- fixed pitch font -->
755 <!ATTLIST tt %attrs;>
757 <!ELEMENT i %Inline;> <!-- italic font -->
760 <!ELEMENT b %Inline;> <!-- bold font -->
763 <!ELEMENT big %Inline;> <!-- bigger font -->
764 <!ATTLIST big %attrs;>
766 <!ELEMENT small %Inline;> <!-- smaller font -->
767 <!ATTLIST small %attrs;>
769 <!ELEMENT u %Inline;> <!-- underline -->
772 <!ELEMENT s %Inline;> <!-- strike-through -->
775 <!ELEMENT strike %Inline;> <!-- strike-through -->
776 <!ATTLIST strike %attrs;>
778 <!ELEMENT basefont EMPTY> <!-- base font size -->
782 color %Color; #IMPLIED
786 <!ELEMENT font %Inline;> <!-- local change to font -->
791 color %Color; #IMPLIED
795 <!--==================== Object ======================================-->
797 object is used to embed objects as part of HTML pages.
798 param elements should precede other content. Parameters
799 can also be expressed as attribute/value pairs on the
800 object element itself when brevity is desired.
803 <!ELEMENT object (#PCDATA | param | %block; | form | %inline; | %misc;)*>
806 declare (declare) #IMPLIED
807 classid %URI; #IMPLIED
808 codebase %URI; #IMPLIED
810 type %ContentType; #IMPLIED
811 codetype %ContentType; #IMPLIED
812 archive %UriList; #IMPLIED
813 standby %Text; #IMPLIED
814 height %Length; #IMPLIED
815 width %Length; #IMPLIED
816 usemap %URI; #IMPLIED
817 name NMTOKEN #IMPLIED
818 tabindex %Number; #IMPLIED
819 align %ImgAlign; #IMPLIED
820 border %Pixels; #IMPLIED
821 hspace %Pixels; #IMPLIED
822 vspace %Pixels; #IMPLIED
826 param is used to supply a named property value.
827 In XML it would seem natural to follow RDF and support an
828 abbreviated syntax where the param elements are replaced
829 by attribute value pairs on the object start tag.
831 <!ELEMENT param EMPTY>
837 valuetype (data|ref|object) "data"
838 type %ContentType; #IMPLIED
841 <!--=================== Java applet ==================================-->
843 One of code or object attributes must be present.
844 Place param elements before other content.
846 <!ELEMENT applet (#PCDATA | param | %block; | form | %inline; | %misc;)*>
850 codebase %URI; #IMPLIED
851 archive CDATA #IMPLIED
853 object CDATA #IMPLIED
855 name NMTOKEN #IMPLIED
856 width %Length; #REQUIRED
857 height %Length; #REQUIRED
858 align %ImgAlign; #IMPLIED
859 hspace %Pixels; #IMPLIED
860 vspace %Pixels; #IMPLIED
863 <!--=================== Images ===========================================-->
866 To avoid accessibility problems for people who aren't
867 able to see the image, you should provide a text
868 description using the alt and longdesc attributes.
869 In addition, avoid the use of server-side image maps.
877 name NMTOKEN #IMPLIED
878 longdesc %URI; #IMPLIED
879 height %Length; #IMPLIED
880 width %Length; #IMPLIED
881 usemap %URI; #IMPLIED
882 ismap (ismap) #IMPLIED
883 align %ImgAlign; #IMPLIED
884 border %Length; #IMPLIED
885 hspace %Pixels; #IMPLIED
886 vspace %Pixels; #IMPLIED
889 <!-- usemap points to a map element which may be in this document
890 or an external document, although the latter is not widely supported -->
892 <!--================== Client-side image maps ============================-->
894 <!-- These can be placed in the same document or grouped in a
895 separate document although this isn't yet widely supported -->
897 <!ELEMENT map ((%block; | form | %misc;)+ | area+)>
903 style %StyleSheet; #IMPLIED
904 title %Text; #IMPLIED
908 <!ELEMENT area EMPTY>
913 coords %Coords; #IMPLIED
915 nohref (nohref) #IMPLIED
917 target %FrameTarget; #IMPLIED
920 <!--================ Forms ===============================================-->
922 <!ELEMENT form %form.content;> <!-- forms shouldn't be nested -->
926 action %URI; #REQUIRED
927 method (get|post) "get"
928 name NMTOKEN #IMPLIED
929 enctype %ContentType; "application/x-www-form-urlencoded"
930 onsubmit %Script; #IMPLIED
931 onreset %Script; #IMPLIED
932 accept %ContentTypes; #IMPLIED
933 accept-charset %Charsets; #IMPLIED
934 target %FrameTarget; #IMPLIED
938 Each label must not contain more than ONE field
939 Label elements shouldn't be nested.
941 <!ELEMENT label %Inline;>
945 accesskey %Character; #IMPLIED
946 onfocus %Script; #IMPLIED
947 onblur %Script; #IMPLIED
951 "(text | password | checkbox |
952 radio | submit | reset |
953 file | hidden | image | button)"
956 <!-- the name attribute is required for all but submit & reset -->
958 <!ELEMENT input EMPTY> <!-- form control -->
962 type %InputType; "text"
965 checked (checked) #IMPLIED
966 disabled (disabled) #IMPLIED
967 readonly (readonly) #IMPLIED
969 maxlength %Number; #IMPLIED
972 usemap %URI; #IMPLIED
973 onselect %Script; #IMPLIED
974 onchange %Script; #IMPLIED
975 accept %ContentTypes; #IMPLIED
976 align %ImgAlign; #IMPLIED
979 <!ELEMENT select (optgroup|option)+> <!-- option selector -->
983 size %Number; #IMPLIED
984 multiple (multiple) #IMPLIED
985 disabled (disabled) #IMPLIED
986 tabindex %Number; #IMPLIED
987 onfocus %Script; #IMPLIED
988 onblur %Script; #IMPLIED
989 onchange %Script; #IMPLIED
992 <!ELEMENT optgroup (option)+> <!-- option group -->
995 disabled (disabled) #IMPLIED
996 label %Text; #REQUIRED
999 <!ELEMENT option (#PCDATA)> <!-- selectable choice -->
1002 selected (selected) #IMPLIED
1003 disabled (disabled) #IMPLIED
1004 label %Text; #IMPLIED
1005 value CDATA #IMPLIED
1008 <!ELEMENT textarea (#PCDATA)> <!-- multi-line text field -->
1013 rows %Number; #REQUIRED
1014 cols %Number; #REQUIRED
1015 disabled (disabled) #IMPLIED
1016 readonly (readonly) #IMPLIED
1017 onselect %Script; #IMPLIED
1018 onchange %Script; #IMPLIED
1022 The fieldset element is used to group form fields.
1023 Only one legend element should occur in the content
1024 and if present should only be preceded by whitespace.
1026 <!ELEMENT fieldset (#PCDATA | legend | %block; | form | %inline; | %misc;)*>
1031 <!ENTITY % LAlign "(top|bottom|left|right)">
1033 <!ELEMENT legend %Inline;> <!-- fieldset label -->
1036 accesskey %Character; #IMPLIED
1037 align %LAlign; #IMPLIED
1041 Content is %Flow; excluding a, form, form controls, iframe
1043 <!ELEMENT button %button.content;> <!-- push button -->
1048 value CDATA #IMPLIED
1049 type (button|submit|reset) "submit"
1050 disabled (disabled) #IMPLIED
1053 <!-- single-line text input control (DEPRECATED) -->
1054 <!ELEMENT isindex EMPTY>
1058 prompt %Text; #IMPLIED
1061 <!--======================= Tables =======================================-->
1063 <!-- Derived from IETF HTML table standard, see [RFC1942] -->
1066 The border attribute sets the thickness of the frame around the
1067 table. The default units are screen pixels.
1069 The frame attribute specifies which parts of the frame around
1070 the table should be rendered. The values are not the same as
1071 CALS to avoid a name clash with the valign attribute.
1073 <!ENTITY % TFrame "(void|above|below|hsides|lhs|rhs|vsides|box|border)">
1076 The rules attribute defines which rules to draw between cells:
1078 If rules is absent then assume:
1079 "none" if border is absent or border="0" otherwise "all"
1082 <!ENTITY % TRules "(none | groups | rows | cols | all)">
1084 <!-- horizontal placement of table relative to document -->
1085 <!ENTITY % TAlign "(left|center|right)">
1087 <!-- horizontal alignment attributes for cell contents
1089 char alignment char, e.g. char=':'
1090 charoff offset for alignment char
1092 <!ENTITY % cellhalign
1093 "align (left|center|right|justify|char) #IMPLIED
1094 char %Character; #IMPLIED
1095 charoff %Length; #IMPLIED"
1098 <!-- vertical alignment attributes for cell contents -->
1099 <!ENTITY % cellvalign
1100 "valign (top|middle|bottom|baseline) #IMPLIED"
1104 (caption?, (col*|colgroup*), thead?, tfoot?, (tbody+|tr+))>
1105 <!ELEMENT caption %Inline;>
1106 <!ELEMENT thead (tr)+>
1107 <!ELEMENT tfoot (tr)+>
1108 <!ELEMENT tbody (tr)+>
1109 <!ELEMENT colgroup (col)*>
1110 <!ELEMENT col EMPTY>
1111 <!ELEMENT tr (th|td)+>
1112 <!ELEMENT th %Flow;>
1113 <!ELEMENT td %Flow;>
1117 summary %Text; #IMPLIED
1118 width %Length; #IMPLIED
1119 border %Pixels; #IMPLIED
1120 frame %TFrame; #IMPLIED
1121 rules %TRules; #IMPLIED
1122 cellspacing %Length; #IMPLIED
1123 cellpadding %Length; #IMPLIED
1124 align %TAlign; #IMPLIED
1125 bgcolor %Color; #IMPLIED
1128 <!ENTITY % CAlign "(top|bottom|left|right)">
1132 align %CAlign; #IMPLIED
1136 colgroup groups a set of col elements. It allows you to group
1137 several semantically related columns together.
1142 width %MultiLength; #IMPLIED
1148 col elements define the alignment properties for cells in
1149 one or more columns.
1151 The width attribute specifies the width of the columns, e.g.
1153 width=64 width in screen pixels
1154 width=0.5* relative width of 0.5
1156 The span attribute causes the attributes of one
1157 col element to apply to more than one column.
1162 width %MultiLength; #IMPLIED
1168 Use thead to duplicate headers when breaking table
1169 across page boundaries, or for static headers when
1170 tbody sections are rendered in scrolling panel.
1172 Use tfoot to duplicate footers when breaking table
1173 across page boundaries, or for static footers when
1174 tbody sections are rendered in scrolling panel.
1176 Use multiple tbody sections when rules are needed
1177 between groups of table rows.
1201 bgcolor %Color; #IMPLIED
1204 <!-- Scope is simpler than headers attribute for common tables -->
1205 <!ENTITY % Scope "(row|col|rowgroup|colgroup)">
1207 <!-- th is for headers, td for data and for cells acting as both -->
1211 abbr %Text; #IMPLIED
1213 headers IDREFS #IMPLIED
1214 scope %Scope; #IMPLIED
1215 rowspan %Number; "1"
1216 colspan %Number; "1"
1219 nowrap (nowrap) #IMPLIED
1220 bgcolor %Color; #IMPLIED
1221 width %Length; #IMPLIED
1222 height %Length; #IMPLIED
1227 abbr %Text; #IMPLIED
1229 headers IDREFS #IMPLIED
1230 scope %Scope; #IMPLIED
1231 rowspan %Number; "1"
1232 colspan %Number; "1"
1235 nowrap (nowrap) #IMPLIED
1236 bgcolor %Color; #IMPLIED
1237 width %Length; #IMPLIED
1238 height %Length; #IMPLIED