HTML SVG
HTML SVG defines vector-based graphics in XML format.
HTML <svg> defines vector-based graphics in XML format.
What is SVG?
- SVG stands for Scalable Vector Graphics
- SVG is used to define graphics for the Web
- SVG images can be scaled up or down without losing quality
Drawing a Circle
Here is an example of a simple SVG graphic.
Preview
Drawing a Rectangle
The <rect> element is used to create a rectangle and variations of a rectangle shape.
Preview