Favorites Icon - Creating and Installing a FAVICON.ICO File


This article demonstrates how to create a "Favorites Icon" for your website, which many browsers and operating systems will associate with a bookmark to your site.


1. Create a favicon.ico file

2. Install the favicon.ico file in the root of your domain, (e.g., www.mydomain.com/favicon.ico) or in the same directory as your HTML file.

3. Add the following two lines to the head section of your HTML file.

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