|
|
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. |
<img src="workplace.jpg" alt="Workplace" usemap="#workmap"><map name="workmap">
<!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>
Category: | Web Tutorial |
Sub Category: | HTML Image Maps |
Uploaded by: | Admin |
Read Articlehttps://develop.horje.com/learn/1434/reference