spacer
Yehuda Shiran November 26, 1999
Shortcut Icons
Tips: November 1999

Yehuda Shiran, Ph.D.
Doc JavaScript

Developer News
Google Going Native With Chrome
Mozilla Fixes Firefox Flaws as 3.5 Release Nears
Microsoft and Novell Still Bosom Buddies

Shortcut icons in Internet Explorer 5 are a new feature that you can use to display your logo on the Favorites menu and Address bar. The following screen capture demonstrates:

A Shortcut Icon

The required size of a shortcut icon is 16x16 pixels. To create the icon, use an icon editor, such as the one included in Microsoft Visual Studio or one of the many other icon editors available. The best way to associate an icon with your Web pages is to save it as favicon.ico in your domain's root directory (e.g., www.webreference.com/favicon.ico). Each time your Web page is added to a user's favorites, Internet Explorer automatically searches for this file and places the icon next to all the bookmarks originating from your site.

It is also possible to associate an icon with a specific page. Just put the following code in the HEAD portion of the document:

<LINK REL="SHORTCUT ICON" HREF="http://www.mydomain.com/myicon.ico">

For more information about the shortcut icon, check out Favicon.com, a Web site dedicated to this feature.


People who read this tip also read these tips:

Look for similar tips by subject:

webref The latest from WebReference.com Browse >
XML and PHP Simplified · Creating a ASP.NET Contact Form · Data Filtering with PHP
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Intel to Host Live Nehalem Q&A · 12 Tips to Troubleshoot Network File-Sharing · 10 Tips for Selling on Kijiji