Wednesday, March 7, 2012

What is a favicon and how do make and how to add to web site

Favicon (short for favorites icon ) a small 16 pixel by 16 pixel pictures you see before some URLs in your browser’s address bar.

Create Favicon

1. open your graphics editing software ( eg Photoshop )

2.Create a blank page 16x16 pixel in size. 

3.Create the icon image  you wish.

4.Save the image with 16 colors or 256 colors as a name favicon.ico

5.Upload your new favicon.ico file to the root directory of your site.

 

HTML Code 


<link rel="shortcut icon" href="/favicon.ico" />  Add this code between title
and head  
 
Following example shows complete html code  
 
<html>
<head>
<title>Title of my page</title> 
 <link rel="shortcut icon" href="/favicon.ico" />
 </head>
 <body>
</body>
</html>
 
 
 








1 comment: