href attribute | href property

Gets an xlink:href attribute of an element.

Scalable Vector Graphics: Basic Data Types and Interfaces, Section 4.5.31Internet Explorer 9

 

Syntax

HTML
<element href="p" ... >

 

JavaScript
p = object.href

 

Property values

Type: Object

The value of the xlink:href attribute.

Standards information

See also

SVGAElement
SVGGradientElement
SVGImageElement
SVGLinearGradientElement
SVGPatternElement
SVGRadialGradientElement
SVGScriptElement
SVGTextPathElement
SVGUseElement

 

 

Show: