Click here to Skip to main content
15,893,161 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi friends..I am trying to add favicon in my web page I have written some code but its not working so can you please help me to give the exect code and where should I use this code exectly..I am not using master page.
Posted
Updated 2-Dec-11 8:13am
v2
Comments
Rajendra Koranga 2-Dec-11 14:28pm    
Hay anyone can help me plz..???

If you are specifically looking for adding the favicon in asp.net site refer this link: FAVICON Asp.Net[^]

XML
<link runat="server" rel="shortcut icon" href="~/favicon.ico" type="image/x-icon" />
<link runat="server" rel="icon" href="~/favicon.ico" type="image/ico" />


Adding both these tags would help work in both IE and FF.
 
Share this answer
 
Comments
Rajendra Koranga 3-Dec-11 7:14am    
thanks nikil s
Nikil S 3-Dec-11 14:36pm    
you're welcome
See here: How to Add a Favicon to your Site[^]

Next time, try doing at least basic research yourself - that link was number 5 on a google search for favicon[^]
 
Share this answer
 
HTML
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico" />
 
Share this answer
 
v2
Check this link.
Nice solution...
 
Share this answer
 

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



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