favicon
A favicon
is a website and bookmark icon.
It is a little picture that can appear in the web browser in the
bookmarks list, address bar, on the desktop, etc.
To make it, you create a 16x16 .png file and
then convert it to an "icon resource" with
a little program called png2ico.
[Just below is a summary of how to make a favicon.
After the summary are more details]
png format.
using png2ico on your computer:
png2ico program
in the folder with your image.
png2ico here.)
cd to that folder,
and run the png2ico command like this:
png2ico favicon.ico yourfilename.png
favicon.ico
favicon.ico file)
on your website:
[more ]
favicon.ico to your website,
into the web root (the main website folder).
<link rel ... /> lines to your web pages:
[more ]
<link rel="icon" type="image/x-icon"
href="/favicon.ico" />
<link rel="shortcut icon" type="image/x-icon"
href="/favicon.ico" />
[ what is a favicon? | making the favicon | installing the favicon ]
A favicon is a website and bookmark icon. It is a little picture that can appear in the web browser in the bookmarks list, address bar, browser tab, on the desktop, etc. A favicon is a nice and easy way to make your website look special.
Favicon is short for favorites icon
The name comes from the Favorites (bookmarks) list for
Microsoft Internet Explorer.
When you add a site to your Favorites list,
Internet Explorer (version 5 and above) asks the server if it has a file
called favicon.ico.
If it exists, this file will be used to provide an icon that is displayed
next to the bookmark text.
Other browsers (such as Mozilla, Firefox, Opera)
now have support for favicons,
and also display them in the address bar, browser tab, etc.
You create a 16x16 .png file and
then convert it to an "icon resource" with
a little program called png2ico
which you can get here.
Above is a
summary of how to do it.
Below are more details:
--colors 16 switch of png2ico (or even create a black and white
icon with --colors 2). Then the file will be smaller
and load faster.
png format.
png2ico program.
using
png2icoon your computer:
- From a dos prompt,
cdto the folder with the png file, and run thepng2icocommand:
png2ico favicon.ico yourfilename.png
(The "dos prompt" is what you get when you typecommand(win98) orcmd(winxp) in the "Run" box.) If you need help with using dos, try this dos info.)
Remember, png2ico is a command-line application (no gui, no icons, no mouse)! You have to launch it from the command line (dos prompt). You can NOT just double-click it - nothing will happen!- This will make a new file, named
favicon.ico- You can add more images to the same icon resource to provide alternative resolutions, like this:
png2ico favicon.ico yourfilename.png yourfilename2.png
(See the "size" section above for things to think about when making bigger icons.)- Get
png2icohere.
OR
using a cool tool on a website:
- At http://tools.dynamicdrive.com/favicon/
- Upload your gif, jpg, png, or bmp, through the form, and it shows you what the favicon will look like and gives you a link to download it.
There's more information about favicons at the bottom of the page.
favicon.ico file) on your website:
www.example.com/favicon.ico)
so if you put it in the top-level directory, you can have
a default favicon for all the pages on your website.
<link rel ... /> lines to your web pages
<link rel="icon" type="image/x-icon"
href="http://www.yourdomain.tld/favicon.ico" />
<link rel="shortcut icon" type="image/x-icon"
href="http://www.yourdomain.tld/favicon.ico" />
href="/favicon.ico" />
but MSInternet Explorer needs the full url of your
website to display the favicon.
All content not copyright by anyone else is
copyright © 2003–2006 James Walker.
License for use is the GNU Free Documentation License.
Find it:
here in the License directory
or
at the Free Software Foundation,
www.fsf.org