Sunday, May 13, 2007

Adding Your Logo to a Bookmark

Ever wonder how you could add your logo or icon to your website's URL so that when people bookmark it, they will see the logo along with the URL itself?

It's actually pretty simple to do this. What you need is a 16x16 icon in 16 colors and make a link to it in your webpage.

Here's the sample code for it:

<HEAD>
<LINK REL="SHORTCUT ICON" HREF="http://www.yoursite.com/favicon.ico">
</HEAD>

http://www.yoursite.com/ is the URL to your website and favicon.ico is the name of your icon. You could, of course, use a different name if you want. But keep in mind that even though this might looks good, it is an Internet Explorer specific feature so it won't work on other browsers (or at least at the time this was written)

No comments: