|
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,
If favorite icon is placed in sub directory or
some web context of your domain then use the following code,
Other possible alternative is shown below,
|
|