Tk-ROSyntaxText

 view release on metacpan or  search on metacpan

t/15.volume_HTML.t  view on Meta::CPAN

"../present/graphics.html#background-color">background color</a>)</li>

<li><a href="tables.html#adef-align-TD" class="noxref"><samp class="ainst-TD">
align</samp></a>, <a href="tables.html#adef-char" class="noxref"><samp class= 
"ainst">char</samp></a>, <a href="tables.html#adef-charoff" class="noxref">
<samp class="ainst">charoff</samp></a>, <a href="tables.html#adef-valign"
class="noxref"><samp class="ainst">valign</samp></a> (<a href="#alignment">cell
alignment</a>)</li>
</ul>
</div>

<p>The <a href="tables.html#edef-TR" class="noxref"><samp class="einst">
TR</samp></a> elements acts as a container for a row of table cells. The end
tag may be omitted.</p>

<div class="example">
<p>This sample table contains three rows, each begun by the <a href= 
"tables.html#edef-TR" class="noxref"><samp class="einst">TR</samp></a>
element:</p>

<pre>
&lt;TABLE summary="This table charts the number of cups
                   of coffee consumed by each senator, the type 
                   of coffee (decaf or regular), and whether 
                   taken with sugar."&gt;
&lt;CAPTION&gt;Cups of coffee consumed by each senator&lt;/CAPTION&gt;
&lt;TR&gt; <em>...A header row...</em>
&lt;TR&gt; <em>...First row of data...</em>
&lt;TR&gt; <em>...Second row of data...</em>
<em>...the rest of the table...</em>
&lt;/TABLE&gt;
</pre>
</div>

<h3><a name="h-11.2.6">11.2.6</a> <a name="cells">Table cells:</a> The <a name= 
"edef-TH"><samp class="edef">TH</samp></a> and <a name="edef-TD"><samp class= 
"edef">TD</samp></a> elements</h3>

<div class="dtd-fragment">
<pre class="dtd-fragment">
&lt;!ELEMENT (<a href="tables.html#edef-TH" class="noxref"><samp class=
"einst">TH</samp></a>|<a href="tables.html#edef-TD" class="noxref"><samp class= 
"einst">TD</samp></a>)  - O (<a href=
"../sgml/dtd.html#flow">%flow;</a>)*       -- table header cell, table data cell--&gt;

&lt;!-- Scope is simpler than headers attribute for common tables --&gt;
&lt;!ENTITY % Scope "(row|col|rowgroup|colgroup)"&gt;

&lt;!-- TH is for headers, TD for data, but for cells acting as both use TD --&gt;
&lt;!ATTLIST (TH|TD)                      -- header or data cell --
  <a href=
"../sgml/dtd.html#attrs">%attrs;</a>                              -- <a href= 
"../sgml/dtd.html#coreattrs">%coreattrs</a>, <a href=
"../sgml/dtd.html#i18n">%i18n</a>, <a href=
"../sgml/dtd.html#events">%events</a> --
  <a href="tables.html#adef-abbr" class="noxref"><samp class=
"ainst-TH">abbr</samp></a>        <a href=
"../sgml/dtd.html#Text">%Text;</a>         #IMPLIED  -- abbreviation for header cell --
  <a href="tables.html#adef-axis" class="noxref"><samp class=
"ainst-TH">axis</samp></a>        <a href=
"../types.html#type-cdata">CDATA</a>          #IMPLIED  -- comma-separated list of related headers--
  <a href="tables.html#adef-headers" class="noxref"><samp class=
"ainst-TH">headers</samp></a>     <a href=
"../types.html#type-idrefs">IDREFS</a>         #IMPLIED  -- list of id's for header cells --
  <a href="tables.html#adef-scope" class="noxref"><samp class=
"ainst-TH">scope</samp></a>       <a href=
"../sgml/dtd.html#Scope">%Scope;</a>        #IMPLIED  -- scope covered by header cells --
  <a href="tables.html#adef-rowspan" class="noxref"><samp class=
"ainst-TH">rowspan</samp></a>     <a href=
"../types.html#type-number">NUMBER</a>         1         -- number of rows spanned by cell --
  <a href="tables.html#adef-colspan" class="noxref"><samp class=
"ainst-TH">colspan</samp></a>     <a href=
"../types.html#type-number">NUMBER</a>         1         -- number of cols spanned by cell --
  <a href=
"../sgml/dtd.html#cellhalign">%cellhalign;</a>                         -- horizontal alignment in cells --
  <a href=
"../sgml/dtd.html#cellvalign">%cellvalign;</a>                         -- vertical alignment in cells --
  &gt;
</pre>
</div>

<p><em>Start tag: <strong>required</strong>, End tag: <strong>
optional</strong></em></p>

<div class="adef-list">
<p><em>Attribute definitions</em></p>

<dl>
<dt><a name="adef-headers"><samp class="adef">headers</samp></a> = <a href= 
"../types.html#type-idrefs"><em>idrefs</em></a> <a href= 
"../types.html#case-sensitive">[CS]</a></dt>

<dd>This attribute specifies the list of header cells that provide header
information for the current data cell. The value of this attribute is a
space-separated list of cell names; those cells must be named by setting their
<a href="global.html#adef-id" class="noxref"><samp class="ainst">id</samp></a>
attribute. Authors generally use the <a href="tables.html#adef-headers" class= 
"noxref"><samp class="ainst">headers</samp></a> attribute to help non-visual
user agents render header information about data cells (e.g., header
information is spoken prior to the cell data), but the attribute may also be
used in conjunction with style sheets. See also the <a href= 
"tables.html#adef-scope" class="noxref"><samp class="ainst">scope</samp></a>
attribute.</dd>

<dt><a name="adef-scope"><samp class="adef">scope</samp></a> = <em>
scope-name</em> <a href="../types.html#case-insensitive">[CI]</a></dt>

<dd>This attribute specifies the set of data cells for which the current header
cell provides header information. This attribute may be used in place of the <a
href="tables.html#adef-headers" class="noxref"><samp class="ainst">
headers</samp></a> attribute, particularly for simple tables. When specified,
this attribute must have one of the following values: 

<ul>
<li><strong>row:</strong> The current cell provides header information for the
rest of the row that contains it (see also the section on <a href= 
"#table-directionality">table directionality</a>).</li>

<li><strong>col:</strong> The current cell provides header information for the
rest of the column that contains it.</li>

<li><strong>rowgroup:</strong> The header cell provides header information for
the rest of the <a href="#rowgroups">row group</a> that contains it.</li>

<li><strong>colgroup:</strong> The header cell provides header information for
the rest of the <a href="#colgroups">column group</a> that contains it.</li>
</ul>
</dd>

<dt><a name="adef-abbr"><samp class="adef">abbr</samp></a> = <a href= 
"../types.html#type-text"><em>text</em></a> <a href= 
"../types.html#case-sensitive">[CS]</a></dt>

<dd>This attribute should be used to provide an abbreviated form of the cell's
content, and may be rendered by user agents when appropriate in place of the
cell's content. Abbreviated names should be short since user agents may render
them repeatedly. For instance, speech synthesizers may render the abbreviated
headers relating to a particular cell before rendering that cell's
content.</dd>

<dt><a name="adef-axis"><samp class="adef">axis</samp></a> = <a href= 
"../types.html#type-cdata"><em>cdata</em></a> <a href= 
"../types.html#case-insensitive">[CI]</a></dt>

<dd>This attribute may be used to place a cell into conceptual categories that
can be considered to form axes in an n-dimensional space. User agents may give
users access to these categories (e.g., the user may query the user agent for
all cells that belong to certain categories, the user agent may present a table
in the form of a table of contents, etc.). Please consult the section on <a
href="#multi-dimension">categorizing cells</a> for more information. The value
of this attribute is a comma-separated list of category names.</dd>

<dt><a name="adef-rowspan"><samp class="adef">rowspan</samp></a> = <a href= 
"../types.html#type-number"><em>number</em></a> <a href= 
"../types.html#case-neutral">[CN]</a></dt>

<dd>This attribute specifies the number of rows spanned by the current cell.
The default value of this attribute is one ("1"). The value zero ("0") means
that the cell spans all rows from the current row to the last row of the table
section (<a href="tables.html#edef-THEAD" class="noxref"><samp class=
"einst">THEAD</samp></a>, <a href="tables.html#edef-TBODY" class="noxref"><samp
class="einst">TBODY</samp></a>, or <a href="tables.html#edef-TFOOT" class= 
"noxref"><samp class="einst">TFOOT</samp></a>) in which the cell is
defined.</dd>

<dt><a name="adef-colspan"><samp class="adef">colspan</samp></a> = <a href= 
"../types.html#type-number"><em>number</em></a> <a href= 
"../types.html#case-neutral">[CN]</a></dt>

<dd>This attribute specifies the number of columns spanned by the current cell.
The default value of this attribute is one ("1"). The value zero ("0") means
that the cell spans all columns from the current column to the last column of
the column group (<a href="tables.html#edef-COLGROUP" class="noxref"><samp
class="einst">COLGROUP</samp></a>) in which the cell is defined.</dd>

<dt><a name="adef-nowrap"><samp class="adef">nowrap</samp></a> <a href= 
"../types.html#case-insensitive">[CI]</a></dt>

<dd><a href="../conform.html#deprecated"><strong>Deprecated.</strong></a> When
present, this boolean attribute tells visual user agents to disable automatic
text wrapping for this cell. <a href="../present/styles.html">Style sheets</a>
should be used instead of this attribute to achieve wrapping effects. <strong>
Note.</strong> if used carelessly, this attribute may result in excessively
wide cells.</dd>

<dt><a name="adef-width-TH"><samp class="adef">width</samp></a> = <a href= 
"../types.html#type-length"><em>length</em></a> <a href= 
"../types.html#case-neutral">[CN]</a></dt>

<dd><a href="../conform.html#deprecated"><strong>Deprecated.</strong></a> This
attribute supplies user agents with a recommended cell width.</dd>

<dt><a name="adef-height-TH"><samp class="adef">height</samp></a> = <a href= 
"../types.html#type-length"><em>length</em></a> <a href= 
"../types.html#case-neutral">[CN]</a></dt>

<dd><a href="../conform.html#deprecated"><strong>Deprecated.</strong></a> This
attribute supplies user agents with a recommended cell height.</dd>
</dl>
</div>

<div class="aref-list">



( run in 2.741 seconds using v1.01-cache-2.11-cpan-df04353d9ac )