HTML and CSS Reference
In-Depth Information
the word border without a value results in a 1-pixel border, although this is not valid in
sortable ( sortable="sortable" in XHTML)
WHATWG & HTML5.1 only . When present, it indicates the table's contents may be
sorted by column. It is used in conjunction with the sorted attribute on the th element,
which can be set manually or by the user agent when the user clicks a column.
A simple table with two rows (two tr elements) and three columns (three td elements in each
tr ):
<td>cell 1</td>
<td>cell 2</td>
<td>cell 3</td>
<td>cell 4</td>
<td>cell 5</td>
<td>cell 6</td>
The proper element order in the full table model (for details, see the caption , tbody , thead ,
tfoot , colgroup , and col element entries):
<caption> Employee salaries and start dates </caption>
<colgroup id="employeeinfo" >
<col span="2" >
<col span="1" >
<th>Employee</th><th>Salary</th><th>Start date</th>
Search WWH ::

Custom Search