Solved

Favicon in Website

Posted on 2013-05-11
3
314 Views
Last Modified: 2013-11-19
Hi,

I am creating a website, and giving the following line in <Head> element, after creating the favicon.ico, but my favicon is not displaying. I've tried on Chrome and Explorer.

Also some sites display a .gif as favorite icon, which I've tried but it does not work.

Code:
<link rel="shortcut icon" type="image/icon" href="Favicon.ico">

Kindly help..

Sanjay.
0
Comment
Question by:sanjay-gandhi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
Juan Ocasio earned 200 total points
ID: 39158001
Try <link rel="shortcut icon" type="./image/icon" href="Favicon.ico"> with the dot-slash.  Also, if you're testing the site and it's not displaying try emptying your cache.
0
 

Author Closing Comment

by:sanjay-gandhi
ID: 39158015
Thanks, it worked after clearing the cache.
But ./ was not required, because my icon is in root folder, where index.html is saved. Therefore the code works as:

<link rel="shortcut icon" type="image/icon" href="Favicon.ico"/>

Solved!!

Sanjay.
0
 
LVL 14

Expert Comment

by:Juan Ocasio
ID: 39158041
No problem.  Just make sure all other pages are in root if you're going to keep images/icon.

Good luck!
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question