HTML

(table row) tag. Each table row can contain multiple

The grouped

tag renders as a single row in the table. The content of the

Syntax

HTML

tag tag is used to specify the cells of an HTML table which contain data of the table. The tag must be the child element of
data elements.
elements of a
elements is regular and left-aligned in the table by default.
Display Inline
Start tag/End tag Start and End tag
Usage Table content

Example

Test it Now

Output:

HTML td tag

Attribute:

Tag-specific attributes:

Attribute Value Description
abbr text It defines the abbreviated version of content of the cell. (Not Supported in HTML5)
align left
right
center
justify
char
It specifies the alignment of the content of the cell. (Not Supported in HTML5)
axis category_name It Categorizes Cells. . (Not Supported in HTML5)
bgcolor rgb(x,x,x)
#xxxxxx
Color_name
It sets the background color of the cell. (Not Supported in HTML5)
char character It specifies the alignment of the content of cell to the character. (Not Supported in HTML5)
charoff number It determines the number of characters the content aligned from the character specified by the char attribute. (Not Supported in HTML5)
colspan number It determines the number of columns a cell should span.
headers header_id It determines one or more header cells to which a cell is related.
height %
pixels
It determines the height of a table cell. (Not Supported in HTML5)
nowrap nowrap If it sets then content inside the cell should not wrap. (Not Supported in HTML5)
rowspan number It determines the number of rows a cell should span.
scope col
colgroup
row
rowgroup
It specifies the cells that the header element relates to. (Not Supported in HTML5)
valign top
middle
bottom
baseline
It determines the vertical alignment of the cell content. (Not Supported in HTML5)
width %
pixels
It determines the width of the cell.(Not Supported in HTML5)

Global attribute:

The tag supports the Global attributes in HTML.

Event attribute:

The tag supports the Event attributes in HTML.

Supporting Browsers

Element chrome browser Chrome ie browser IE firefox browser Firefox opera browser Opera safari browser Safari
Yes Yes Yes Yes Yes
Next TopicHTML template Tag




Contact US

Email:[email protected]

HTML td Tag
10/30