<table>
<td>cell1</td>
<td>cell2</td>
</table>
I found out that this tags work on ie8, firefox 11 and chrome, but not sure whether this is valid by standards and work on all major browsers.
According to w3c </TD> and </TR> tags are optional, so the following table is perfectly valid.
The <tr> tag is used to define a row in an HTML table.
It's legal for a <tr> element to contain no <td> elements or only empty ones. This indicates an empty row in the table.
All browsers accept "quirks" in HTML layout and will render a "best guess" based on what they find. But in the HTML specifications, a <tr>
tag is DEFINITELY required — regardless of whether it works or not, you should always use valid HTML!
Check early, check often!
http://validator.w3.org/
<tr>
tag is of course required with <table>
, it specifies the begining and ending of the particular row, so it can't be neglected.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With