2 Extensible HTML version 1.0 Transitional DTD
4 This is the same as HTML 4.0 Transitional 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
11 Copyright (c) 1998-2000 W3C (MIT, INRIA, Keio),
14 This DTD module is identified by the PUBLIC and SYSTEM identifiers:
16 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
17 SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
20 $Date: 2002-08-25 10:22:00 $
24 <!--================ Character mnemonic entities =========================-->
26 <!ENTITY % HTMLlat1 PUBLIC
27 "-//W3C//ENTITIES Latin 1 for XHTML//EN"
31 <!ENTITY % HTMLsymbol PUBLIC
32 "-//W3C//ENTITIES Symbols for XHTML//EN"
36 <!ENTITY % HTMLspecial PUBLIC
37 "-//W3C//ENTITIES Special for XHTML//EN"
41 <!--================== Imported Names ====================================-->
43 <!ENTITY % ContentType "CDATA">
44 <!-- media type, as per [RFC2045] -->
46 <!ENTITY % ContentTypes "CDATA">
47 <!-- comma-separated list of media types, as per [RFC2045] -->
49 <!ENTITY % Charset "CDATA">
50 <!-- a character encoding, as per [RFC2045] -->
52 <!ENTITY % Charsets "CDATA">
53 <!-- a space separated list of character encodings, as per [RFC2045] -->
55 <!ENTITY % LanguageCode "NMTOKEN">
56 <!-- a language code, as per [RFC1766] -->
58 <!ENTITY % Character "CDATA">
59 <!-- a single character from [ISO10646] -->
61 <!ENTITY % Number "CDATA">
62 <!-- one or more digits -->
64 <!ENTITY % LinkTypes "CDATA">
65 <!-- space-separated list of link types -->
67 <!ENTITY % MediaDesc "CDATA">
68 <!-- single or comma-separated list of media descriptors -->
70 <!ENTITY % URI "CDATA">
71 <!-- a Uniform Resource Identifier, see [RFC2396] -->
73 <!ENTITY % UriList "CDATA">
74 <!-- a space separated list of Uniform Resource Identifiers -->
76 <!ENTITY % Datetime "CDATA">
77 <!-- date and time information. ISO date format -->
79 <!ENTITY % Script "CDATA">
80 <!-- script expression -->
82 <!ENTITY % StyleSheet "CDATA">
83 <!-- style sheet data -->
85 <!ENTITY % Text "CDATA">
86 <!-- used for titles etc. -->
88 <!ENTITY % FrameTarget "NMTOKEN">
89 <!-- render in this frame -->
91 <!ENTITY % Length "CDATA">
92 <!-- nn for pixels or nn% for percentage length -->
94 <!ENTITY % MultiLength "CDATA">
95 <!-- pixel, percentage, or relative -->
97 <!ENTITY % MultiLengths "CDATA">
98 <!-- comma-separated list of MultiLength -->
100 <!ENTITY % Pixels "CDATA">
101 <!-- integer representing length in pixels -->
103 <!-- these are used for image maps -->
105 <!ENTITY % Shape "(rect|circle|poly|default)">
107 <!ENTITY % Coords "CDATA">
108 <!-- comma separated list of lengths -->
110 <!-- used for object, applet, img, input and iframe -->
111 <!ENTITY % ImgAlign "(top|middle|bottom|left|right)">
113 <!-- a color using sRGB: #RRGGBB as Hex values -->
114 <!ENTITY % Color "CDATA">
116 <!-- There are also 16 widely known color names with their sRGB values:
118 Black = #000000 Green = #008000
119 Silver = #C0C0C0 Lime = #00FF00
120 Gray = #808080 Olive = #808000
121 White = #FFFFFF Yellow = #FFFF00
122 Maroon = #800000 Navy = #000080
123 Red = #FF0000 Blue = #0000FF
124 Purple = #800080 Teal = #008080
125 Fuchsia= #FF00FF Aqua = #00FFFF
128 <!--=================== Generic Attributes ===============================-->
130 <!-- core attributes common to most elements
131 id document-wide unique id
132 class space separated list of classes
133 style associated style info
134 title advisory title/amplification
139 style %StyleSheet; #IMPLIED
140 title %Text; #IMPLIED"
143 <!-- internationalization attributes
144 lang language code (backwards compatible)
145 xml:lang language code (as per XML 1.0 spec)
146 dir direction for weak/neutral text
149 "lang %LanguageCode; #IMPLIED
150 xml:lang %LanguageCode; #IMPLIED
151 dir (ltr|rtl) #IMPLIED"
154 <!-- attributes for common UI events
155 onclick a pointer button was clicked
156 ondblclick a pointer button was double clicked
157 onmousedown a pointer button was pressed down
158 onmouseup a pointer button was released
159 onmousemove a pointer was moved onto the element
160 onmouseout a pointer was moved away from the element
161 onkeypress a key was pressed and released
162 onkeydown a key was pressed down
163 onkeyup a key was released
166 "onclick %Script; #IMPLIED
167 ondblclick %Script; #IMPLIED
168 onmousedown %Script; #IMPLIED
169 onmouseup %Script; #IMPLIED
170 onmouseover %Script; #IMPLIED
171 onmousemove %Script; #IMPLIED
172 onmouseout %Script; #IMPLIED
173 onkeypress %Script; #IMPLIED
174 onkeydown %Script; #IMPLIED
175 onkeyup %Script; #IMPLIED"
178 <!-- attributes for elements that can get the focus
179 accesskey accessibility key character
180 tabindex position in tabbing order
181 onfocus the element got the focus
182 onblur the element lost the focus
185 "accesskey %Character; #IMPLIED
186 tabindex %Number; #IMPLIED
187 onfocus %Script; #IMPLIED
188 onblur %Script; #IMPLIED"
191 <!ENTITY % attrs "%coreattrs; %i18n; %events;">
193 <!-- text alignment for p, div, h1-h6. The default is
194 align="left" for ltr headings, "right" for rtl -->
196 <!ENTITY % TextAlign "align (left|center|right) #IMPLIED">
198 <!--=================== Text Elements ====================================-->
201 "br | span | bdo | object | applet | img | map | iframe">
203 <!ENTITY % fontstyle "tt | i | b | big | small | u
204 | s | strike |font | basefont">
206 <!ENTITY % phrase "em | strong | dfn | code | q | sub | sup |
207 samp | kbd | var | cite | abbr | acronym">
209 <!ENTITY % inline.forms "input | select | textarea | label | button">
211 <!-- these can occur at block or inline level -->
212 <!ENTITY % misc "ins | del | script | noscript">
214 <!ENTITY % inline "a | %special; | %fontstyle; | %phrase; | %inline.forms;">
216 <!-- %Inline; covers inline or "text-level" elements -->
217 <!ENTITY % Inline "(#PCDATA | %inline; | %misc;)*">
219 <!--================== Block level elements ==============================-->
221 <!ENTITY % heading "h1|h2|h3|h4|h5|h6">
222 <!ENTITY % lists "ul | ol | dl | menu | dir">
223 <!ENTITY % blocktext "pre | hr | blockquote | address | center | noframes">
226 "p | %heading; | div | %lists; | %blocktext; | isindex |fieldset | table">
228 <!ENTITY % Block "(%block; | form | %misc;)*">
230 <!-- %Flow; mixes Block and Inline and is used for list items etc. -->
231 <!ENTITY % Flow "(#PCDATA | %block; | form | %inline; | %misc;)*">
233 <!--================== Content models for exclusions =====================-->
235 <!-- a elements use %Inline; excluding a -->
238 "(#PCDATA | %special; | %fontstyle; | %phrase; | %inline.forms; | %misc;)*">
240 <!-- pre uses %Inline excluding img, object, applet, big, small,
241 sub, sup, font, or basefont -->
243 <!ENTITY % pre.content
244 "(#PCDATA | a | br | span | bdo | map | tt | i | b | u | s |
245 %phrase; | %inline.forms;)*">
247 <!-- form uses %Flow; excluding form -->
249 <!ENTITY % form.content "(#PCDATA | %block; | %inline; | %misc;)*">
251 <!-- button uses %Flow; but excludes a, form, form controls, iframe -->
253 <!ENTITY % button.content
254 "(#PCDATA | p | %heading; | div | %lists; | %blocktext; |
255 table | br | span | bdo | object | applet | img | map |
256 %fontstyle; | %phrase; | %misc;)*">
258 <!--================ Document Structure ==================================-->
260 <!-- the namespace URI designates the document profile -->
262 <!ELEMENT html (head, body)>
265 xmlns %URI; #FIXED 'http://www.w3.org/1999/xhtml'
268 <!--================ Document Head =======================================-->
270 <!ENTITY % head.misc "(script|style|meta|link|object|isindex)*">
272 <!-- content model is %head.misc; combined with a single
273 title and an optional base element in any order -->
275 <!ELEMENT head (%head.misc;,
276 ((title, %head.misc;, (base, %head.misc;)?) |
277 (base, %head.misc;, (title, %head.misc;))))>
281 profile %URI; #IMPLIED
284 <!-- The title element is not considered part of the flow of text.
285 It should be displayed, for example as the page header or
286 window title. Exactly one title is required per document.
288 <!ELEMENT title (#PCDATA)>
289 <!ATTLIST title %i18n;>
291 <!-- document base URI -->
293 <!ELEMENT base EMPTY>
296 target %FrameTarget; #IMPLIED
299 <!-- generic metainformation -->
300 <!ELEMENT meta EMPTY>
303 http-equiv CDATA #IMPLIED
305 content CDATA #REQUIRED
306 scheme CDATA #IMPLIED
310 Relationship values can be used in principle:
312 a) for document specific toolbars/menus when used
313 with the link element in document head e.g.
314 start, contents, previous, next, index, end, help
315 b) to link to a separate style sheet (rel="stylesheet")
316 c) to make a link to a script (rel="script")
317 d) by stylesheets to control how collections of
318 html nodes are rendered into printed documents
319 e) to make a link to a printable version of this document
320 e.g. a PostScript or PDF version (rel="alternate" media="print")
323 <!ELEMENT link EMPTY>
326 charset %Charset; #IMPLIED
328 hreflang %LanguageCode; #IMPLIED
329 type %ContentType; #IMPLIED
330 rel %LinkTypes; #IMPLIED
331 rev %LinkTypes; #IMPLIED
332 media %MediaDesc; #IMPLIED
333 target %FrameTarget; #IMPLIED
336 <!-- style info, which may include CDATA sections -->
337 <!ELEMENT style (#PCDATA)>
340 type %ContentType; #REQUIRED
341 media %MediaDesc; #IMPLIED
342 title %Text; #IMPLIED
343 xml:space (preserve) #FIXED 'preserve'
346 <!-- script statements, which may include CDATA sections -->
347 <!ELEMENT script (#PCDATA)>
349 charset %Charset; #IMPLIED
350 type %ContentType; #REQUIRED
351 language CDATA #IMPLIED
353 defer (defer) #IMPLIED
354 xml:space (preserve) #FIXED 'preserve'
357 <!-- alternate content container for non script-based rendering -->
359 <!ELEMENT noscript %Flow;>
364 <!--======================= Frames =======================================-->
366 <!-- inline subwindow -->
368 <!ELEMENT iframe %Flow;>
371 longdesc %URI; #IMPLIED
372 name NMTOKEN #IMPLIED
374 frameborder (1|0) "1"
375 marginwidth %Pixels; #IMPLIED
376 marginheight %Pixels; #IMPLIED
377 scrolling (yes|no|auto) "auto"
378 align %ImgAlign; #IMPLIED
379 height %Length; #IMPLIED
380 width %Length; #IMPLIED
383 <!-- alternate content container for non frame-based rendering -->
385 <!ELEMENT noframes %Flow;>
390 <!--=================== Document Body ====================================-->
392 <!ELEMENT body %Flow;>
395 onload %Script; #IMPLIED
396 onunload %Script; #IMPLIED
397 background %URI; #IMPLIED
398 bgcolor %Color; #IMPLIED
399 text %Color; #IMPLIED
400 link %Color; #IMPLIED
401 vlink %Color; #IMPLIED
402 alink %Color; #IMPLIED
405 <!ELEMENT div %Flow;> <!-- generic language/style container -->
411 <!--=================== Paragraphs =======================================-->
413 <!ELEMENT p %Inline;>
419 <!--=================== Headings =========================================-->
422 There are six levels of headings from h1 (the most important)
423 to h6 (the least important).
426 <!ELEMENT h1 %Inline;>
432 <!ELEMENT h2 %Inline;>
438 <!ELEMENT h3 %Inline;>
444 <!ELEMENT h4 %Inline;>
450 <!ELEMENT h5 %Inline;>
456 <!ELEMENT h6 %Inline;>
462 <!--=================== Lists ============================================-->
464 <!-- Unordered list bullet styles -->
466 <!ENTITY % ULStyle "(disc|square|circle)">
468 <!-- Unordered list -->
473 type %ULStyle; #IMPLIED
474 compact (compact) #IMPLIED
477 <!-- Ordered list numbering style
479 1 arabic numbers 1, 2, 3, ...
480 a lower alpha a, b, c, ...
481 A upper alpha A, B, C, ...
482 i lower roman i, ii, iii, ...
483 I upper roman I, II, III, ...
485 The style is applied to the sequence number which by default
486 is reset to 1 for the first list item in an ordered list.
488 <!ENTITY % OLStyle "CDATA">
490 <!-- Ordered (numbered) list -->
495 type %OLStyle; #IMPLIED
496 compact (compact) #IMPLIED
497 start %Number; #IMPLIED
500 <!-- single column list (DEPRECATED) -->
501 <!ELEMENT menu (li)+>
504 compact (compact) #IMPLIED
507 <!-- multiple column list (DEPRECATED) -->
511 compact (compact) #IMPLIED
514 <!-- LIStyle is constrained to: "(%ULStyle;|%OLStyle;)" -->
515 <!ENTITY % LIStyle "CDATA">
522 type %LIStyle; #IMPLIED
523 value %Number; #IMPLIED
526 <!-- definition lists - dt for term, dd for its definition -->
528 <!ELEMENT dl (dt|dd)+>
531 compact (compact) #IMPLIED
534 <!ELEMENT dt %Inline;>
544 <!--=================== Address ==========================================-->
546 <!-- information on author -->
548 <!ELEMENT address %Inline;>
553 <!--=================== Horizontal Rule ==================================-->
558 align (left|center|right) #IMPLIED
559 noshade (noshade) #IMPLIED
560 size %Pixels; #IMPLIED
561 width %Length; #IMPLIED
564 <!--=================== Preformatted Text ================================-->
566 <!-- content is %Inline; excluding
567 "img|object|applet|big|small|sub|sup|font|basefont" -->
569 <!ELEMENT pre %pre.content;>
572 width %Number; #IMPLIED
573 xml:space (preserve) #FIXED 'preserve'
576 <!--=================== Block-like Quotes ================================-->
578 <!ELEMENT blockquote %Flow;>
584 <!--=================== Text alignment ===================================-->
586 <!-- center content -->
587 <!ELEMENT center %Flow;>
592 <!--=================== Inserted/Deleted Text ============================-->
595 ins/del are allowed in block and inline content, but its
596 inappropriate to include block content within an ins element
597 occurring in inline content.
599 <!ELEMENT ins %Flow;>
603 datetime %Datetime; #IMPLIED
606 <!ELEMENT del %Flow;>
610 datetime %Datetime; #IMPLIED
613 <!--================== The Anchor Element ================================-->
615 <!-- content is %Inline; except that anchors shouldn't be nested -->
617 <!ELEMENT a %a.content;>
620 charset %Charset; #IMPLIED
621 type %ContentType; #IMPLIED
622 name NMTOKEN #IMPLIED
624 hreflang %LanguageCode; #IMPLIED
625 rel %LinkTypes; #IMPLIED
626 rev %LinkTypes; #IMPLIED
627 accesskey %Character; #IMPLIED
629 coords %Coords; #IMPLIED
630 tabindex %Number; #IMPLIED
631 onfocus %Script; #IMPLIED
632 onblur %Script; #IMPLIED
633 target %FrameTarget; #IMPLIED
636 <!--===================== Inline Elements ================================-->
638 <!ELEMENT span %Inline;> <!-- generic language/style container -->
643 <!ELEMENT bdo %Inline;> <!-- I18N BiDi over-ride -->
647 lang %LanguageCode; #IMPLIED
648 xml:lang %LanguageCode; #IMPLIED
649 dir (ltr|rtl) #REQUIRED
652 <!ELEMENT br EMPTY> <!-- forced line break -->
655 clear (left|all|right|none) "none"
658 <!ELEMENT em %Inline;> <!-- emphasis -->
659 <!ATTLIST em %attrs;>
661 <!ELEMENT strong %Inline;> <!-- strong emphasis -->
662 <!ATTLIST strong %attrs;>
664 <!ELEMENT dfn %Inline;> <!-- definitional -->
665 <!ATTLIST dfn %attrs;>
667 <!ELEMENT code %Inline;> <!-- program code -->
668 <!ATTLIST code %attrs;>
670 <!ELEMENT samp %Inline;> <!-- sample -->
671 <!ATTLIST samp %attrs;>
673 <!ELEMENT kbd %Inline;> <!-- something user would type -->
674 <!ATTLIST kbd %attrs;>
676 <!ELEMENT var %Inline;> <!-- variable -->
677 <!ATTLIST var %attrs;>
679 <!ELEMENT cite %Inline;> <!-- citation -->
680 <!ATTLIST cite %attrs;>
682 <!ELEMENT abbr %Inline;> <!-- abbreviation -->
683 <!ATTLIST abbr %attrs;>
685 <!ELEMENT acronym %Inline;> <!-- acronym -->
686 <!ATTLIST acronym %attrs;>
688 <!ELEMENT q %Inline;> <!-- inlined quote -->
694 <!ELEMENT sub %Inline;> <!-- subscript -->
695 <!ATTLIST sub %attrs;>
697 <!ELEMENT sup %Inline;> <!-- superscript -->
698 <!ATTLIST sup %attrs;>
700 <!ELEMENT tt %Inline;> <!-- fixed pitch font -->
701 <!ATTLIST tt %attrs;>
703 <!ELEMENT i %Inline;> <!-- italic font -->
706 <!ELEMENT b %Inline;> <!-- bold font -->
709 <!ELEMENT big %Inline;> <!-- bigger font -->
710 <!ATTLIST big %attrs;>
712 <!ELEMENT small %Inline;> <!-- smaller font -->
713 <!ATTLIST small %attrs;>
715 <!ELEMENT u %Inline;> <!-- underline -->
718 <!ELEMENT s %Inline;> <!-- strike-through -->
721 <!ELEMENT strike %Inline;> <!-- strike-through -->
722 <!ATTLIST strike %attrs;>
724 <!ELEMENT basefont EMPTY> <!-- base font size -->
728 color %Color; #IMPLIED
732 <!ELEMENT font %Inline;> <!-- local change to font -->
737 color %Color; #IMPLIED
741 <!--==================== Object ======================================-->
743 object is used to embed objects as part of HTML pages.
744 param elements should precede other content. Parameters
745 can also be expressed as attribute/value pairs on the
746 object element itself when brevity is desired.
749 <!ELEMENT object (#PCDATA | param | %block; | form | %inline; | %misc;)*>
752 declare (declare) #IMPLIED
753 classid %URI; #IMPLIED
754 codebase %URI; #IMPLIED
756 type %ContentType; #IMPLIED
757 codetype %ContentType; #IMPLIED
758 archive %UriList; #IMPLIED
759 standby %Text; #IMPLIED
760 height %Length; #IMPLIED
761 width %Length; #IMPLIED
762 usemap %URI; #IMPLIED
763 name NMTOKEN #IMPLIED
764 tabindex %Number; #IMPLIED
765 align %ImgAlign; #IMPLIED
766 border %Pixels; #IMPLIED
767 hspace %Pixels; #IMPLIED
768 vspace %Pixels; #IMPLIED
772 param is used to supply a named property value.
773 In XML it would seem natural to follow RDF and support an
774 abbreviated syntax where the param elements are replaced
775 by attribute value pairs on the object start tag.
777 <!ELEMENT param EMPTY>
782 valuetype (data|ref|object) "data"
783 type %ContentType; #IMPLIED
786 <!--=================== Java applet ==================================-->
788 One of code or object attributes must be present.
789 Place param elements before other content.
791 <!ELEMENT applet (#PCDATA | param | %block; | form | %inline; | %misc;)*>
794 codebase %URI; #IMPLIED
795 archive CDATA #IMPLIED
797 object CDATA #IMPLIED
799 name NMTOKEN #IMPLIED
800 width %Length; #REQUIRED
801 height %Length; #REQUIRED
802 align %ImgAlign; #IMPLIED
803 hspace %Pixels; #IMPLIED
804 vspace %Pixels; #IMPLIED
807 <!--=================== Images ===========================================-->
810 To avoid accessibility problems for people who aren't
811 able to see the image, you should provide a text
812 description using the alt and longdesc attributes.
813 In addition, avoid the use of server-side image maps.
821 name NMTOKEN #IMPLIED
822 longdesc %URI; #IMPLIED
823 height %Length; #IMPLIED
824 width %Length; #IMPLIED
825 usemap %URI; #IMPLIED
826 ismap (ismap) #IMPLIED
827 align %ImgAlign; #IMPLIED
828 border %Length; #IMPLIED
829 hspace %Pixels; #IMPLIED
830 vspace %Pixels; #IMPLIED
833 <!-- usemap points to a map element which may be in this document
834 or an external document, although the latter is not widely supported -->
836 <!--================== Client-side image maps ============================-->
838 <!-- These can be placed in the same document or grouped in a
839 separate document although this isn't yet widely supported -->
841 <!ELEMENT map ((%block; | form | %misc;)+ | area+)>
847 style %StyleSheet; #IMPLIED
848 title %Text; #IMPLIED
852 <!ELEMENT area EMPTY>
856 coords %Coords; #IMPLIED
858 nohref (nohref) #IMPLIED
860 tabindex %Number; #IMPLIED
861 accesskey %Character; #IMPLIED
862 onfocus %Script; #IMPLIED
863 onblur %Script; #IMPLIED
864 target %FrameTarget; #IMPLIED
867 <!--================ Forms ===============================================-->
869 <!ELEMENT form %form.content;> <!-- forms shouldn't be nested -->
873 action %URI; #REQUIRED
874 method (get|post) "get"
875 name NMTOKEN #IMPLIED
876 enctype %ContentType; "application/x-www-form-urlencoded"
877 onsubmit %Script; #IMPLIED
878 onreset %Script; #IMPLIED
879 accept %ContentTypes; #IMPLIED
880 accept-charset %Charsets; #IMPLIED
881 target %FrameTarget; #IMPLIED
885 Each label must not contain more than ONE field
886 Label elements shouldn't be nested.
888 <!ELEMENT label %Inline;>
892 accesskey %Character; #IMPLIED
893 onfocus %Script; #IMPLIED
894 onblur %Script; #IMPLIED
898 "(text | password | checkbox |
899 radio | submit | reset |
900 file | hidden | image | button)"
903 <!-- the name attribute is required for all but submit & reset -->
905 <!ELEMENT input EMPTY> <!-- form control -->
908 type %InputType; "text"
911 checked (checked) #IMPLIED
912 disabled (disabled) #IMPLIED
913 readonly (readonly) #IMPLIED
915 maxlength %Number; #IMPLIED
918 usemap %URI; #IMPLIED
919 tabindex %Number; #IMPLIED
920 accesskey %Character; #IMPLIED
921 onfocus %Script; #IMPLIED
922 onblur %Script; #IMPLIED
923 onselect %Script; #IMPLIED
924 onchange %Script; #IMPLIED
925 accept %ContentTypes; #IMPLIED
926 align %ImgAlign; #IMPLIED
929 <!ELEMENT select (optgroup|option)+> <!-- option selector -->
933 size %Number; #IMPLIED
934 multiple (multiple) #IMPLIED
935 disabled (disabled) #IMPLIED
936 tabindex %Number; #IMPLIED
937 onfocus %Script; #IMPLIED
938 onblur %Script; #IMPLIED
939 onchange %Script; #IMPLIED
942 <!ELEMENT optgroup (option)+> <!-- option group -->
945 disabled (disabled) #IMPLIED
946 label %Text; #REQUIRED
949 <!ELEMENT option (#PCDATA)> <!-- selectable choice -->
952 selected (selected) #IMPLIED
953 disabled (disabled) #IMPLIED
954 label %Text; #IMPLIED
958 <!ELEMENT textarea (#PCDATA)> <!-- multi-line text field -->
962 rows %Number; #REQUIRED
963 cols %Number; #REQUIRED
964 disabled (disabled) #IMPLIED
965 readonly (readonly) #IMPLIED
966 tabindex %Number; #IMPLIED
967 accesskey %Character; #IMPLIED
968 onfocus %Script; #IMPLIED
969 onblur %Script; #IMPLIED
970 onselect %Script; #IMPLIED
971 onchange %Script; #IMPLIED
975 The fieldset element is used to group form fields.
976 Only one legend element should occur in the content
977 and if present should only be preceded by whitespace.
979 <!ELEMENT fieldset (#PCDATA | legend | %block; | form | %inline; | %misc;)*>
984 <!ENTITY % LAlign "(top|bottom|left|right)">
986 <!ELEMENT legend %Inline;> <!-- fieldset label -->
989 accesskey %Character; #IMPLIED
990 align %LAlign; #IMPLIED
994 Content is %Flow; excluding a, form, form controls, iframe
996 <!ELEMENT button %button.content;> <!-- push button -->
1000 value CDATA #IMPLIED
1001 type (button|submit|reset) "submit"
1002 disabled (disabled) #IMPLIED
1003 tabindex %Number; #IMPLIED
1004 accesskey %Character; #IMPLIED
1005 onfocus %Script; #IMPLIED
1006 onblur %Script; #IMPLIED
1009 <!-- single-line text input control (DEPRECATED) -->
1010 <!ELEMENT isindex EMPTY>
1014 prompt %Text; #IMPLIED
1017 <!--======================= Tables =======================================-->
1019 <!-- Derived from IETF HTML table standard, see [RFC1942] -->
1022 The border attribute sets the thickness of the frame around the
1023 table. The default units are screen pixels.
1025 The frame attribute specifies which parts of the frame around
1026 the table should be rendered. The values are not the same as
1027 CALS to avoid a name clash with the valign attribute.
1029 <!ENTITY % TFrame "(void|above|below|hsides|lhs|rhs|vsides|box|border)">
1032 The rules attribute defines which rules to draw between cells:
1034 If rules is absent then assume:
1035 "none" if border is absent or border="0" otherwise "all"
1038 <!ENTITY % TRules "(none | groups | rows | cols | all)">
1040 <!-- horizontal placement of table relative to document -->
1041 <!ENTITY % TAlign "(left|center|right)">
1043 <!-- horizontal alignment attributes for cell contents
1045 char alignment char, e.g. char=':'
1046 charoff offset for alignment char
1048 <!ENTITY % cellhalign
1049 "align (left|center|right|justify|char) #IMPLIED
1050 char %Character; #IMPLIED
1051 charoff %Length; #IMPLIED"
1054 <!-- vertical alignment attributes for cell contents -->
1055 <!ENTITY % cellvalign
1056 "valign (top|middle|bottom|baseline) #IMPLIED"
1060 (caption?, (col*|colgroup*), thead?, tfoot?, (tbody+|tr+))>
1061 <!ELEMENT caption %Inline;>
1062 <!ELEMENT thead (tr)+>
1063 <!ELEMENT tfoot (tr)+>
1064 <!ELEMENT tbody (tr)+>
1065 <!ELEMENT colgroup (col)*>
1066 <!ELEMENT col EMPTY>
1067 <!ELEMENT tr (th|td)+>
1068 <!ELEMENT th %Flow;>
1069 <!ELEMENT td %Flow;>
1073 summary %Text; #IMPLIED
1074 width %Length; #IMPLIED
1075 border %Pixels; #IMPLIED
1076 frame %TFrame; #IMPLIED
1077 rules %TRules; #IMPLIED
1078 cellspacing %Length; #IMPLIED
1079 cellpadding %Length; #IMPLIED
1080 align %TAlign; #IMPLIED
1081 bgcolor %Color; #IMPLIED
1084 <!ENTITY % CAlign "(top|bottom|left|right)">
1088 align %CAlign; #IMPLIED
1092 colgroup groups a set of col elements. It allows you to group
1093 several semantically related columns together.
1098 width %MultiLength; #IMPLIED
1104 col elements define the alignment properties for cells in
1105 one or more columns.
1107 The width attribute specifies the width of the columns, e.g.
1109 width=64 width in screen pixels
1110 width=0.5* relative width of 0.5
1112 The span attribute causes the attributes of one
1113 col element to apply to more than one column.
1118 width %MultiLength; #IMPLIED
1124 Use thead to duplicate headers when breaking table
1125 across page boundaries, or for static headers when
1126 tbody sections are rendered in scrolling panel.
1128 Use tfoot to duplicate footers when breaking table
1129 across page boundaries, or for static footers when
1130 tbody sections are rendered in scrolling panel.
1132 Use multiple tbody sections when rules are needed
1133 between groups of table rows.
1157 bgcolor %Color; #IMPLIED
1160 <!-- Scope is simpler than headers attribute for common tables -->
1161 <!ENTITY % Scope "(row|col|rowgroup|colgroup)">
1163 <!-- th is for headers, td for data and for cells acting as both -->
1167 abbr %Text; #IMPLIED
1169 headers IDREFS #IMPLIED
1170 scope %Scope; #IMPLIED
1171 rowspan %Number; "1"
1172 colspan %Number; "1"
1175 nowrap (nowrap) #IMPLIED
1176 bgcolor %Color; #IMPLIED
1177 width %Pixels; #IMPLIED
1178 height %Pixels; #IMPLIED
1183 abbr %Text; #IMPLIED
1185 headers IDREFS #IMPLIED
1186 scope %Scope; #IMPLIED
1187 rowspan %Number; "1"
1188 colspan %Number; "1"
1191 nowrap (nowrap) #IMPLIED
1192 bgcolor %Color; #IMPLIED
1193 width %Pixels; #IMPLIED
1194 height %Pixels; #IMPLIED