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

Yehuda Shiran, Ph.D.
Doc JavaScript

Developer News
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs

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, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Building a Banking Application Home Page with OOP · Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enterprise 2.0: Social Networking in the Cloud · BroadSoft Marketplace Hastens Pace of Telephony Innovation · Review: HTC Hero for Sprint