HTML <link> Element Reference

The HTML <link> element declares a relationship between the document and an external resource.

<link>

HTML <link> Element Reference

The HTML <link> element declares a relationship between the document and an external resource.

Categories

  • Document metadata

Tag omission

This is a void element and does not have an end tag.

Content model

  • Detailed content-model guidance will be added to this reference.

Attributes

Examples

Example

A practical link element example.

<link rel="stylesheet" href="/styles.css">

Related references

Description

The HTML <link> element declares a relationship between the document and an external resource.

References

  1. HTML Living Standard: Index of elements
  2. MDN: HTML <link> Element

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies