Skip to main content

<link>

Tag &lt;link&gt;

Sets a link to an external file, such as a file with CSS styles, an icon, or a font.

Contains the following attributes:

  • href — external file address
  • rel — defines the relationship between the project and the file
  • sizes — specifies the icon size in case of importing a file with an icon
  • type — MIME data type of the plug-in file
  • media — defines the device for which the styling should be applied
  • as — defines the type of content to be downloaded
  • crossorigin — specifies whether CORS should be used when a file is received or not.