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

Yehuda Shiran, Ph.D.
Doc JavaScript

Developer News
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?

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:

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Rolling Out Your Own HTML Application Version Control · HTML 5: Client-side Storage · Working with Ajax Server Extensions
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Wi-Fi Product Watch, November 2009 · Chip Market Recovering From '08 Collapse · Low-Cost Tools to Kickstart Your New Business