I have been scavenging all over the place, but no luck. How do I set up a favicon on a local HTML document? I've tried all sorts of combos of the LINK element, but nothing happened yet. And yes, I'm using a .ICO, but it's in the same directory as the document (but I'm using rel="shortcut icon").
Offline
Hardmath123 wrote:
I have been scavenging all over the place, but no luck. How do I set up a favicon on a local HTML document? I've tried all sorts of combos of the LINK element, but nothing happened yet. And yes, I'm using a .ICO, but it's in the same directory as the document (but I'm using rel="shortcut icon").
I think it has to be running on a server.
Offline
nathanprocks wrote:
Hardmath123 wrote:
I have been scavenging all over the place, but no luck. How do I set up a favicon on a local HTML document? I've tried all sorts of combos of the LINK element, but nothing happened yet. And yes, I'm using a .ICO, but it's in the same directory as the document (but I'm using rel="shortcut icon").
I think it has to be running on a server.
What if the favicon is hosted but the HTML isn't?
Offline
Hardmath123 wrote:
nathanprocks wrote:
Hardmath123 wrote:
I have been scavenging all over the place, but no luck. How do I set up a favicon on a local HTML document? I've tried all sorts of combos of the LINK element, but nothing happened yet. And yes, I'm using a .ICO, but it's in the same directory as the document (but I'm using rel="shortcut icon").
I think it has to be running on a server.
What if the favicon is hosted but the HTML isn't?
I don't think that would work either.
Scratch Forums wrote:
The following errors need to be corrected before the message can be posted:
At least 60 seconds have to pass between posts. Please wait a little while and try posting again.
Offline
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
should work even unhosted
Last edited by nickbrickmaster (2012-07-15 13:37:48)
Offline
Wikipedia suggests that the type attribute should possibly be "image/vnd.microsoft.icon"; but probably isn't necessary.
I think you can use PNGs instead/as well, which should work in most browsers...
Offline