Website Favicon icon Display problem

Source: Internet
Author: User
Today, I found a bug in the developer tool that I couldn't find the Favicon.ico file. This is the label browser displayed in front of the page title of the small icon, the mobile side is no use, so has not cared, today there is time to study a bit, found still a little problem. First use some online production tools, choose the size of 16*16 or 32*32, the resulting file named Favicon.ico placed in the site root directory. Then add the following code to the page head tag, and the value of the HREF is the absolute address of the file. <link rel= "icon" href= ". /favicon.ico "type=" Image/x-icon "/><link rel=" shortcut icon "href=". /favicon.ico "type=" Image/x-icon "/> However, after I have done this, I still have not successfully displayed in the browser, when I change the file address to the page sibling address" Img/favicon.ico "when it appears, This should be the result of a top-level domain jump configuration.

Website Favicon icon Display problem

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.