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...

Sorry!!! its still now working in IE.

Can u please help me any one...

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

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.

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" />

eft click icon

right click icon

select "cut"

browse to wherever you want to put it

control "v" (paste)

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" />
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.