Table definition  - <TABLE>   -  </TABLE>

Previous- SUP - Superscript  |  Next-TBODY - Table Body

Description
The opening tag of a table definition used with TR and TD plus many other tags concerned with table formatting and content.
Attributes
NameValuesDescription
aligncenter|left|rightAlignment
backgroundurlBackground picture which will appear behind all images and text on the web page.
bgcolorcolorBackground Colour, using syntax "#rrggbb".
bordernumber
bordercolorcolor
bordercolordarkcolor
bordercolorlightcolor
cellpaddingnumber
cellspacingnumber
classclassnameClass of the element which is used to associate the element with a style sheet.
clearall|left|right|noneUsed with the BR element, this attribute allows control of text wrapping around an image.
datapagesizenumber
datasrcid
dirltr|rtlThe direction in which text flows when surrounded by text which flows in different directions.
event_namescript_codeDefines script to run on event such as OnMouseOver
frameabove|below|border|box|hsides|lhs|rhs|void|vsides
heightnumberHeight
hspacenumber
idstringA unique name to identify an element.
langlanguage_typeThe ISO description for the language of the element.
languagejavascript|jscript|vbscript|vbs
nowrap
rulesall|cols|groups|none|rowsSpecifies which inner borders of a table are visible.
stylestringSpecifies style information for the element.
summarystringSummarises table's purpose in preparation for speech and other non-displayed results
titlestringTitle for element which is often displayed as a tool-tip when the cursor hovers over the element.
valignbottom|topVertical alignment
vspacenumber
widthnumberWidth

Example
<table border="1">
<thead><th>header</th></thead>
<tbody>
    <tr>
        <td colspan="2">this is a double width cell</td>
    </tr>
    <tr>
        <td>this is the first cell</td>
        <td>this is the second cell</td>
    </tr>
</tbody>
<tfoot>the is the tfoot area</tfoot>
</table>
Will be displayed as :
the is the tfoot area
header
this is a double width cell
this is the first cell this is the second cell

Compatability
HTMLNETSCAPEINTERNET EXPLORER
4.1N2N3N4N6IE3IE4IE5IE6
YES YES YES YES YES YES YES YES YES

Previous- SUP - Superscript  |  Next-TBODY - Table Body