WebsiteGear Logo Log In
New User? Sign Up
About | Contact | FAQ
  Home Content Site Development Website Design Tuesday, February 09, 2010 
POPULAR ARTICLES
Nav Subdomain Configuration - How To Setup A Sub Domain
Nav Website Layout - Tips & Tricks
Nav Domain Configuration - How To Setup A Domain Name
Nav Round Robin DNS Load Balancing
Nav Introduction To Server Load Balancing
Nav Server Load Balancing Methods
Nav Tips On Using SubDomain
Nav Breadcrumb Navigation
FEATURED NEWS | POPULAR NEWS
View More News View More News
SPONSORED LINKS
Print| Email| Save| Discuss| Feeds


Favicon - Branding A Favorites Link
Published: Monday, February 23, 2004


What is a favicon?
Favicon (also known as a shortcut icon or favorites icon) is a small Windows icon image file that is displayed next to a website shortcut or next to the website address in Internet Explorer 5 or later, Netscape 7 or later and Opera 7 or later versions. Favicon allows a website shortcut stored in favorites menu or links menu to standout from the rest of the websites on a user's computer by showing a logo next to the link.



How to create a favicon?
A favicon can be created from an existing image or it can be created from scratch using an icon editor. The image size of the favicon has to be exactly 16x16 pixels. The name of the image file has to end with .ico extension. The default name of the icon file is favicon.ico, however, the file can be named anything else as well.

Renaming an existing image file (.jpg or .gif) to favicon.ico will not serve as a windows icon file. The icon file has to be created using an icon editor or similar tool. However, an existing image file can be used as a starting point for creating the icon image. Among the few free icon editors available, PixelToolbox from AxiomX is one of the best. Start with a windows icon image of 16x16 pixel size. The tool editor has a lot of formatting choices. It can also import an existing image of bmp, jpg, png, tga or tif formats. The output is a windows icon with an extension of .ico.

Associate a favicon to a webpage
After creating the icon, you must associate it with your Web page. One way is to save the icon with the default file name of favicon.ico in the root directory of your domain — for example, http://www.websitegear.com/favicon.ico. Each time your web page is added to a user's favorites, the browser automatically searches for this file and places the icon next to all the favorites and quick links originating from your site.

If you choose to name the icon file other than the default or have multiple icons for different portions of your website, you can also associate the icon with your Web page by saving the icon with a file name other than favicon.ico and adding a line of HTML code in the head section of your Web document. The line of code includes a link tag that specifies the location and name of the file. You can include this link tag on a per-page basis.

<head>
<link rel="shortcut icon"
href="http://www.domain.com/iconfile.ico">
</head>


Add a favorites link to a webpage
The favicon appears on a user's browser when the user adds the page to the favorites list, adds the page to the links list, or even drags the icon in the address bar of Internet Explorer outside and releases it. In all these events, the browser displays the favicon if one is available instead of the default IE icon.

You can display a link on your web page to allow the user to add it to the favorites menu by clicking on the link. Use the code below.

<script language="JavaScript" type="text/javascript">
function addBookmark()
{
if (document.all) {
window.external.AddFavorite(location.href, document.title);
}else if (window.sidebar){
window.sidebar.addPanel(document.title, location.href, "");}
}
</script>
<a href="JavaScript:addBookmark();"
onclick="addBookmark();">Add to your favorites</a>

Print| Email| Save| Discuss| Feeds
RELATED ARTICLES
Nav Website Navigation Tips
An effective website navigation is very important for your website. Learn tips and tricks.
Nav Server Side Includes - Centralize Common Content
Use server side includes to centralize the common web site content.
Nav Planning For Your Website
Before you start building your website, planning for it is very essential. This articles discusses the two basic planning criteria - choosing the website topic and researching the competition.
Nav How To Sell A Website
If you have an existing website or domain name you no longer need and wish to sell, this article will explain the steps you need to take to ensure a quick, easy, profitable sale.
Nav Researching A Website
Profiling a website is required for competitive analysis, partnership prospects or simply knowing about its business. This article specifies some of the easiest and inexpensive techniques.
RELATED NEWS
News Post IceWEB Receives Contract for 100TB Platform for Geospatial Image Management
IceWEB Begins Shipment of 2TB Drives - Doubling Storage Density
News Post Research by Wunderman Finds Link Between Brand Building and Search Engine Use By Consumers
NEW YORK, Feb. 9 /PRNewswire/ -- Initial research conducted by Wunderman, BrandAsset® Consulting, ZAAZ and Compete has found...
News Post The Rise of the Author-preneur: Entrepreneur Press Introduces a New Possibility in Publishing for Entrepreneurs Seeking to Build Their Brand and Their Business
IRVINE, Calif., Feb. 9 /PRNewswire/ -- A positioning strategy behind the world's most successful entrepreneurs, includin...
News Post China Gerui Advanced Materials Group Limited Launches New Website for Investor Relations
China Gerui Advanced Materials Group Limited , a leading niche and high value-added steel processing company that utilizes ad...
News Post Kona Coffee Farm Athena Of Hawai’i Launches Caffeinated, Improved & Optimized Website Using Seo Samba
This year the ATHENA of HAWAI’I coffee farm celebrates not only a good harvest of their world renowned 100% Kona Coffee from...
Submit News | View More NewsView more news
RELATED CLASSIFIED ADS
Classified Ad Training on IBM Mainframe technology
FEATURES: 1. State of art lab infrastructure 2. 24x7 lab accesses 3. Live mainframe environment o ...
Classified Ad Brand new Dell Inspiron 15 for sale, EMI available
Introducing the new Inspiron 15inch laptop that gives everyday features you need including Wi-Fi and ...
Classified Ad Website Maintenance Bangalore & Website Design
DreaMarT Interactive based at Bangalore - India specializes in Corporate Website Design , SEO , Webs ...
Classified Ad Create Own Website!
Hello, I have discovered a software that allows you to built your own website without having to ...
Classified Ad Adult Website Help...
I am currently looking for someone to help me build/mantain an adult website could be one site or m ...
Post Free Ad | View More View more classifieds
RELATED FORUM POSTS
Forum Post Website Development-Website Design
I want to start website development & website design company in banglore. Any one tell me what I nee ...
Forum Post How do I promote my website?
hi, Please tell me or guide me how to promote my website in different classifieds? How do I make ...
Forum Post what website/software would be best for me?
Hello, my name is Kevin and I'm really new to website building. I have an idea that I want to creat ...
Forum Post How to find out what code is used in website?
Hi, How to find out what code (eg:.net/java/ etc..) used in a website... ...
Forum Post Website design in VA/DC area
Hello, Can anybody tell me of a good website design and development company in Virginia/DC Metro ...
Add New Post | View More View more forum posts


Copyright © 2003-2010 WebsiteGear Inc. All rights reserved.
About | Advertise | Submit Content | Privacy | Agreement | Contact