Skip to content

Commit 8e47435

Browse files
committed
Fix closing h2 and invalid tfoot
Closed h2 tag properly. Also, tfoot may only contain 0 or more tr elements, but not free text. Validation errors picked up when viewing source in Firefox. Hope this is ok! :)
1 parent 15c08c2 commit 8e47435

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
<header>
2828
<h1 class="mega-ns">HTML</h1>
29-
<h2 class="Every html element in one place. Just waiting to be styled.">HTML</h1>
29+
<h2 class="Every html element in one place. Just waiting to be styled.">HTML</h2>
3030
</header>
3131

3232

@@ -433,7 +433,9 @@ <h1 class="other-class">Tables</h1>
433433
</tr>
434434
</thead>
435435
<tfoot>
436-
Table footer info
436+
<tr>
437+
<td>Table footer info</td>
438+
</tr>
437439
</tfoot>
438440
<tbody>
439441
<tr>

0 commit comments

Comments
 (0)