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

a

Description

The a element for HTML is a hyperlink (hypertext anchor).

Syntax

HTML

<a attribute-name="attribute-value"></a>

Attributes

Global

NameValueDescription
downloadstringdownload the hyperlink destination
hrefURIreference to the hyperlink destination
hreflanglanguage taglanguage of the hyperlink destination
pinglist of URIslist of URLs to notify if a user follows the hyperlink
referrerpolicyempty | no-referrer | no-referrer-when-downgrade | origin | origin-when-cross-origin | same-origin | strict-origin | strict-origin-when-cross-origin | unsafe-urlreferrer policy for fetches initiated by the element
reltokensrelationship between the hyperlink document and the hyperlink destination
targetbrowsing-context name or keywordbrowsing context for the hyperlink destination
typeMIME typetype of the hyperlink destination

CSS

a:link, a:visited
{
    color: (internal value);
    cursor: auto;
    text-decoration: underline;
}
a:link:active, a:visited:active
{
    color: (internal value);
}

Examples

1 · download

2 · href

3 · hreflang

4 · ping

5 · referrerpolicy

6 · rel

7 · target

8 · type

9 · CSS

10 · JS