WebsiteGear Logo Log In
New User? Sign Up
About | Contact | FAQ
  Home Content Site Development Website Design Friday, May 09, 2008 
POPULAR ARTICLES
Nav Subdomain Configuration - How To Setup A Sub Domain
Nav Website Layout - Tips & Tricks
Nav Round Robin DNS Load Balancing
Nav Domain Configuration - How To Setup A Domain Name
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 Homeowners Behind on Payments - Mysterious Website Granting Wishes to Those with Foreclosure Trouble
Homeowners who are unable to make their mortgage payments may have their wish granted. If a homeowner is behind on payments, try savehomewish.com.
News Post PR Newswire Summary of Technology Copy, May 9, 2008
Following is a summary of high technology news releases transmitted today by PR Newswire. The full text of these releases is...
News Post Microsoft Named Preferred Technology Partner in 'City of the Future' Project
Songdo, a new Korean city currently under construction, will offer ubiquitous technology for citizens, government, education.
News Post RDM Corporation Announces TSX Acceptance of Normal Course Issuer Bid
Toronto Stock Exchange Symbol: RC
News Post Coming Search Marketing Webcasts From SMN
Our sister site, Search Marketing Now , is offering a nice mix of free webcasts later this month, ranging from dealing with b...
Submit News | View More NewsView more news
RELATED CLASSIFIED ADS
Classified Ad we sell brand new product
Samsung HP-S4253 42"......................$ Samsung HP-S4273 42" ................... ...
Classified Ad Brand NEW in box: IBM Laptop Lenovo ThinkPad R61
City: Seattle State/Province: WAshington Price: $850 Item Description: ACCEPTING TRADES: CANON ...
Classified Ad Brand new Apple Macbook Pro 17/2.4 /2G Intel Core
Brand new Apple Macbook Pro 17/2.4 /2G Intel Core 2 Duo .... $500usd Memory (RAM):2,000 MB Process ...
Classified Ad Need Of Optimization For your Website!!!
Our company http://www.creativ-eras.comCreativ-Era's has been helping http://www.creativ-eras.com/po ...
Classified Ad Get Your website designed for as low as $150
Your website should be as unique as you and your business! We offer a wide range of services to buil ...
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 Website design in VA/DC area
Hello, Can anybody tell me of a good website design and development company in Virginia/DC Metro ...
Forum Post w3c(The world wide web consortium)
I’m a web developer, working in proven digital soft, India. Lot of websites I saw a w3c (The World W ...
Add New Post | View More View more forum posts


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