Menu
Riverview Church

A

The a element defines a hyperlink.

SYNTAX

<a attribute-name="attribute-value"></a>
NAME VALUE INITIAL DESCRIPTION
href URL none The location of the referenced object, expressed as a URL reference.
target _self | _parent | _top | _blank | <XML-Name> _self Specifies the name of the browsing context into which a document is to be opened when the link is activated.
download any value (if non-empty, value represents a suggested file name) none Whether to download the resource instead of navigating to it, and its file name if so.
ping space-separated valid non-empty URL tokens none URLs to ping
rel space-separated keyword tokens none Relationship between the location in the document containing the hyperlink and the destination resource
hreflang A BCP 47 language tag string none Language of the linked resource
type A MIME type string none Hint for the type of the referenced resource
referrerpolicy A referrer policy string none Referrer policy for fetches initiated by the element

EXAMPLES

HREF

TARGET | _SELF

TARGET | _PARENT

TARGET | _TOP

TARGET | _BLANK

TARGET | XML-NAME

DOWNLOAD | EMPTY

DOWNLOAD | NON-EMPTY

PING

REL

HREFLANG

TYPE

REFERRERPOLICY | EMPTY

REFERRERPOLICY | NO-REFERRER

REFERRERPOLICY | NO-REFERRER-WHEN-DOWNGRADE

REFERRERPOLICY | SAME-ORIGIN

REFERRERPOLICY | ORIGIN

REFERRERPOLICY | STRICT-ORIGIN

REFERRERPOLICY | ORIGIN-WHEN-CROSS-ORIGIN

REFERRERPOLICY | STRICT-ORIGIN-WHEN-CROSS-ORIGIN

REFERRERPOLICY | UNSAFE-URL

World Wide Web Consortium (W3C)