HTML and CSS Reference
In-Depth Information
download="
file name
file name
"
WHATWG and HTML5.1 only
. Indicates the link is used for downloading a resource.
The value is the name the resource file should be given on the local file system once it is
downloaded.
href="
URI
URI
"
Specifies the location of the destination document or web resource (such as an image, au-
dio, PDF, or other media file).
hreflang="
language code
language code
"
Specifies the base language of the target document.
media="all|aural|braille|handheld|print|projection|screen|tty|tv"
Not in HTML 4.01
.
HTML5 only
. Describes the media for which the target document
was designed. The default is
all
. This attribute has been removed in HTML5.1 and
WHATWG.
ping="
URLs
URLs
"
WHATWG only
. Specifies a list of URLs that must be contacted when the link is fol-
lowed, and is useful for user tracking.
rel="
link type keyword
link type keyword
"
Describes one or more relationships from the current source document to the linked docu-
ment. The link relationship types specified for
a
are
alternate
,
author
,
bookmark
,
help
,
license
,
next
,
nofollow
,
noreferrer
,
prefetch
,
prev
,
search
, and
tag
.
target="
text
text
"
Specifies the name of the window or
iframe
in which the target document should be dis-
played.