The "link" Element

Related:

Additional links:

Attributes for "link"
TypeAttribute List
'Standard' Attributes"color", "href", "hreflang", "media", "rel", and "type"
New HTML5 Attributes"crossorigin" and "sizes"
New HTML 5.1 Attributes"as"
Obsolete Attributes"urn", "target", "rev", "methods", and "charset"

Notes

  • The "link" element can be used to link a stylesheet. Example: <link href="/mainstyles.css" type="text/css" rel="stylesheet">

Recommended Links

Accessibility Information & Tips

  • Consider using the "link" element with the "rel" attribute to provide metadata about the position of web pages that are part of collection. For example, specify the URLs to the next, previous, and content pages. Visit http://www.w3.org/TR/WCAG20-TECHS/H59 for more information. Consider also linking to a glossary page if appropriate. Visit http://www.w3.org/TR/WCAG20-TECHS/H60 for more information.

Search Engine Links (for more information)

Help us improve this page: Suggest a link or noteReport a problem