Back to Content

SVGAElement: pathname property

files/en-us/web/api/svgaelement/pathname/index.md

latest444 B
Original Source

{{APIRef("SVG")}}

The pathname property of the {{domxref("SVGAElement")}} interface returns a string containing an initial / followed by the path of the URL, not including the query string or fragment.

This property can be set, to change the URL's pathname.

Value

A string.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • SVG <a> element