How to Create a favicon (website address bar icon)

What is a favicon?

A favicon is a small image that is displayed in your browser next to the Internet address of your site. You may use to customize the address bar with a personalized picture.

How to create a favicon?

The favicon can be created in a graphics program of your choice such as Paint, Photoshop, Gimp or another. Your image should be in 256 colors and have a size of 32 x 32 or 16 × 16 pixels otherwise the image will not appear. The image should be in gif, or png format.

There are also several web-based tools to generate or import a favicon:

Once created, name your image favicon.ico.

How to publish the favicon?

Send favicon.ico file in the public_html folder of your web hosting account. All modern browsers will normally try to display the icon for your site automatically if it is placed in your main directory. If you prefer to place vorte file in a different folder (eg images), you must add a line of code in your HTML pages, in the "head", as follows:

<link rel="shortcut icon" href="[URL] type="image/x-icon" />

(replace URL with the full address of your icon)

Article ID#: HC6003

Was this answer helpful?