Atom-G Posted November 4, 2005 Share Posted November 4, 2005 Hi all,I try to show a favicon for my website, it does show in adress bar, but it doesn't show in Tab bar of FireFox, what i'm doing wrong . Here is the simple code and a weblink also, ctrl+click it to see that yon won't have the favicon (a small camera) in the firefox tab bar.Thx!The Webpage <html><head><title>Test page</title><link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /><meta http-equiv="Content-type" content="text/html; charset=ISO-8859-1" /></head><body></p>Test page<p></body></html> Link to comment Share on other sites More sharing options...
Skemcin Posted November 4, 2005 Share Posted November 4, 2005 the code looks correct, try any/all of the following:a.) try it without the "type" attributeb.) double check your relative path to "favicon.ico" - make sure it is in the same folder of the page that you are testing.c.) make sure your ico is generated correctly here:http://www.programguru.com/otherwise, it should be fine. Link to comment Share on other sites More sharing options...
Atom-G Posted November 5, 2005 Author Share Posted November 5, 2005 Well, first of all, thx for the nice website you gave; programguru. Also, it seems to work fine now . Don't really know why , but well, thx again.If I may ask another question, what exactly type="image/x-icon" do? I searched on google, but without any good result. I used this type thing because I found it on www.w3schools website. Link to comment Share on other sites More sharing options...
F-Man Posted November 9, 2005 Share Posted November 9, 2005 image/x-icon is the MIME type of the icon file. Every file has a MIME type, for example a JPEG image is image/jpeg.However, not all icons have the same MIME type, so make sure you know what you're doing... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now