0

Hi All,
I want a shortcut icon for my website. I did but its coming only mozilla its not coming ie i don't know wants wrong in my code. My code is

<link rel="SHORTCUT ICON" href="images/myicon.ico" />

Thanks in advance
Kavikesav...

6
Contributors
7
Replies
8
Views
8 Years
Discussion Span
Last Post by essential
0

Hi All,
I want a shortcut icon for my website. I did but its coming only mozilla its not coming ie i don't know wants wrong in my code. My code is

<link rel="SHORTCUT ICON" href="images/myicon.ico" />

Thanks in advance
Kavikesav...

Hi,

I think you have to complete your code with :
type="image/x-icon"
and also, put the file "myicon.ico" at the root of your site and not in the images folder.
<link rel="shortcut icon" type="image/x-icon" href="images/myicon.ico"/>

Good luck.:)
Jocelyn

0

What doctype are you using?

<link rel="shortcut icon" href="images/youriconname.ico" />
will work in both ie and ff if you are using xhtml 1.0 T

you might also try:
<link rel="Shortcut Icon" type="image/ico" href="/favicon.ico" />
or end with: href="favicon.ico" /> and put the favicon directly in the public_html folder and not in a subfolder.

0

I made a mistake in my previous reply in the html code. Sorry.
I said you have to put the "Icon.ico" at the root of your website. It's true but I don't give you the correct html code.

You have to write

<link rel="Shortcut Icon" type="image/ico" href="/favicon.ico" />
or end with: href="favicon.ico" />

0

eft click icon

right click icon

select "cut"

browse to wherever you want to put it

control "v" (paste)

0

Another way to call your icon, implemented in W3C standards:

<head profile="http://www.w3.org/2005/10/profile"> <!-- Must be implemented if you are using any icon inside your (x)HTML document. -->
<title>Your Site</title>
<link rel="icon" type="image/ico" href="pathToIcon/yourfavicon.ico" />
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.