From 1e0ee7fc1aa490212a8655ceccaf12accb5b9be9 Mon Sep 17 00:00:00 2001
From: Domenic Denicola
The crossorigin
- attribute is a CORS settings attribute. It is intended for use with external resource links.
The types of link indicated (the relationships) are given by the value of the rel
attribute, which, if present, must have a value that is a
unordered set of unique space-separated tokens. The allowed
@@ -13294,6 +13290,8 @@ interface HTMLLinkElement : HTMLElement {
head
element and in the body
of the page, subject to the constraints of
the microdata model.
Two categories of links can be created using the link
element: links to external resources and hyperlinks. The link types section defines
@@ -13326,16 +13324,32 @@ interface HTMLLinkElement : HTMLElement {
information regarding the license under which the current page is provided.
Hyperlinks created with the link
- element and its rel
attribute apply to the whole document.
- This contrasts with the rel
attribute of a
- and area
elements, which indicates the type of a link whose context is given by the
- link's location within the document.
Hyperlinks created with the link
element and its
+ rel
attribute apply to the whole document. This contrasts with
+ the rel
attribute of a
and area
+ elements, which indicates the type of a link whose context is given by the link's location within
+ the document.
Unlike those created by a
and area
elements, hyperlinks created by link
elements are not displayed as
+ part of the document by default, in user agents that support the suggested
+ default rendering. And even if they are force-displayed using CSS, they have no
+ activation behavior. Instead, they primarily provide semantic information which might
+ be used by the page or by other software that consumes the page's contents. Additionally, the user
+ agent can provide
+ its own UI for following such hyperlinks.
The exact behavior for links to external resources depends on the exact relationship, as defined for the relevant link type.
+The crossorigin
+ attribute is a CORS settings attribute. It is intended for use with external resource links.
The media
attribute
says which media the resource applies to. The value must be a valid media query
list.
User agents could also include other information, such as the type of the resource (as given by
the type
attribute).
The activation behavior of link
elements that create hyperlinks is to follow the
- hyperlink created by the link
element.
When an a element that creates a hyperlink, or a button
+
When an a
element that creates a hyperlink, or a button
element, has no textual content but contains one or more images, the alt
attributes must contain text that together convey the purpose of
the link or button.
:visited
All a
elements that have an href
- attribute, all area
elements that have an href
attribute, and all link
elements that have
- an href
attribute, must match one of area
elements that have an href
attribute, must match one of :link
and :visited
.
Other specifications might apply more specific rules regarding how these elements are to @@ -73041,9 +73049,6 @@ END:VCARD
a
elements that have an href
attributelink
elements that have an href
attributebutton
elementsinput
elements whose type
attribute are
@@ -115367,15 +115372,8 @@ marquee {
ins
, and del
elements.
User agents may surface hyperlinks created by link
- elements in their user interface.
While link
elements that create hyperlinks will match the :link
or
- :visited
pseudo-classes,
- will react to clicks if visible, and so forth, this does not extend to any browser interface
- constructs that expose those same links. Activating a link through the browser's interface, rather
- than in the page itself, does not trigger click
events and the
- like.