+ 8
Svg
svg images in html5 1-<img src="download.jpg.svg" alt="" height="300" /> i write this code for svg image but its not run? when i write the below code it run. <svg> <img src="download.jpg" alt="" height="300" /> </svg> now IS the second example code is true!
2 Réponses
+ 2
You can insert image in svg using img tag for svg image we have unique tag and that is image tag see the following syntex.
<image xlink:href="imageURL" x="" y="" height="" width=""/>
+ 1
<svg width="300" height="300">
<image href="./download.jpg" height="300" width="300"/>
</svg>