From c49398f8050847066ee073a23a93529f13363ae5 Mon Sep 17 00:00:00 2001
From: Simon Pieters The hreflang
attribute on the
link
element has the same semantics as the hreflang
attribute on a
and
- area
elements.hreflang
attribute on the a
+ element.
The type
attribute gives the MIME
type of the linked resource. It is purely advisory. The value must be a valid MIME
@@ -20376,12 +20376,12 @@ document.body.appendChild(wbr);
being a hyperlink between the two.
The hreflang
attribute on
- a
and area
elements that create hyperlinks, if present, gives the language of the linked resource. It is
- purely advisory. The value must be a valid BCP 47 language tag.
- User agents must not consider this attribute authoritative — upon
- fetching the resource, user agents must use only language information associated with the resource
- to determine its language, not metadata included in the link to the resource.
a
elements that create hyperlinks, if present, gives
+ the language of the linked resource. It is purely advisory. The value must be a valid BCP 47
+ language tag. User agents must not consider this attribute
+ authoritative — upon fetching the resource, user agents must use only language information
+ associated with the resource to determine its language, not metadata included in the link to the
+ resource.
The type
attribute, if present, gives the
MIME type of the linked resource. It is purely advisory. The value must be a
@@ -21550,11 +21550,11 @@ interface HTMLHyperlinkElementUtils {
The first link
, a
, or area
element in the document (in
- tree order) with the alternate
keyword used with the The first
link
or a
element in the document (in tree
+ order) with the alternate
keyword used with the type
attribute set to the value application/rss+xml
or the value application/atom+xml
must
- be treated as the default syndication feed for the purposes of feed autodiscovery.
application/atom+xml
+ must be treated as the default syndication feed for the purposes of feed autodiscovery.
The following link
element gives the syndication
@@ -36646,8 +36646,6 @@ dictionary TrackEventInit : EventInit {
download
ping
rel
hreflang
type
interface HTMLAreaElement : HTMLElement { @@ -36659,7 +36657,6 @@ dictionary TrackEventInit : EventInit { [PutForwards=value] readonly attribute DOMSettableTokenList ping; attribute DOMString rel; readonly attribute DOMTokenList relList; - // hreflang and type are not reflected }; HTMLAreaElement implements HTMLHyperlinkElementUtils;
area
element, as described in the next section, the href
, target
, download
, and ping
- attributes decide how the link is followed. The rel
, hreflang
, and type
- attributes may be used to indicate to the user the likely nature of the target resource before the
+ attributes decide how the link is followed. The rel
+ attribute may be used to indicate to the user the likely nature of the target resource before the
user follows the link.
The target
, download
, ping
,
- rel
, hreflang
, and type
+ and rel
attributes must be omitted if the href
attribute is not
present.
accept
on form
elementsUse the accept
attribute directly on the input
elements instead.
hreflang
on area
+ elementstype
on area
elementsThese attributes do not do anything useful, and for historical reasons there are no
+ corresponding IDL attributes on area
elements. Omit them altogether.
nohref
on area
elementsOmitting the href
attribute is sufficient; the download
;
ping
;
rel
;
- hreflang
;
- type
HTMLAreaElement
hreflang
a
;
- area
;
link
type
a
;
- area
;
link