+ 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!

28th Jun 2020, 4:26 PM
Ahmed Mohammed
Ahmed Mohammed - avatar
2 Respuestas
+ 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=""/>
28th Jun 2020, 5:03 PM
Ayush Kumar
Ayush Kumar - avatar
+ 1
<svg width="300" height="300"> <image href="./download.jpg" height="300" width="300"/> </svg>
29th Jun 2020, 6:45 AM
Calviղ
Calviղ - avatar