Add table rows using the
tag. The HTMLtag is used to specify a table row in the table. TheHTML
tag also supports the following additional attributes −Attribute | Value | Description |
---|---|---|
Align | right left center justify char |
##Deprecated− Visual alignment . |
rgb(x,x,x) | #hexcodecolorname | Deprecated− Specifies the background color of table cells. |
#Character | Deprecated− Specifies the characters to align text. Used when align = "char". | |
pixels or % | ##has Deprecated | − Specifies the alignment offset (expressed as a pixel or percentage value) aligned with the first character specified by the char attribute. Used when align = "char". |
topmiddlebottombaseline | Deprecated | − Vertical alignment |
HTML tr Tag
Cricketers | Ranking |
---|---|
Virat Kohli | 1 |
AB de Villiers | 2 |
The above is the detailed content of How can we add a table row in HTML?. For more information, please follow other related articles on the PHP Chinese website!