Code  The following shows how to associate an ICO icon with a web page.

<head>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
</head>

Near the top of an HTML document, inside the head tags, place a reference to your favicon.ico file as above. Move your icon file to the same folder as the HTML page.

If this code is used, some browsers will load the icon and display it in the address area immediately. Others browsers will show the icon only upon returning to the page, when the icon is already in the cache of temporary Internet files.

Once a web page is added to the the bookmarks list, an icon may also appear in the bookmarks menu.