How can I add a picture in address bar of the browser when my page is browsed?

故事扮演 提交于 2019-12-04 05:30:18
Paul Dixon

You need a favicon - this is a 16x16 image in .ico format stored as favicon.ico in the root directory your site. Some browsers do support other formats too.

A newer, more standards based approach is to include something like this in your html head:

<link rel="icon" type="image/png" href="/path/image.png"/>

See also this document from W3C: How to Add a Favicon to your Site

You might also want to refer to these other answers to the question:

That image is called a favicon and here are some links on how to add one or you can just google "how to add a favicon" for more information.

http://www.w3.org/2005/10/howto-favicon

http://www.clickfire.com/favicon-tutorial

http://essentialkeystrokes.com/tutorial-how-to-create-your-own-favicon

Are you talking about creating a Favicon?

If so, here's a site which will help you make one.

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