Home

Forums

Web development

 

 

 

 
     
 
dna88 Web development and Technology Forum
 
Profile   Register   Memberlist   Usergroups   FAQ   Search  Log in
How to use a favicon for your website and browser?

 
Post new topic   Reply to topic    dna88 Forum Index -> Web scripting language Discussion Forum
Author Message
quantum
Site Admin
Site Admin


Joined: 07 Mar 2004
Posts: 1048
Location: Dhaka, Bangladesh

Post Post subject: How to use a favicon for your website and browser? Reply with quote

Here is s simple tip. Many of you might have seen a favicon for some sites. Those of you who do not know what favicon is, favicon is the little icon image that you see for some websites in the address bar before the url or in the favorites menu. This little icon is called a "favicon", and it works only in Explorer 5 and above. When an Explorer 5 user bookmarks your page, Explorer searches for a special icon with the name "favicon.ico". If it finds one, it replaces the default Microsoft icon with your special little icon next to your name in the favorites menu and in the location bar.

Now how do you create a favicon for your website?
The faviicon you create has to be exactly 16 pixels by 16 pixels and has 16 colors. The favicon has to have a .ico extension. You can take any BMP or a GIF, and convert it using graphics software. A decent converter is available for free at Irfanview. [http://members.home.com/rsimmons/irfanview/english.htm]

When you save the .ico, name it "favicon.ico" and place it in the root directory. Internet explorer will automatically find it out and assign your website the favicon in the favorites menu.

Or you can use any other name. In that case use the following html code in the header section of each page:
Code:

<LINK REL="SHORTCUT ICON" HREF="mypage.ico">

_________________

Dust fills my eyes / Clouds roll by / and I roll with them / Centuries cry / Orders fly / and I fall again
Afford best design, implement best solution. Outsource your web design.
Thu Sep 16, 04 4:27 am
Back to top
quantum View user's profile Send private message Visit poster's website AIM Address
emm
Power User
Power User


Joined: 13 Jul 2004
Posts: 310

Post Post subject: Reply with quote

That is a nice trick. I did not even know what favicon is. Not a bad idea to promote your website's brand name with a custom logo icon.
_________________
“You might say reality is the result of complex negotiations between the observer and the observed. But that is simply a point of view…”
Digital Bangladesh
Thu Sep 16, 04 9:06 am
Back to top
emm View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    dna88 Forum Index -> Web scripting language Discussion Forum All times are GMT - 7 Hours
Page 1 of 1

 

Partners and Resources

Bangladesh hosting company

Bangladesh web design

Driven by phpBB © phpBB Group