Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8956177
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T14:43:52+00:00 2026-06-15T14:43:52+00:00

I am making a HTML page and one of the things I wanted was

  • 0

I am making a HTML page and one of the things I wanted was a favicon appearing next to the title.

I’m using Google Chrome, I see favicons working on other websites, but the favicon on my website won’t show up. The site is in a folder on my desktop named site.

The favicon.ico file is 16×16, and I used an online generator to make it.

This is the code:

<!DOCTYPE html>
<html> 
    <head>
        <title></title>
        <link rel="shortcut icon" href="/favicon.ico" />
    </head>
    <body>
    </body>
</html>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T14:43:54+00:00Added an answer on June 15, 2026 at 2:43 pm

    Since you have a leading / in your href, you are referencing a file that will be in the root-folder. In case you have your page in a folder on your computer, not serving it from a local webserver, the leading / will tell the browser to look in the root folder of your filesystem. So the browser expect the file to be at C:/favicon.ico or similar, which is probably not what you’ve expected.

    If you have the favicon.ico in the same folder as the web page, you could just remove the leading slash, and the icon should be visible.

    <link rel="shortcut icon" href="favicon.ico" />
    

    Update:

    As a debug option, your could try to add a tag that you know works. I borrowed this snippet from the StackOverflow source. Try replacing your link tag with this and see if you get the SO logo as your favicon.

    <link rel="shortcut icon" 
          href="http://cdn.sstatic.net/stackoverflow/img/favicon.ico">
    

    Update 2:

    It appears that there is a bug reported on Chromium where the favicon isn’t displayed if the file is loaded locally, without being served through a webserver.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using many get values in one page and making up a hyperlink
I am interested in making some sort of HTML page that displays the name
I've got an html page from where Im making this call periodically: function logon(id)
I'm making my own website using html and php, and a database using mysql
I'm trying to fit 3 pictures in one HTML page, such that maximum screen
I am trying to work on getting better at making HTML forms using PHP
Alright, I'm making a website using PHP/HTML, and I have some backend AJAX to
I'm making a small Adobe AIR app (my first) using HTML+Javascript. I need to
I have been given a project - the one HTML page includes about 45
I have a Chrome and Firefox extension, and I am making the same one

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.