how to replace the xampp favicon with my own one?

女生的网名这么多〃 提交于 2019-12-22 09:59:47

问题


trying to edit the xampp favicon but coudn't do that so revomed them. now my webpages don't even have xampp favicon and i'm unable to add my own icon.can someone walk me through the whole process that really works. if can't then just teach me how to add an icon on a real server where my site soon going to b hosted? Thanks!


回答1:


just add the code bellow to your file.

<head>
<link rel="icon" href="images/favicon.ico" type="image/ico">
</head>



回答2:


I think that this will work for you.

Just go to C:\xampp\htdocs and delete the favicon.ico file (if it is there). Insert the image file in that folder. (Remember that it should be an ico type file) Now rename that image as 'favicon' and it will be done.




回答3:


Adding an icon named favicon.ico in your document root should solve the problem



来源:https://stackoverflow.com/questions/42017692/how-to-replace-the-xampp-favicon-with-my-own-one

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