Answer the question
In order to leave comments, you need to log in
How to add SVG to HTML?
I have such figure in SVG - codepen
How to add it to HTML? I tried to create a name.svg file and add this code there and then connect via img, but it doesn't work. If I just add this code to HTML - everything is fine.
Answer the question
In order to leave comments, you need to log in
xmlns="http://www.w3.org/2000/svg"
Add the and
attributes to the svg element xmlns:xlink="http://www.w3.org/1999/xlink"
.
Maybe your picture drawn into a vector editor and exported from there to svg
https://psv4.userapi.com/c848432/u210943549/docs/d...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question