1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

favicon automatically appears

Discussion in 'HTML & JavaScript' started by Mutikasa, Sep 8, 2015.

  1. Mutikasa

    Mutikasa Power Member

    Joined:
    May 23, 2011
    Messages:
    581
    Likes Received:
    207
    So, i have bunch of landing pages. And I have favicon.ico in my domain root.
    I've noticed that my favicon appears on all pages even when I don't link it. Is this some kind of default behaviour? If you have favicon in root it will appear everywhere?
     
  2. WebmasterHacks

    WebmasterHacks Newbie

    Joined:
    Sep 6, 2015
    Messages:
    10
    Likes Received:
    14
    This is default browser behavior. It will make request for root/favicon.ico automatically, unless you provide favicon location in meta tag.
     
    • Thanks Thanks x 1
  3. HAARR

    HAARR Newbie

    Joined:
    Aug 31, 2015
    Messages:
    6
    Likes Received:
    0
    I will first say that having a favicon in a Web page is a good thing (normally).
    Try adding following between opening and closing <head> tag.

    HTML:
    <link rel="icon" href="data:;base64,iVBORw0KGgo=">