Click here to Skip to main content
15,891,708 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
there is a piece of code that it show a favicon. it doesn't work on IE, but firefox and Opera is ok.
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <link rel = "shortcut icon" href = "favicon.ico" type = "image/x-icon" />
        <link rel = "icon" href = "favicon.ico" type = "image/x-icon" />
        <title>favicon test</title>
    </head>
    <body>
        <p>IE favicon is not show, firefox is ok</p>
    </body>
</html>

who can tell me why? I have testing it on IE 6/7/8/9/10,none is ok.
Posted
Updated 14-May-13 19:54pm
v2

1 solution

 
Share this answer
 
Comments
daizhan 15-May-13 2:26am    
do you have any another suggestion? it still does not working in IE.
[no name] 15-May-13 2:44am    
it's not showing or u r getting any error..??
daizhan 15-May-13 3:34am    
no, no error , no show.
[no name] 15-May-13 3:36am    
u checked the image path properly..??
daizhan 15-May-13 3:52am    
i put the html file and favicon.ico in a folder. if the image path property is wrong, the favicon will not show in firefox.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900