Click here to Skip to main content
12,300,191 members (59,815 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: ASP.NET
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 2-Dec-11 8:07am
Edited 2-Dec-11 8:13am
v2
Comments
Member 8439682 2-Dec-11 14:28pm
   
Hay anyone can help me plz..???
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

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

<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.
  Permalink  
Comments
Member 8439682 3-Dec-11 7:14am
   
thanks nikil s
Nikil S 3-Dec-11 14:36pm
   
you're welcome
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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[^]
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

<link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico" />
  Permalink  
v2
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 4

Check this link.
Nice solution...
  Permalink  

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


Advertise | Privacy | Mobile
Web02 | 2.8.160525.2 | Last Updated 20 Jul 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100