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 websiteBoth methods are valid if used separately.
Current website root directoryhttp://localhost:8080/favicon.ico
There 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!
The problem is solved, it should be my local cache