w3-video.com logo

HTML5 Tutorial

Home HTML5 XAMPP .htaccess Firefox Notepad++

Share it



tfoot ... ⁄tfoot syntax

Syntax tfoot

Examples tfoot syntax

Valid Syntax 1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!doctype html>
<html>
<head>
<title>...</title>
</head>
<body>

<table>
<caption>...</caption>

<tfoot>
...
<tbody>
...
</tbody>
</table>

</body>
</html>
Valid Syntax 2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!doctype html>
<html>
<head>
<title>...</title>
</head>
<body>

<table>
<caption>...</caption>

<tbody>
...
</tbody>
<tfoot>
...
</table>

</body>
</html>
Valid Syntax 3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!doctype html>
<html>
<head>
<title>...</title>
</head>
<body>

<table>
<caption>...</caption>

<tbody>
...
</tbody>
<tfoot>
...
</tfoot>
</table>

</body>
</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
tfoot intro tfoot optional, occurrences tfoot browser display tfoot parents - children