The "link rel" line of code can be before or after the <title> tags, but it must be in the <head> section. So open your favorite HTML editor and add that code.
You can save it as a .bmp file and then change the extension to .ico, though you sometimes get an odd result.
There are some Icon creators on websites, where you can upload a png file and it will output an Icon for you to use. If you do this you can create your icon in any size: 16x16, 32x32, 64x64 etc.
If you're using standards it doesn't matter whether it's .ico or not, you can simply define the image type using 'type'. However, in the early days microsoft decided to use a .ico format, and something IE was (and is) still fussy about.
The .ico file itself cannot be a simple renaming of a bmp/gif/png as it's different. It might work in some browsers though, but its hardly good practice...
So in short you have to convert it into a Microsoft Icon File (.ico), which gimp and photoshop will do for you
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.