GameBuilder
GameBuilder

Reputation: 1189

favicon is not displayed on html page

I want to put icon for the title

<?xml version="1.0" encoding="ISO-8859-1"?>
<html>
<head><title>TITLE</title></head>
<link rel="icon" type="image/png" href="logo.png" />
<body>

</body>

index.html and logo.png are in a same folder.

there is no Icon displayed.

Please guide.

Thanks in advance

Upvotes: 0

Views: 182

Answers (3)

qwerty
qwerty

Reputation: 2512

Details may be found here: FAVICONS

Upvotes: 0

pilsetnieks
pilsetnieks

Reputation: 10430

It depends on the browser but favicons generally are heavily cached, above and beyond normal caching. If you've opened the site before, the old icon (or absence of icon) is stored until all data associated with the website is removed completely. Clearing all browsing data should help with the most common browsers.

Upvotes: 1

Carl0s1z
Carl0s1z

Reputation: 4723

If you want to use a png, try this:

<link rel="icon" type="image/png" href="http://example.com/image.png" />

Upvotes: 2

Related Questions