Forum Moderators: open
How can I set an icon for pages that I create?
TIA
Welcome to WebmasterWorld [webmasterworld.com]!
First, create an icon [webmasterworld.com]. Then add this code in the <head> section of your page:
<head>
.
. (other stuff)
.
<link rel="shortcut icon" href="images/favicon.ico">
<link rel="icon" type="image/ico" href="images/favicon.ico">
</head>
The first bit is for IE, and the second for Mozilla and other browsers. They can't agree on the tag (sigh).
Jim
Save as favicon.bmp
Upload image to your images/ folder by ftp, then change the icon name to favicon.ico
This is to avoid potential problems with some hosters setups, make sure you upload it in binary mode of course.
To be on the safe side also place a copy in your root directory since IE looks there too sometimes.
then do what jdMorgan said, that's it, your icon will be up and running, at least in Mozilla, thanks for the tip on the two different tags required, that explains a problem I've been having with that, jd.