Menu Home

href

osbo.com | SVG | Attributes | href

a

The href SVG attribute specifies the location of the referenced object, expressed as a URL reference.

Syntax

Value

<url>

Default

(none)

Examples

<url>

Internal

download

hreflang

ping

referrerPolicy

rel

target

type

External

World Wide Web Consortium (W3C)

animate

The href SVG attribute specifies a Uniform Resource Locator (URL) reference to the element.

Syntax

Value

<url>

Default

(none)

Examples

<url>

World Wide Web Consortium (W3C)

discard

The href SVG attribute specifies a Uniform Resource Locator (URL) reference to the element.

Syntax

Value

<url>

Default

(none)

Examples

<url>

Internal

begin

External

World Wide Web Consortium (W3C)

feImage

The href SVG attribute specifies a Uniform Resource Locator (URL) reference to the element.

Syntax

Value

<url>

Default

(none)

Examples

<url>

Internal

crossorigin

preserveAspectRatio

External

World Wide Web Consortium (W3C)

image

The href SVG attribute specifies a Uniform Resource Locator (URL) reference to the element.

Syntax

Value

<url>

Default

(none)

Examples

<url>

Internal

crossorigin

height

preserveAspectRatio

width

x

y

External

World Wide Web Consortium (W3C)

linearGradient

The href SVG attribute specifies a Uniform Resource Locator (URL) reference to the element.

Syntax

Value

<url>

Default

(none)

Examples

<url>

Internal

gradientTransform

gradientUnits

spreadMethod

x1

x2

y1

y2

External

World Wide Web Consortium (W3C)

mpath

The href SVG attribute specifies a Uniform Resource Locator (URL) reference to the element.

Syntax

Value

<url>

Default

(none)

Examples

<url>

World Wide Web Consortium (W3C)

pattern

The href SVG attribute specifies a Uniform Resource Locator (URL) reference to the element.

Syntax

Value

<url>

Default

(none)

Examples

<url>

Internal

height

patternContentUnits

patternTransform

patternUnits

viewBox

width

x

y

External

World Wide Web Consortium (W3C)

radialGradient

The href SVG attribute specifies a Uniform Resource Locator (URL) reference to the element.

Syntax

Value

<url>

Default

(none)

Examples

<url>

Internal

cx

cy

fr

fx

fy

gradientTransform

gradientUnits

r

spreadMethod

External

World Wide Web Consortium (W3C)

script

The href SVG attribute specifies a Uniform Resource Locator (URL) reference to the element.

Syntax

Value

<url>

Default

(none)

Examples

<url>

Internal

crossorigin

type

External

World Wide Web Consortium (W3C)

textPath

The href SVG attribute specifies a Uniform Resource Locator (URL) reference to the element.

Syntax

Value

<url>

Default

(none)

Examples

<url>

Internal

lengthAdjust

method

path

side

spacing

startOffset

textLength

External

World Wide Web Consortium (W3C)

use

The href SVG attribute specifies a Uniform Resource Locator (URL) reference to the element.

Syntax

Value

<url>

Default

(none)

Examples

<url>

Internal

height

width

x

y

External

World Wide Web Consortium (W3C)