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..

0 comments:

Post a Comment

About This Blog

This blog is all about Asp.Net , C# , Ajax, Sql Server and other technologies. Please feel free to contact me if you are looking for some solution's or want to share your knowldge with this programming world.

Cheers

  © Blogger template Coozie by Ourblogtemplates.com 2008

Back to TOP