+ 1

I haven't seen anything about putting text on an SVG. Can we do that?

I've created and orange rectangle and now I want to put my contact information inside it. If it can be done using SVG, how?

17th Feb 2021, 1:05 AM
Michael Maxwell
Michael Maxwell - avatar
2 Respuestas
+ 3
you can use <text> element <svg> <text x="0" y="0" fill="green">This is how you do </texts> </svg> x = X-axis position y= Y-axis position fill= text color
17th Feb 2021, 2:18 AM
Sudarshan Rai
Sudarshan Rai - avatar
0
Okay, thank you 👍
17th Feb 2021, 2:20 AM
Michael Maxwell
Michael Maxwell - avatar