<link> Element

  • Defines a link to an external document
  • Does not have a closing tag, therefore requires a closing forward slash
  • Generally used to link to style sheets


The rel attribute is used to define the relationship between the document and the target URL, as defined in the href attribute:

<!DOCTYPE html>
		<title>My Document Title</title>
		<link rel="stylesheet" type="text/css" href="style.css" />
		... content goes here ...

Leave a Reply