Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Just curious with your home page url icon 2

Status
Not open for further replies.

redshadow

Programmer
May 24, 2001
70
PH
I am just starting to write some web application but i got curious with how you did include your own icon within the url of your site home page.

 
Hey RedShadow,

This is a fun one. There are 2 methods.

First you can just put an icon in your root directory on your server called favicon.ico this will work whenever someone sets your page as a favorite in IE your icon will be used.

the other way is like this

<HEAD>
<LINK REL=&quot;SHORTCUT ICON&quot;
HREF=&quot;myicon.ico&quot;>
</Head>


This will set the shortcut icon as well as the icon in the address bar to your icon.

Have fun...
 
Alright tlhawkins (what a hard nickname) X-)
The favicon.ico works only with IE5 :-( .. It was just a note
 
its true a fun thing to know. I liked it...very much!
thanks for the tip:)
 
so users of IE4 and below won't be able to see those icon using favicon.ico? I have IE 5.5 installed and we don't have anymore here versions of IE 4 or below. Does the second method mentioned by thawkins works fine with IE 4 or below? Well maybe if it does not work too most users nowadays (just maybe) got IE 5.x installed:cool:
 

Oh yeah versions.

I forgot to mention that. It looks like for now it is just an IE trick and only 5.x and up. But it doesn't break anything on older browsers so the people who can't see it wont know what they're missing :)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top