"JSP" Modify the page ICO small icon

Source: Internet
Author: User

Can Baidu search Ico icon making, will help you to change your picture to the ICO format.

It is best to place your Xxxxxx.ico picture under a folder in the project, such as the Images folder in Webroot.

renamed to Favicon.ico

Add code to head:

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

Images is the folder that is stored.

Advantages

1. Most importantly, all browsers, including IE5, support ico files, GIF, PNG and so on have no ICO support a wide range
2. If there is a favicon.ico, the server 404 error will have a friendly return, tested all modern browsers (tested Chrome 4, Firefox 3.5 "Firefox", IE8, Opera and Safari 4), found that they will request favicon.i Co, so the error page will have a corresponding icon display, so it is best to use ico!
3. An. ico file can meet the needs of multiple dimensions at the same time, without having to generate a single file per size

"JSP" Modify the page ICO small icon

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.