w3-video.com logo

HTML5 Tutorial

Home HTML5 XAMPP .htaccess Firefox Notepad++

Share it



rt nested within elements, elements nested within rt

Classified as: -

Parents, rt

Children, rt

Examples: rt parents, rt 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>
...
<rt>....</rt>
...
</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>
...
<rt><a>...</a></rt>
...
</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>
<rt>...</rt>
</head>
<body>

<rt>
<section>
...
</section>
</rt>

</body>
</html>

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

rt intro rt syntax