SVG element reference

SVG drawings and images are created using a wide array of elements which are dedicated to the construction, drawing, and layout of vector images and diagrams. Here you'll find reference documentation for each of the SVG elements.

SVG elements A to Z

A

C

D

E

F

G

I

L

M

P

R

S

T

U

V

Note: The SVG 2 spec requires that any unknown elements be treated as <g> for the purpose of rendering.

SVG elements by category

Animation elements

Basic shapes

Container elements

Descriptive elements

Filter primitive elements

Gradient elements

Graphics elements

Graphics referencing elements

Light source elements

Never-rendered elements

Paint server elements

Renderable elements

<a>, <circle>, <ellipse>, <foreignObject>, <g>, <image>, <line>, <path>, <polygon>, <polyline>, <rect>, <svg>, <switch>, <symbol>, <text>, <textPath>, <tspan>, <use>

Note: The SVG 2 spec requires that any unknown elements be treated as <g> for the purpose of rendering.

Shape elements

Structural elements

Text content elements

Text content child elements

Uncategorized elements

See also