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.