w3-video.com logo

HTML5 Tutorial

Home HTML5 XAMPP .htaccess Firefox Notepad++

Share it



address nested within elements, elements nested within address

Classified as: flow content, palpable content

Parents, address

Children, address

Examples: address parents, address children

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

<address>

<⁄address>

<⁄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>

<footer>
<address>
<img>
...
<⁄address>
<⁄footer>
<⁄body>
<⁄html>
Invalid Syntax 3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!doctype html>
<html>
<head>
<title>...<⁄title>
<address>...<⁄address>
<⁄head>
<body>

<h1>
<address>
<address>
...
<⁄address>
<⁄address>
<⁄h1>
<⁄body>
<⁄html>

Syntax 1: Valid,the address element nested inside the body element: allowed
Syntax 2: Valid, the img element nested inside the address element: allowed ⁄ the address element nested inside the footer element: allowed
Syntax 3: Invalid, the address element nested inside the head, h1 elements: not allowed; the address element nested inside the address element: not allowed

address introaddress browser display address syntax