All you need to know about SVG on the web

On this page, we look at how to make text in SVG, as well as how you can use CSS styles inline. We also take a look at what's coming up with SVG 2.0.

We'll start with making text, which is easy in SVG. You use the <text> tag to define it. Here is an example:

Thank you for reading 5 articles this month* Join now for unlimited access

Enjoy your first month for just £1 / $1 / €1

*Read 5 free articles per month without a subscription

Join now for unlimited access

Try first month for just £1 / $1 / €1

Richard Mattka

Richard is an award-winning interactive technologist, designer and developer. He specialises in creating interactive worlds with science-fiction themes, exploring the synergy between human and machine. He has also written regular articles for Net Magazine, and Web Designer Magazine on a range of exciting topics across the world of tech, including artificial intelligence, VFX, 3D and more. 

Latest in Graphic Design
Monotype quiz
What's your type? Take this font quiz to find your soulmate
I Saw the TV Glow poster
I Saw the TV Glow poster is a stylish twist on classic horror
Animal Farm book cover by Karolis Strautniekas
Animal Farm book cover has a creepy hidden detail
Microsoft To Do
People have some Very Strong Opinions on the Microsoft To Do icons
Between the Lines
"It's not enough to be a good writer”: Zosia Swidlicka on the importance of brand language in copywriting
3D World 310
Download files for 3D World 310
Latest in Features
A group of people taking a selfie using the iPhone 16e.
7 reasons the iPhone 16e is a huge improvement on the iPhone SE 3
How we made Ada; A digitally animated scene depicts two women in a grand, antique-style library, with one pointing.
How we made the "lush, handmade look" of animated series Ada
Making Paddington in Peru&#039;s character animation; a small bear in a red had sat in a jungle
Paddington in Peru's animation works because of one small detail
Avowed key art; a skull with plants and coral growing from it
Dissecting Avowed's beautifully abstract artwork, and how it was made
Clair Obscur Expedition 33 art influences; watery scenes from a fantasy video game, showing colourful coral and mines and creatures
Clair Obscur: Expedition 33's art director jokes how he wanted to make a 'realistic version of SpongeBob'
Clair Obscur Expedition 33; fantasy characters float in a dark sky, a god-like creature is seen in the distance amidst lighting and flames
Using Unreal Engine 5 “can be a trap”, says the dev behind Clair Obscur: Expedition 33