Debian Codegraph @

share/catalogue/www.w3.org/MarkUp/DTD/xhtml1-transitional.dtd

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