Changes in HTML 5 - <link/> Tag
What's new in HTML 5
- Many new possible values of the
rel
attribute have been added. - Additional values of the
rel
attribute can be added if they go through a formal approval process. The XFN values have already gone through the process and have been accepted.
In addition, the sizes attribute, used with the rel="icon" relationship, has been added.
Differences between HTML 5 and earlier versions of HTML
The following values of the rel
attribute are no longer valid:
rel="appendix"
rel="chapter"
rel="contents"
(userel="index"
instead)rel="copyright"
rel="glossary"
rel="section"
rel="shortcut icon"
(userel="icon"
instead)rel="start"
(userel="first"
instead)rel="subsection"
In ployglot HTML documents the <link/>
tag is coded as a self-closing tag the same as in the 2000-2010 Recommendations from the W3C HTML Working Group. Those specifications changed the ending delimiter to />
from >
in older recommendations. They also defined the HTML namespace for the link element type name and the names of other HTML element types.