using favicon with css

前端 未结 4 903
Happy的楠姐
Happy的楠姐 2020-12-14 06:07

I want to set the favicon for a fairly large number of pages. But, instead of using the HTML tag

4条回答
  •  庸人自扰
    2020-12-14 06:44

    You don't need to - if the favicon is place in the root at favicon.ico, browsers will automatically pick it up.

    If you don't see it working, clear your cache etc, it does work without the markup. You only need to use the code if you want to call it something else, or put it on a CDN for instance.

提交回复
热议问题