javascript - About the setting and priority of web page favicon
PHP中文网
PHP中文网 2017-05-19 10:44:29
0
1
498

There are two known methods of setting favicon for web pages
1.

<link href="favicon.ico" mce_href="favicon.ico" rel="bookmark" type="image/x-icon" /> 
<link href="favicon.ico" mce_href="favicon.ico" rel="icon" type="image/x-icon" /> 
<link href="favicon.ico" mce_href="favicon.ico" rel="shortcut icon" type="image/x-icon" /> 

2. Prevent favicon.ico

in the root directory of the website

Both methods are valid if used separately.

Current website root directoryhttp://localhost:8080/favicon.icoThere is already a chart and it has taken effect for global use. Some web pages are required to display unique charts. Using the above method will not take effect. The chart at http://localhost:8080/favicon.ico is still displayed.

Please ask classmates who know the answer

grateful!

PHP中文网
PHP中文网

认证0级讲师

reply all(1)
漂亮男人

The problem is solved, it should be my local cache

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!