w3-video.com logo

HTML5 Tutorial

Home HTML5 XAMPP .htaccess Firefox Notepad++

Share it



thead ... ⁄thead syntax

Syntax thead

Examples thead 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>

<thead>...
<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
20
21
<!doctype html>
<html>
<head>
<title>...</title>
</head>
<body>

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

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

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

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

<thead>
...
</thead>
...
</table>

</body>
</html>

Video demonstration thead element, syntax

HTML5 thead element, syntax Tutorial

min video details
00:04 video tutorial: thead element, syntax
00:10 adding thead element in page
00:15 thead element has:

- a start tag: <thead>
- and an end tag: <⁄thead>
00:22 <⁄thead> end tag may be omitted if the element is immediately followed by a tbody or a tfoot element, like this:
thead intro thead optional, occurrences thead browser display thead parents - children