![]() |
The idea behind an image map is that you should be able to perform different actions depending on where in the image you click. To create an image map you need an image, and some HTML code that describes the clickable areas. |
Example:
HTML
<img src="workplace.jpg" alt="Workplace" usemap="#workmap">
<map name="workmap">
Example:
HTML
<!DOCTYPE html>
<html>
<body>
<h2>Image Maps</h2>
<p>Click on the computer to go to a new page and read more about the topic:</p>
<img src="https://www.w3schools.com/html/workplace.jpg" alt="Workplace" usemap="#workmap" width="400" height="379">
<map name="workmap">
<area shape="rect" coords="34,44,270,350" alt="Computer" href="computer.htm">
</map>
</body>
</html>
What is HTML Image Maps | HTML Image Maps |
How Does it HTML Image Maps? | HTML Image Maps |
How to create HTML Image Map | HTML Image Maps |
How to create HTML Image Imap Shape="circle" | HTML Image Maps |
How to create HTML Image Map Shape="poly" | HTML Image Maps |
How to create HTML Image Map and JavaScript | HTML Image Maps |
The Image | HTML Image Maps |
Create Image Map | HTML Image Maps |
The Areas | HTML Image Maps |
Shape="rect" | HTML Image Maps |
Read Full: | HTML Image Maps |
Category: | Web Tutorial |
Sub Category: | HTML Image Maps |
Uploaded: | 1 year ago |
Uploaded by: | Admin |
Views: | 68 |
Reffered: https://www.w3schools.com/html/html_images_imagemap.asp