title asks everything.
+3
A:
You can put these inside <head>
tag:
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
Make sure that you specify the correct path, usually the root folder.
Sarfraz
2010-05-31 09:15:08
favicon.ico is hardcored or it be imgname.ico??
pamela
2010-05-31 09:24:21
It should be like `favicon.ico`
Sarfraz
2010-05-31 09:29:35
A:
use a fave icon
<head>
<link rel="shortcut icon" href="http://www.your-page-name.com/favicon.ico">
</head>
Preet Sangha
2010-05-31 09:16:09
+3
A:
you just need the favicon.ico in your webroot. the browsers will pick it up automatically.
Using the suggested
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
allows to use differently named icons or different icons for certain pages.
Patrick Cornelissen
2010-05-31 09:16:59
with the html header fields you can select every icon filename you like. favicon.ico in the webroot is just the default.
Patrick Cornelissen
2010-05-31 09:29:47