If you have, today you are going to learn how to install an icon picture for your web site, so when users visit your website, you can put your logo. Even better when a visitor bookmarks your url, the browser automatically saves in their favorites to identify your site.
Here is how to do this:
1. If you have windows, open paint. You can find it in:
Start > Programs > Accessories
2. Set the dimensions to 24x24 pixels: in Image > Attributes (Control - E)
3. Set Width to 24 and Height to 24 and Click Ok.
4. To help you create and edit your image better, zoom paint to the highest zoom which is 800%.
To do this, go to View > Zoom > Custom and Select 800%
5. Create your logo or whatever you want your icon to look like:
6. After you have created your image, save as "favicon.ico"
7. Now all you have to do is upload the favicon.ico image to your website root directory. The root directory is the main folder where all your files reside at, like your main index page. Some hosting companies will provide a directory called "html" or "public" or "web" "public_html". You MUST upload to your website root directory, otherwise, your browser will look for the favicon.ico image, will not find it and it will not display it on your browser.
put the following HTML code in between your <head> tags with the follwowing code:
Code:
<link rel="shortcut icon" href="favicon.ico" />
DEMO: http://www.ctechdept.co.in/favicon.ico