Skip to content
Sign upLog in


Profile icon

What do you use a <svg></svg> element in html?

You are viewing a single comment. View All
Profile icon

They are mathematical equations to draw shapes.
Since mathematical equations are independent of screen resolution, they'll look sharp in any aspect ratio.

Pictures are dependent on screen resolution (since they are made up of pixels) so they'll become more blocky the more you zoom in. This is not the case for svg shapes.