DEV Community

loading...

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

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!