HTML and CSS Reference
In-Depth Information
attribute is especially useful for nonvisual browsers, which might speak
the contents of a header cell before presenting the associated data cell
Use the scope attribute to associate data cells with a header cell. With a
value of row , all cells in the header's row are associated with the head-
er cell. Specifying col binds all the cells in the current column to the
cell. Using rowgroup or colgroup binds all the cells in the cell's row group
(defined by a <thead>, <tbody> , or <tfoot> tag) or column group (defined
by a <col> or <colgroup> tag) with the header cell. The abbr attribute
The value of this attribute should be an abbreviated description of the
cell's contents. When short on space, browsers might choose to render
the abbreviation instead, or they might use it in nonvisual contexts. The axis attribute
Tables are usually chock-full of data, prompting the reader to ask ques-
tions. A tabular expense report, for example, naturally leads to queries
like "How much did I spend on meals?" or "What did my cab fares total?"
In the future, browsers may support such queries with the help of the
axis attribute.
The value of this attribute is a quote-enclosed list of category names
that might be used to form a query. As a result, if you used axis=meals
on the cells containing meal purchases, the browser could locate those
cells, extract their values, and produce a sum.
10.2.5. The <caption> Tag
A table commonly needs a caption to explain its contents, so the popular
browsers provide a table-caption tag. Authors typically place the <cap-
tion> tag and its contents immediately after the <table> tag, but you can
Search WWH ::

Custom Search