Javatpoint Logo
Javatpoint Logo

SVG g Element

The SVG <g> element groups SVG shapes together. When the SVG shapes are grouped then you can transform the whole group of shapes. This is the advantage of <g> element over nested <svg> element.

Example

Test it Now
Next TopicSVG defs Element




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


B.Tech / MCA