RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: Web
Expertise: Intermediate
Dec 4, 2006

Placing Logos on the Address Bar and Favorites List

Either of these methods help make your Web site stand out in crowded favorites and in browsers.

Your logo should be a ICON file (.ico) of 16 x 16 Pixels.

  1. Save the ICO file with the name favicon.ico in the root directory of the Web site. For example, for www.sms.com, the file should be in www.sms.com/favicon.ico. The Web browser will automatically look for that icon and load it. If it doesn't work, try adding your favorites and then loading from there. This enables the logo for all pages of that site.
  2. Save the ICON with any name anywhere inside the Web site directory. Then use the <LINK> tag to refer to it:
              <Link rel="shortcut icon" href="/images/favicon.ico">
    This method is useful when you want to display logos for different pages in the Web site.

Srinath MS
Close Icon
Thanks for your registration, follow us on our social networks to keep up-to-date