annotate etc/sgml/ie3tables.dtd @ 119:d101af7320b8

Added tag r20-1b11 for changeset 7d55a9ba150c
author cvs
date Mon, 13 Aug 2007 09:24:19 +0200
parents e04119814345
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
32
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
1 <!-- Note: I originally excerpted this from the document entitled
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
2 "The HTML3 Table Model" by Dave Raggett, which I found at
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
3 http://www.w3.org/hypertext/WWW/TR/WD-tables. This file
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
4 identified itself as W3C Working Draft, dated 12/22/95. There are
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
5 slight modifications.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
6
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
7 Added width attribute to th and td elements.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
8
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
9 Version: 11/07/96
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
10
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
11 -->
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
12
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
13 <!-- Content model entities imported from parent DTD:
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
14
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
15 %body.content; allows table cells to contain headers, paras,
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
16 lists, form elements and even arbitrarily nested tables.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
17
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
18 %text; is text characters, including character entities and
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
19 character emphasis elements, IMG and anchors
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
20 -->
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
21
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
22 <!ENTITY % attrs
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
23 "id ID #IMPLIED -- element identifier --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
24 class NAMES #IMPLIED -- for subclassing elements --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
25 style CDATA #IMPLIED -- rendering annotation --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
26 lang NAME #IMPLIED -- as per RFC 1766 --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
27 -- dir (ltr|rtl) #IMPLIED -- -- I18N text direction --">
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
28
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
29 <!--
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
30 The BORDER attribute sets the thickness of the frame around the
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
31 table. The default units are screen pixels.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
32
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
33 The FRAME attribute specifies which parts of the frame around
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
34 the table should be rendered. The values are not the same as
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
35 CALS to avoid a name clash with the VALIGN attribute.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
36
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
37 The value "border" is included for backwards compatibility with
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
38 <TABLE BORDER> which yields frame=border and border=implied
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
39 For <TABLE BORDER=1> you get border=1 and frame=implied. In this
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
40 case, its appropriate to treat this as frame=border for backwards
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
41 compatibility with deployed browsers.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
42 -->
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
43
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
44 <!ENTITY % Frame "(void|above|below|hsides|lhs|rhs|vsides|box|border)">
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
45
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
46 <!--
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
47 The RULES attribute defines which rules to draw between cells:
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
48
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
49 If RULES is absent then assume:
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
50 "none" if BORDER is absent or BORDER=0 otherwise "all"
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
51 -->
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
52
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
53 <!ENTITY % Rules "(none | groups | rows | cols | all)">
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
54
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
55 <!-- horizontal placement of table relative to window -->
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
56 <!ENTITY % Where "(left|center|right)">
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
57 <!-- horizontal alignment attributes for cell contents -->
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
58 <!ENTITY % cell.halign
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
59 "align (left|center|right|justify|char) #IMPLIED
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
60 char CDATA #IMPLIED -- alignment char, e.g. char=':' --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
61 charoff CDATA #IMPLIED -- offset for alignment char --"
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
62 >
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
63
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
64 <!-- vertical alignment attributes for cell contents -->
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
65 <!ENTITY % cell.valign
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
66 "valign (top|middle|bottom|baseline) #IMPLIED"
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
67 >
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
68
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
69 <!ELEMENT table - - (caption?, colgroup*, thead?, tfoot?, tbody+)>
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
70 <!ELEMENT caption - - (%text;)+>
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
71 <!ELEMENT thead - O (tr+)>
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
72 <!ELEMENT tfoot - O (tr+)>
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
73 <!ELEMENT tbody O O (tr+)>
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
74 <!ELEMENT colgroup - O (col*)>
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
75 <!ELEMENT col - O EMPTY>
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
76 <!ELEMENT tr - O (th|td)+>
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
77 <!ELEMENT (th|td) - O %body.content>
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
78
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
79 <!ATTLIST table -- table element --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
80 %attrs; -- id, lang, style, dir and class --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
81 align %Where; #IMPLIED -- table position relative to window --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
82 width CDATA #IMPLIED -- table width relative to window --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
83 cols NUMBER #IMPLIED -- used for immediate display mode --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
84 border CDATA #IMPLIED -- controls frame width around table --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
85 frame %Frame; #IMPLIED -- which parts of table frame to include --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
86 rules %Rules; #IMPLIED -- rulings between rows and cols --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
87 cellspacing CDATA #IMPLIED -- spacing between cells --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
88 cellpadding CDATA #IMPLIED -- spacing within cells --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
89 background %URL #IMPLIED -- background picture --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
90 bgcolor CDATA #IMPLIED -- table background color --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
91 bordercolor CDATA #IMPLIED -- table border color --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
92 bordercolorlight CDATA #IMPLIED -- 3D table border color --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
93 bordercolordark CDATA #IMPLIED -- 3D table border color --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
94 >
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
95
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
96 <!-- ALIGN is used here for compatibility with deployed browsers -->
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
97 <!ENTITY % Caption "(top|bottom)">
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
98
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
99 <!ATTLIST caption -- table caption --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
100 %attrs; -- id, lang, style, dir and class --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
101 align %Caption; #IMPLIED -- relative to table --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
102 >
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
103
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
104 <!--
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
105 COLGROUP groups a set of COL elements. It allows you to group
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
106 several columns together.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
107 -->
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
108
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
109 <!ATTLIST colgroup
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
110 %attrs; -- id, lang, style, dir and class --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
111 span NUMBER 1 -- default number of columns in group --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
112 width CDATA #IMPLIED -- default width for enclosed COLs --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
113 %cell.halign; -- horizontal alignment in cells --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
114 %cell.valign; -- vertical alignment in cells --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
115 >
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
116
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
117 <!--
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
118 COL elements define the alignment properties for cells in a given
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
119 column or spanned columns. The WIDTH attribute specifies the
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
120 width of the columns, e.g.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
121
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
122 width=64 width in screen pixels
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
123 width=0.5* relative width of 0.5
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
124 -->
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
125
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
126 <!ATTLIST col -- column groups and properties --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
127 %attrs; -- id, lang, style, dir and class --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
128 span NUMBER 1 -- number of columns spanned by group --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
129 width CDATA #IMPLIED -- column width specification --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
130 %cell.halign; -- horizontal alignment in cells --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
131 %cell.valign; -- vertical alignment in cells --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
132 >
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
133
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
134 <!--
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
135 Use THEAD to duplicate headers when breaking table
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
136 across page boundaries, or for static headers when
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
137 body sections are rendered in scrolling panel.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
138
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
139 Use TFOOT to duplicate footers when breaking table
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
140 across page boundaries, or for static footers when
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
141 body sections are rendered in scrolling panel.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
142
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
143 Use multiple TBODY sections when rules are needed
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
144 between groups of table rows.
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
145 -->
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
146 <!ATTLIST (thead|tbody|tfoot) -- table section --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
147 %attrs; -- id, lang, style, dir and class --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
148 %cell.halign; -- horizontal alignment in cells --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
149 %cell.valign; -- vertical alignment in cells --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
150 >
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
151
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
152 <!ATTLIST tr -- table row --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
153 %attrs; -- id, lang, style, dir and class --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
154 %cell.halign; -- horizontal alignment in cells --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
155 %cell.valign; -- vertical alignment in cells --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
156 bgcolor CDATA #IMPLIED -- table background color --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
157 bordercolor CDATA #IMPLIED -- table border color --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
158 bordercolorlight CDATA #IMPLIED -- 3D table border color --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
159 bordercolordark CDATA #IMPLIED -- 3D table border color --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
160 >
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
161
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
162 <!ATTLIST (th|td) -- header or data cell --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
163 %attrs; -- id, lang, style, dir and class --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
164 axis CDATA #IMPLIED -- defaults to cell content --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
165 axes CDATA #IMPLIED -- list of axis names --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
166 nowrap (nowrap) #IMPLIED -- suppress word wrap --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
167 rowspan NUMBER 1 -- number of rows spanned by cell --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
168 colspan NUMBER 1 -- number of cols spanned by cell --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
169 %cell.halign; -- horizontal alignment in cells --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
170 %cell.valign; -- vertical alignment in cells --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
171 background CDATA #IMPLIED -- background graphic --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
172 bgcolor CDATA #IMPLIED -- background color for cell --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
173 bordercolor CDATA #IMPLIED -- cell border color --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
174 bordercolorlight CDATA #IMPLIED -- 3D cell border color --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
175 bordercolordark CDATA #IMPLIED -- 3D cell border color --
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
176 height CDATA #IMPLIED
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
177 width CDATA #IMPLIED
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
178 >
e04119814345 Import from CVS: tag r19-15b99
cvs
parents:
diff changeset
179