# Set the coordinates of the area in an image map in HTML?

HTMLWeb DevelopmentFront End Technology

Use the cords attribute in HTML to set the coordinates of the area in an image map in HTML.

## Example

You can try to run the following code to implement the cords attribute −

<!DOCTYPE html>
<html>
<title>HTML coords attribute</title>
<body>
<img src = "/images/html.gif" alt = "HTML Map" border = "0" usemap = "#html"/>
<map name = "html">
alt = "Team" target = "_self" />
</map>
</body>
</html>
Published on 14-Mar-2018 11:57:45