HTML and CSS Reference
In-Depth Information
(X)HTML Element Example
Notes
tbody
<table>
<tbody bgcolor="yellow">
<!-- table body here -->
</tbody>
</table>
Border color attributes
are Internet Explorer-
introduced syntax
td
<table border="1">
<tr>
<td bgcolor="yellow"
bordercolor="blue" bordercolorlight=
"orange" bordercolordark="red"> Cell </td>
</tr>
</table>
Border color attributes
are Internet Explorer-
introduced syntax
th
<table border="1">
<tr>
<th bgcolor="yellow" bordercolor="blue"
bordercolorlight="orange"
bordercolordark="red"> Heading </td>
</tr>
<tr><td> Cell </td></tr>
</table>
Border color attributes
are Internet Explorer-
introduced syntax
tr
<table border="1">
<tr bgcolor="yellow" bordercolor="blue"
bordercolorlight="orange"
bordercolordark="red">
<td> Cell 1 </td><td> Cell 2 </td>
</tr>
</table>
Border color attributes
are Internet Explorer-
introduced syntax
T ABLE C-3 (X)HTML Elements Supporting Color Values (continued)
CSS Color Values
Cascading Style Sheets (CSS) supports the color names and values listed previously, but it
also offers a number of other formats not available in (X)HTML; these are summarized in
Tables C-4 and C-5.
Search WWH ::




Custom Search