DEV Community

Discussion on: 10 useful HTML5 features, you may not be using

Collapse
 
katiekodes profile image
Katie

To me, map is quite a throwback! People used them for fanciful literal "site maps" on their personal home pages.

Collapse
 
atapas profile image
Tapas Adhikary

You are absolutely right! However I was not aware of it until I figured out about it.. Hence the inclusion... 😁

Thanks Katie for reading the article!

Collapse
 
klausbert profile image
Klausbert • Edited

Yes, I had to switch from <map> to <svg> to get the same results in a responsive design.

Collapse
 
froeb profile image
froeb

I agree. Svg is not only providing responsive design, but it is also so much more flexible! Svg is probably still the most underrated feature in web design. The only drawback is that you do not find too many advanced samples in the internet. So, if you like, have a look at my website hegel.net for a sample on how to implement an svg based „imagemap“. Search in the code for the svg tag and within it for the xlink:href code. Enjoy!