w3-video.com logo

HTML5 Tutorial

Home HTML5 XAMPP .htaccess Firefox Notepad++

Share it



rp nested within elements, elements nested within rp

Classified as: -

Parents, rp

Children, rp

Examples: rp parents, rp children

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

<ruby>
...
<rp>...</rp>
...
</ruby>

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

<ruby>
...
<rp><a>...</a></rp>
...
</ruby>

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

<rp>
<section>
...
</section>
</rp>

</body>
</html>

Syntax 1: Valid, rp nested within ruby: allowed
Syntax 2: Valid, a nested within rp: allowed
Syntax 3: Invalid, rp nested within head, body: not allowed; section nested within rp: not allowed

rp intro rp syntax