How to add an image to the address bar of a browser when viewing a page?

Duplicate:

Image icon next to site URL

Currently the best way to get an icon to display in all browsers that support favicons?

Preferred way to use icons?

I want to add my logo to the address bar of the browser whenever it is viewed.

How to make an icon?

+5
source share
4 answers

You need favicon - this is a 16x16 image in .ico , saved as favicon.ico in the root directory of your site. Some browsers also support other formats.

A new, more standards-based approach is to include something like this in your html header:

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

See also this document from W3C: How to add an icon to your site

You can also refer to these other answers to the question:

+22
source

This image is called favicon, and here are some links on how to add it, or you can simply add google "how to add an icon" 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

+1
source

Are you talking about creating a favicon ?

If so, here is a site to help you make it.

0
source

Source: https://habr.com/ru/post/972186/


All Articles