Click to See Complete Forum and Search --> : Website icons in URL bar?
sans-hubris
05-02-2001, 10:55 PM
I've noticed that Konqueror will, for some websites like this one, show a little icon in the URL bar that represents the website. How is this done? I don't ever recall reading about it. Is it something with XML, CSS, ECMAScript, what?
Ben Briggs
05-02-2001, 11:40 PM
You place the icon (16x16) in a directory with your webpages with the name 'favicon.ico'. When the user bookmarks the page, selective browsers will try and download the file icon to associate with the bookmark.
You can change the name and locatation of the icon by placing a line like this:
<link rel="shortcut icon" href="icons/myicon.ico">
in your HTML 'HEAD' tags.
EDIT: Did some research, fixed my mistakes.
[ 02 May 2001: Message edited by: Ben Briggs ]
jemfinch
05-03-2001, 01:26 AM
I believe the website just puts a "/favicon.ico" graphic (in windows icon format, 16x16 pixels) and browsers that support it download it and use it.
Jeremy
Hartmann
05-03-2001, 09:57 AM
yes the icon is in windoze *.ico format and the file needs to be called favicon. :)
Ben Briggs
05-03-2001, 10:43 AM
Originally posted by Hartmann:
<STRONG>yes the icon is in windoze *.ico format and the file needs to be called favicon. :)</STRONG>
It doesn't have to be called 'favicon.ico' if you use the method I described above.