<link>

Description

This element defines the relationship between the current page and external documents. It links external style sheets to the current the document. <link> is usually placed in the <head> section of the page.

Example


<html>//from w ww  .  j a  v a2  s  .  com
<head>
    <link rel="stylesheet" href="myStyleSheet.css" type="text/css">
</head>
<body>
    This text will have the font specified in myStyleSheet
</body>
</html>




















Home »
  HTML CSS »
    HTML CSS Reference »




HTML Tag Reference
CSS Reference
CSS Selector Reference
Encoding Reference