Write a HTML code to create image map | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Write a HTML code to create image map

I want the program for the practical with the output

16th Nov 2019, 2:43 PM
Smriti
8 Answers
+ 3
Go to google maps and add via the <iframe> tag
16th Nov 2019, 5:00 PM
Anna/Аня
Anna/Аня - avatar
+ 2
Show us your attempt first please.
16th Nov 2019, 2:46 PM
Xyenia 🦉
Xyenia 🦉 - avatar
+ 2
Xyenia 🦉 I'm serious. The iframe tag is supported, but the frame tag is deprecated. I connect all the cards through the API, but a newbie is better through an iframe.
16th Nov 2019, 7:32 PM
Anna/Аня
Anna/Аня - avatar
+ 1
Ok Anna/Аня , but he is not looking to connect a map or google map to his code. He wants to do an imagemap. A HTML imagemap where you turn any picture into a clickable map to load pages or do whatever. https://www.w3schools.com/html/html_images_imagemap.asp Nothing to do with iframes.
16th Nov 2019, 11:35 PM
Xyenia 🦉
Xyenia 🦉 - avatar
+ 1
Xyenia 🦉 You are right, I thought that the image-card will lie under the interactive map.
17th Nov 2019, 6:01 AM
Anna/Аня
Anna/Аня - avatar
+ 1
You need to use the usemap attribute for the img tag. Then add the map tag and then add the area tag in which there will be coordinates.
17th Nov 2019, 6:01 AM
Anna/Аня
Anna/Аня - avatar
0
Anna/Аня I cant tell if you are being serious or funny! 😂
16th Nov 2019, 7:23 PM
Xyenia 🦉
Xyenia 🦉 - avatar
17th Nov 2019, 5:27 PM
Abdul Wahab Chattha
Abdul Wahab Chattha - avatar