The HTML5 tr Tag
When the HTML5 <tr> tag is added to a document, its main function is to define a row which is in the HTML table. Using the HTML5 <tr> tag has to involve one or more <th> or <td> elements.
The HTML5 <tr> tag is easily recognized by the typical web browsers these days such as Google Chrome, Internet Explorer, Firefox, Safari and Opera. It is also compatible with the Events Attributes and Global Attributes in HTML5.
The following attributes which are present in HTML4.01 are no longer accepted in HTML5 when it comes to using HTML5 <tr> tag.
Attribute |
Value |
Description |
align |
right |
This is no longer supported in HTML5 |
char |
character |
This is no longer supported in HTML5 |
charoff |
number |
This is no longer supported in HTML5 |
valign |
top |
This is no longer supported in HTML5 |