<link rel="shortcut icon" href="favicon.ico">

Browser
  • IE
  • Cr
  • Sf
  • Fx
  • O
Type

This LINK element defines a link to the Favicon file.

The LINK element is placed inside the HEAD element.


<link rel="shortcut icon" href="favicon.ico">

Attribute Value Explanation
rel=" " shortcut icon -
href=" " URL the URL of the Favicon file

Extension attribute value. (Non standard attribute value)

Favicon

Example


<html>
<head>
<title>TAG index</title>

<link rel="shortcut icon" href="favicon.ico">

</head>
<body>



</body>
</html>