Home >> HTML 5 >> area Tag in HTML 5

area Tag in HTML 5

The <area> tag defines an area inside an image map.

Example

<!Doctype Html>  
<html>     
<head>      
      <title>areaTag</title>
</head>  
<body> 
    <img src="image.jpg" alt="image" usemap="#imagemap" width="500" height="500">
    <map name="imagemap">
        <area shape="rect" coords="44,54,275,370" alt="About Us" href="about.htm">
        <area shape="circle" coords="280,170,335,257" alt="Contact Us" href="contact.htm">
    </map>
</body>  
</html>  

Post Your Comment

Next Questions
article Tag
aside Tag
audio Tag
b Tag
base Tag
basefont Tag
bdo Tag
bdi Tag
bgsound Tag
big Tag
blockquote Tag
body Tag
br Tag
button Tag
canvas Tag
caption Tag
center Tag
cite Tag
code Tag
col Tag
colgroup Tag
data Tag
datalist Tag
dd Tag
del Tag

Copyright ©2022 coderraj.com. All Rights Reserved.