Back to Content

SVGAElement: protocol property

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

latest433 B
Original Source

{{APIRef("SVG")}}

The protocol property of the {{domxref("SVGAElement")}} interface returns a string representing the protocol component, including trailing colon (:), of the referenced URL.

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

Value

A string.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • SVG <a> element