Favicon without HTML code

旧时模样 提交于 2019-12-11 17:34:33

问题


I noticed that Future Friendly's source code doesn't contain any code for their favicon. Yet, there is a blue star as their favicon in my browser's tab. Is this witchcraft?


回答1:


you can just put a favicon.ico file in the root level of the website. in your sample http://futurefriend.ly/favicon.ico




回答2:


You don't need code to reveal a favicon. Simply add the image to your site root folder and all newer browser (IE 7 +?) find it and show it automatically.



来源:https://stackoverflow.com/questions/8500184/favicon-without-html-code

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!