Resources Menu


Quick Reference Sheets for Webmasters

Quick Reference sheets are packed full of useful information for all webmasters.

HTML Reference Sheet

HTML Tag List


<td>
This element defines a table cell.

Attributes
abbr
Value(s) : abbreviated text
Defines an abbreviated version of the content in the cell.
align
Value(s) : char | center | justify | left | right
This attribute defines the horizontal alignment of the content.
axis
Value(s) : category
Sets a category name for a cell.
char
Value(s) : character
Sets a character to align text on.
charoff
Value(s) : pixel | percent
Defines the alignment offset to the character specified. Requires align="char"
colspan
Value(s) : number
Specifies the number of columns a cell should span.
headers
Value(s) : ID of header cell
This is a list of IDs that provide header information for the cell. This list is space separated and provides useful information to text-only browsers.
rowspan
Value(s) : number
Specifies the number of rows this cell will span.
scope
Value(s) : col | colgroup | row | rowgroup
Defines the scope that will provide header information for the containing cells defined by the value of the scope.
valign
Value(s) : baseline | bottom | middle | top
Defines the vertical alignment of the contents of the cell.
example:
<table border="1">
<tr>
<td colspan="2" valign="baseline">Cell spans two columns</td>
</tr>
<tr>
<td align="center">Centered</td><td>Other Cell</td>
</tr>
</table>