3 ms·
HTML syntax is a lot more flexible than a lot of people choose to write it. The following is a valid table in HTML: <table> <caption>Example Table
by err4nt 8y ago
HTML syntax is a lot more flexible than a lot of people choose to write it. The following is a valid table in HTML:
<table>
<caption>Example Table
<thead>
<tr>
<th>Col 1
<th>Col 2
<th>Col 3
<tbody>
<tr>
<td>One
<td>Two
<td>Three
<tfoot>
<tr>
<td>Four
<td>Five
<td>Six
</table>
I'm currently drafting an article of HTML you never need to write, currently I'm covering:
- some start tags are implied and never need to be written unless you're adding attributes
- some end tags are implied and never need to be written
- default attributes never need to be specified
- element values often don't require quoting
- no trailing slashes are required on void tags