Wednesday, April 15, 2009

Add Favicon to your site (Icon that dispays at the start of the url)

Want to add a beautiful icon at the start point of your URL (Called Favicon). Just add this tag to your master Page in the < head> section and before the < /head> Section :

< link rel="shortcut icon" type="image/x-icon" href="favicon.ico">

and place an icon named favicon.ico on the Root directory.

When you add this site to add to favorites it will display the icon along with url. For doing that just add the following code also:

< a href="javascript:window.external.AddFavorite('http://www.test.com', 'Test Site')">
Click here to add Test Site to your favorites < /a>

it's a cool Feature..

No comments:

Post a Comment