tl  tr
  Home | Tutorials | Articles | Videos | Products | Tools | Search
Open Source | Tag Cloud | Follow Us | Bookmark | Contact   
 
 HTML > Advanced > Favorite Icon or Add an Icon to URL

Favorite Icon or Add an Icon to URL 

This example shows few possible ways to add favorite icon to web site.

  • Get an icon file preferably 16X16 or 32X32 pixel size (*.icon)
  • Place it in the root directory of your web application and name it favicon.ico
  • Add the following code to the page(s) where you would like to have favorite icon

If you are having access to root directory of your domain then use the following code,

File Name  :  
source/HTML/advanced/favicon1.html 
Author  :  Sudhakar KV
Email  :  kvenkatasudhakar@gmail.com

If favorite icon is placed in sub directory or some web context of your domain then use the following code,

File Name  :  
source/HTML/advanced/favicon2.html 
Author  :  Sudhakar KV
Email  :  kvenkatasudhakar@gmail.com

Other possible alternative is shown below,

File Name  :  
source/HTML/advanced/favicon3.html 
Author  :  Sudhakar KV
Email  :  kvenkatasudhakar@gmail.com


                    Print

   



Books Recommendation

 
 
bl  br