Skip to content

Instantly share code, notes, and snippets.


codingwithsara/index.html Secret

Created Sep 21, 2020
What would you like to do?
How to Create Image Map in HTML
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<title>ImageMap Sample</title>
<map name="sample">
<area shape="rect" coords="175, 70, 290, 220" href="picture.html" alt="Picture">
<area shape="circle" coords="100, 214, 30" href="leaf.html" alt="Leaf">
<area shape="poly" coords="50, 340, 75, 354, 75, 385, 50, 400, 25, 385, 25, 354" href="plant.html" alt="Plant">
<img usemap="#sample" src="sample.jpg" alt="Image">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment