tfoot ... ⁄tfoot syntax
Syntax tfoot
- start tag required: <tfoot>
- end tag optional IF...: <⁄tfoot>
<⁄tfoot> optional IF...:
- tfoot element is immediately followed by a tbody element Syntax 1 OR
- there is no more content after tfoot element inside the parent element, table Syntax 2
Examples tfoot syntax
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | <!doctype html> <> <> <>...</> </> <> <> <>...</> <> ... <> ... </> </> </> </> |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | <!doctype html> <> <> <>...</> </> <> <> <>...</> <> ... </> <> ... </> </> </> |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | <!doctype html> <> <> <>...</> </> <> <> <>...</> <> ... </> <> ... </> </> </> </> |
Video demonstration tfoot element, syntax
HTML5 tfoot element, syntax Tutorial
min | video details |
---|---|
00:05 | video tutorial: tfoot element, syntax |
00:10 | adding tfoot element in page |
00:16 | tfoot element has: - a start tag: <tfoot> - and an end tag: <⁄tfoot> |
00:22 | <⁄tfoot> end tag may be omitted when tfoot element is immediately followed by a tbody element or if there's no more content in the parent element, table |