<svg> tag in HTML5
The <svg> tag defines a container for SVG graphics, it is also use an image format for vector graphics. It literally means Scalable Vector Graphics. Basically, what you work within Adobe Illustrator, you can use SVG on the web pretty easily.
Important Description
- The <svg> tag is new in HTML5.
- It stands for Scalable Vector Graphics.
- The <svg> is used to define graphics for the Web.
- The <svg> is a W3C recommendation.
Example of <svg> tag
Result Look Like
<svg> Tag Browser Support
Element |
Chrome |
Edge |
Firefox |
Safari |
Opera |
<svg> |
Yes |
Yes |
Yes |
Yes |
Yes |
Version |
4.0 |
9.0 |
3.0 |
3.2 |
10.1 |
Global Attributes
Event Attributes