SVGMPathElement

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2020.

The SVGMPathElement interface corresponds to the <mpath> element.

EventTarget Node Element SVGElement SVGMPathElement

Instance properties

This interface also inherits properties from its parent, SVGElement.

SVGMPathElement.href Read only

An SVGAnimatedString that corresponds to the href or xlink:href Deprecated attribute of the given <mpath> element.

Instance methods

This interface doesn't implement any specific methods, but inherits methods from its parent interface, SVGElement.

Specifications

Specification
SVG Animations Level 2
# InterfaceSVGMPathElement

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
SVGMPathElement
href