Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

a

Description

The a element for SVG specifies a hyperlink.

Syntax

Attributes

download

Specifies downloading the resource instead of navigating to it.

Value
<string>
Default
(none)

href

Specifies the location of the referenced object, expressed as a URL reference.

Value
<url>
Default
(none)

hreflang

Specifies the language of the linked resource.

Value
<string>
Default
(none)

ping

Specifies space-separated valid non-empty URL tokens.

Value
<tokens>
Default
(none)

referrerPolicy

Specifies a referrer policy string.

Value
"" | no-referrer | no-referrer-when-downgrade | origin | origin-when-cross-origin | same-origin | strict-origin | strict-origin-when-cross-origin | unsafe-url
Default
strict-origin-when-cross-origin

rel

Specifies a space-separated keyword tokens describing the relationship between the location in the document containing the hyperlink and the destination resource.

Value
<tokens>
Default
(none)

target

Specifies the name of the browsing context into which a document is to be opened when the link is activated.

Value
_blank | _parent | _self | _top | <XML-Name>
Default
_self

type

Specifies a Multipurpose Internet Mail Extensions (MIME) type string.

Value
<string>
Default
(none)

Examples

download

<string>

href

<url>

hreflang

<string>

ping

<tokens>

referrerPolicy

""

no-referrer

no-referrer-when-downgrade

origin

origin-when-cross-origin

same-origin

strict-origin

strict-origin-when-cross-origin

unsafe-url

rel

<tokens>

target

_blank

_parent

_self

_top

<XML-Name>

type

<string>

HomeMenu