GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • MDN
  • HTML: Markup language
  • Elements
  • Global attributes
  • Attributes
  • See all…
  • Responsive images
  • HTML cheatsheet
  • Date & time formats
  • See all…
  • SVG
  • MathML
  • XML
  • CSS: Styling language

This view

  • Original page
  • New address

GeezerVison is showing developer.mozilla.org — SVG API - Web APIs | MDN

SVG API

SVG provides elements for circles, rectangles, and simple and complex curves. The elements' attribute values specify how these must be drawn. The SVG API is the subset of the DOM connecting these SVG elements and their attribute values to scripts or programming languages by representing them in memory. The SVG API thus provides methods that allow programmatic access to the SVG elements and their attribute values.

The SVG API is a set of interfaces that have been categorized into the following broad categories:

  1. The element interfaces provide access to the properties of SVG elements and methods to manipulate them.
  2. The static data type interfaces provide access to element attribute values and methods to manipulate them.
  3. For attributes that can be animated, the animated data type interfaces provide read-only access to the current animated value of an attribute.
  4. The Synchronized Multimedia Integration Language (SMIL) interfaces
  5. Others

Interfaces

SVG element interfaces

  • SVGAElement
  • SVGAnimationElement
  • SVGAnimateElement
  • SVGAnimateMotionElement
  • SVGAnimateTransformElement
  • SVGCircleElement
  • SVGClipPathElement
  • SVGComponentTransferFunctionElement
  • SVGDefsElement
  • SVGDescElement
  • SVGDiscardElement
  • SVGElement
  • SVGEllipseElement
  • SVGFEBlendElement
  • SVGFEColorMatrixElement
  • SVGFEComponentTransferElement
  • SVGFECompositeElement
  • SVGFEConvolveMatrixElement
  • SVGFEDiffuseLightingElement
  • SVGFEDisplacementMapElement
  • SVGFEDistantLightElement
  • SVGFEDropShadowElement
  • SVGFEFloodElement
  • SVGFEFuncAElement
  • SVGFEFuncBElement
  • SVGFEFuncGElement
  • SVGFEFuncRElement
  • SVGFEGaussianBlurElement
  • SVGFEImageElement
  • SVGFEMergeElement
  • SVGFEMergeNodeElement
  • SVGFEMorphologyElement
  • SVGFEOffsetElement
  • SVGFEPointLightElement
  • SVGFESpecularLightingElement
  • SVGFESpotLightElement
  • SVGFETileElement
  • SVGFETurbulenceElement
  • SVGFilterElement
  • SVGForeignObjectElement
  • SVGGElement
  • SVGGeometryElement
  • SVGGradientElement
  • SVGGraphicsElement
  • SVGImageElement
  • SVGLinearGradientElement
  • SVGLineElement
  • SVGMarkerElement
  • SVGMaskElement
  • SVGMetadataElement
  • SVGMPathElement
  • SVGPathElement
  • SVGPatternElement
  • SVGPolylineElement
  • SVGPolygonElement
  • SVGRadialGradientElement
  • SVGRectElement
  • SVGScriptElement
  • SVGSetElement
  • SVGStopElement
  • SVGStyleElement
  • SVGSVGElement
  • SVGSwitchElement
  • SVGSymbolElement
  • SVGTextContentElement
  • SVGTextElement
  • SVGTextPathElement
  • SVGTextPositioningElement
  • SVGTitleElement
  • SVGTSpanElement
  • SVGUseElement
  • SVGViewElement

SVG data type interfaces

Here are the DOM APIs for data types used in the definitions of SVG properties and attributes.

Static type

  • SVGAngle
  • SVGLength
  • SVGLengthList
  • SVGNumber
  • SVGNumberList
  • SVGPreserveAspectRatio
  • SVGStringList
  • SVGTransform
  • SVGTransformList

Animated type

  • SVGAnimatedAngle
  • SVGAnimatedBoolean
  • SVGAnimatedEnumeration
  • SVGAnimatedInteger
  • SVGAnimatedLength
  • SVGAnimatedLengthList
  • SVGAnimatedNumber
  • SVGAnimatedNumberList
  • SVGAnimatedPreserveAspectRatio
  • SVGAnimatedRect
  • SVGAnimatedString
  • SVGAnimatedTransformList

SMIL-related interfaces

  • TimeEvent

Other SVG interfaces

  • ShadowAnimation
  • SVGUnitTypes
  • SVGUseElementShadowRoot

Specifications

Specification
Scalable Vector Graphics (SVG) 2

See also

  • Getting Started with SVG

Help improve MDN

Learn how to contribute

This page was last modified on Sep 2, 2026 by MDN contributors.

View this page on GitHub • Report a problem with this content
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.