MDN’s new design is in Beta! A sneak peek:

SVGImageElement Redirect 1

SVG image interface

The SVGImageElement interface corresponds to the <image> element.

Interface overview

Also implement SVGElement, SVGURIReference, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable
Methods None
Normative document SVG 1.1 (2nd Edition)


Name Type Description
x SVGAnimatedLength Corresponds to attribute x on the given <image> element.
y SVGAnimatedLength Corresponds to attribute y on the given <image> element.
width SVGAnimatedLength Corresponds to attribute width on the given <image> element.
height SVGAnimatedLength Corresponds to attribute height on the given <image> element.
preserveAspectRatio SVGAnimatedPreserveAspectRatio Corresponds to attribute preserveAspectRatio on the given <image> element.


The SVGImageElement interface do not provide any specific methods.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support ? ? ? ? ?
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support Not supported ? ? ? ?


Document Tags and Contributors

 Last updated by: Sheppy,