w3-video.com logo

HTML5 Tutorial

Home HTML5 XAMPP .htaccess Firefox Notepad++

Share it



meter nested within elements, elements nested within meter

Classified as: flow content, phrasing content, labelable, palpable content

Parents, meter

Children, meter

Examples: meter parents, meter children

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

<meter>

</meter>

</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
22
23
24
25
26
27
<!doctype html>
<html>
<head>
<title>...</title>
</head>
<body>

<p>
<meter>
simple text
<img>
<a>...</a>
</meter>
</p>

<ol>
<li>...<li>
<li><meter>...</meter><li>
</ol>

<figure>
<figcaption>...</figcaption>
<meter>...</meter>
</figure>

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

<meter>
<section>
...
</section>
<meter>...</meter>
</meter>
</body>
</html>



Syntax 1: Valid, meter nested within body: allowed
Syntax 2: Valid, phrasing elements (img, a) and simple text, nested within meter: allowed; meter nested within p, li, figure: allowed;
Syntax 3: Invalid, meter nested within head, meter: not allowed; section nested within meter: not allowed

meter intro meter browser display meter fallback contentmeter: segments, values, colors, attributes meter syntaxmeter low, high attributesmeter min, max attributesmeter optimum attributemeter value attributemeter title attribute