w3-video.com logo

HTML5 Tutorial

Home HTML5 XAMPP .htaccess Firefox Notepad++

Share it



map ... ⁄map, optional element, occurrences

map, optional element

The map element is optional. map element can be added once or multiple times in page. Examples

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
15
16
17
18
<!doctype html>
<html>
<head>
<title>...</title>
</head>
<body>

<map>
...
</map>
<article>
<map>
...
</map>
</article>

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

<map name="pirate_map_coords">
...
</map>
<article>
<map name="pirate_map" id="pirate_map">
...
</map>
</article>

</body>
</html>
map intro map browser display map parents - children map transparent content model map syntaxmap name attribute