
A favicon (short for favorites icon), also known as a website icon, shortcut icon, url icon, or bookmark icon is a 16x16 pixel square icon associated with a particular website or webpage.
Favicon is achieved by adding a link element to the < head > section of the document which specifies the type of the image file and its location.
The following shows the corresponding link tags, using examples, for HTML and XHTML.
HTML:
< link rel="icon" type="image/gif" href="http://example.com/image.gif" >
< link rel="icon" type="image/png" href="http://example.com/image.png" >
Favicon Genreator
http://www.favicongenerator.com/