The HTML
tag is short for table row and used to designate a row of cells in a table and can contain| and | tags. The following sections contain information about the |
tag, including an example of it in use, and related attributes and browser compatibility.Example ofcode#| Month | Savings |
|---|
| March | $200 |
| April | $300 |
| May | $250 |
Example result#
We have added a few of our own classes to the table using CSS; this action allows us to improve its appearance.
More advanced tables may also include the
,,,
,, orelements.- Example of
code- Example result
- Deprecated attributes
- Compatibility
- Related information
Deprecated attributes#
Within an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair; all tags support standard attributes. Every attribute that was unique to the
tag is deprecated. While these attributes may work with the some versions of HTML, they will eventually be phased out. You should use CSS to adjust the dimensions and appearance of this element.Compatibility#
Abbreviations, Browser, Cell, Class, Column, Compatibility, Container tag, Format, Row,
, Web design terms- How to combine or merge cells in an HTML table.
- HTML and web design help and support.