0
How to insert a text inside a SVG rectangle?
If you know this,Give reply
4 Réponses
+ 2
Using text tag available in svg container ,
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/text
You can also use any other tag in html like p to write text and use absolute positioning to place text inside svg
+ 2
Try to convert img in rectangle don't try to put img in svg rectangle .
+ 1
You can use text tag . And one thing here is no tag in svg which is nested ok . For that you need to define quadinates of that element. For better understanding use svg grid .
https://code.sololearn.com/W7nE10MhWOmk/?ref=app