Horje

How to add HTML <area> coords x,y,radius Attribute

Specifies the coordinates of the circle center and the radius (shape="circle").

index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<h1>The area coords attribute</h1>

<p>Click on the sun or on one of the planets to watch it closer:</p>

<img src="https://horje.com/avatar.png" width="145" height="126" alt="Planets" usemap="#planetmap">

<map id="planetmap" name="planetmap">
<area shape="rect" coords="x,y,radius" alt="Sun" href="https://horje.com">
</map>

</body>
</html>

Output should be:

How to add HTML <area> coords x,y,radius Attribute




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Tag
Uploaded by:
Admin