w3-video.com logo

HTML5 Tutorial

Home HTML5 XAMPP .htaccess Firefox Notepad++

Share it



ins nested within elements, elements nested within ins

Classified as: flow content, phrasing content, palpable content

Parents, ins

Children, ins

Examples: ins parents, ins children

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

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

<p>
...
<ins>... </ins>
</p>

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

<ul>
<ins><li>...<li> </ins>
</ul>

</body>
</html>

Syntax 1: Valid, ins elements absent; optional element;
Syntax 2: Valid, ins nested within p: allowed;
Syntax 3: Invalid, ins element nested within head, ul: not allowed; li elements nested within ins: not allowed

ins intro ins browser display ins transparent content model ins syntax ins, del, cite attribute ins, del, datetime attribute