Home Home -> HTML Reference -> Tag Reference - table

Tag Reference - table

Description

Attributes


align
Sets the alignment of the item.

background
This attribute is the URL to a background image for the page, which is tiled to fill the available space.

bgcolor
Sets the background colour for the page - you are advised to retain a high background to text colour contrast.

border
Sets the width of the border around the object.

bordercolor
Sets the colour of the frame border.

bordercolordark

bordercolorlight

cellpadding

cellspacing

class
The CSS style class to be applied to this tag. This could be used, for example, to create a style for "important" items, using a line in the style sheet as below:

.important { font-color: red }

This can be applied to the tag as follows:

<b class="important">This is important.</b>

cols
The value for this attribute should be a comma-delimited list of sizes for the columns in the frameset. These can be pixel sizes, percentages or "*", which indicates that the frame occupies the remaining space. "*" can also be prefixed by a number, to determine how the remaining space is divided. For example, specifying "*,3*" is the same as "25%, 75%". Using "50%, *, *" would create a frame occupying half of the screen (or parent frame), followed by two 25% width frames.

datapagesize

datasrc
In Internet Explorer 4 and above, this specifies the "id" of the data source object which will supply the data for this tag.

dir
Overrides the direction of the text from the standard direction. "rtl" displays the text from right to left, "ltr" from left to right.

frame

height
Sets the height of the object.

hspace
Specifies the horizontal spacing around the object.

id
A unique alphanumeric identifier used to identify this object/tag. This identifier can be used in scripting languages to refer to the tag or object.

lang
The language of the text enclosed by this tag, as defined in RFC 1766 (eg en-gb for British English).

language
In Microsoft's implementation, sets the language for the scripts defined in the tag's event handlers.

rules

style
Inline style-sheet information.

summary

title
Advisory text for this tag - this could define an abbreviation or acronym, explain where a link goes or provide some other useful description.

vspace
Specifies the vertical space around the object.

width
Sets the width of the object.