![]() |
|
<td Creates a cell in a table. The end-tag is optional. This tag is valid only within a row in a table, that is, you must use a <tr> tag before using <td>. All attributes are optional. Attributesabbr=text An abbreviated form of the cell’s content. May be used by speech browsers. align=center|left|right|justify Specifies the horizontal alignment of text in a cell. The default is center.
axis=name Provides a method of categorizing cells. The attribute's value is a comma-separated list of category names. Specifies a background picture. The picture is tiled behind the text and graphics in the table, table head, or table cell. The background colour. Enter a hexadecimal, a red-green-blue colour value or a predefined colour name. See Using colour. Sets border colour. Must be used with the border attribute of the <table> tag. The colour is a hexadecimal, a red-green-blue colour value or a predefined colour name. See Using colour. Sets independent border colour control over one of the two colours used to draw a 3-D border, opposite of bordercolorlight. Must be used with the border attribute of the <table> tag. The colour is a hexadecimal, a red-green-blue colour value or a predefined colour name. See Using colour. Sets independent border colour control over one of the two colours used to draw a 3-D border, opposite of bordercolordark. Must be used with the border attribute of the <table> tag. The colour is a hexadecimal, a red-green-blue colour value or a predefined colour name. See Using Colour. char=char A single character for the alignment of text in the column. The default value is the decimal point of the current language charoff=n Specifies the offset to the first occurrence of the alignment character. The attribute's value is a number in pixels or a percentage of the cell's width Indicates the class to which the tag belongs. You can use the class attribute in a style sheet to create different styles that you want apply to a single HTML tag. For example, you might create three different styles for a <td> tag. See Using the class attribute as a selector for more details. Extends the content of a cell into cells of the adjoining columns. The number of columns that are overlapped is indicated by n. dir=ltr|rtr Specifies the direction of text. This can be left-to-right (ltr) or right-to-left (rtl). For example, English characters are presented left-to-right, Hebrew characters are presented right-to-left. Specifies the height of the table cell. Specifies a unique name for the tag. No two tags can have the same id on a single page. The value must begin with a letter followed by any alphanumeric character, a hyphen, an underscore, a colon or a full stop. You use it to reference a unique style for a tag or to manipulate the tag with a script. lang=language Specifies which language the <td> tag uses. You can enter any valid ISO standard language abbreviation, for example, “en” for English, “de” for German and so on. For example, <span lang="es">hola! como esta?</span>. This attribute helps search engines understand different languages as different languages rather than just misspelled English. It may also help spelling and grammar checkers and allow speech synthesizers to use language-dependent pronunciation rules. Prevents table columns from wrapping if they extend beyond the page. Extends the content of a cell into cells in the adjoining rows. The number of rows that are overlapped is indicated by n. Specifies style information. See Style sheets for more information. title=text For information only. Some browsers display the title when you move the mouse over the tag (like a tool tip). valign=middle|top|bottom|baseline Specifies the vertical alignment of text in the cell. The default is middle.
Specifies the width of the table cell. |
More information |