diff --git a/source b/source index 268d1a2c887..99ef71660f1 100644 --- a/source +++ b/source @@ -12880,6 +12880,8 @@ interface HTMLLinkElement : HTMLElement { used are allowed according to the definitions in this specification, then the element does not create any links.

+
+

rel's supported tokens are the keywords defined in HTML link types which are allowed on link elements, impact @@ -12901,6 +12903,15 @@ interface HTMLLinkElement : HTMLElement { tokens must only include the tokens from this list that the user agent implements the processing model for.

+

Theoretically a user agent could support the processing model for the canonical keyword — if it were a search engine that executed + JavaScript. But in practice that's quite unlikely. So in most cases, canonical ought not be included in rel's supported + tokens.

+ +
+

A link element must have either a rel attribute or an itemprop attribute, but not both.

@@ -23168,13 +23179,21 @@ interface HTMLHyperlinkElementUtils { - alternate + alternate Hyperlink Hyperlink · Gives alternate representations of the current document. + + canonical + Hyperlink + not allowed + · + Gives the preferred URL for the current document. + + author Hyperlink @@ -23219,7 +23238,7 @@ interface HTMLHyperlinkElementUtils { - icon + icon External Resource not allowed · @@ -23555,6 +23574,17 @@ interface HTMLHyperlinkElementUtils { +
Link type "canonical"
+ +

The canonical keyword may be used with link + element. This keyword creates a hyperlink.

+ +

The canonical keyword indicates that URL given by the href attribute is the preferred URL for the current document. That + helps search engines reduce duplicate content, as described in more detail in The Canonical + Link Relation specification.

+ +
Link type "dns-prefetch"

The dns-prefetch keyword may be used with @@ -119630,6 +119660,9 @@ INSERT INTERFACES HERE

[RFC6350]
vCard Format Specification, S. Perreault. IETF.
+
[RFC6596]
+
The Canonical Link Relation, M. Ohye, J. Kupke. IETF.
+
[RFC7303]
XML Media Types, H. Thompson, C. Lilley. IETF.