fix(elements.html): make table HTML5-compliant

In HTML5 tfoot elements must be placed after tbody.
This commit is contained in:
Tiago Filipe Silva 2020-05-30 02:33:23 +01:00 committed by Vincent Dörig
parent 5a5fe7079f
commit 1e93f98958

View File

@ -163,15 +163,6 @@
<th>Table Heading 5</th>
</tr>
</thead>
<tfoot>
<tr>
<th>Table Footer 1</th>
<th>Table Footer 2</th>
<th>Table Footer 3</th>
<th>Table Footer 4</th>
<th>Table Footer 5</th>
</tr>
</tfoot>
<tbody>
<tr>
<td>Table Cell 1</td>
@ -202,6 +193,15 @@
<td>Table Cell 5</td>
</tr>
</tbody>
<tfoot>
<tr>
<th>Table Footer 1</th>
<th>Table Footer 2</th>
<th>Table Footer 3</th>
<th>Table Footer 4</th>
<th>Table Footer 5</th>
</tr>
</tfoot>
</table>
<footer>
<p><a href="#top">[Top]</a></p>