HTML Title Image

What you need is a favicon.ico file. Just put it in the root of your site and link to it in the header of your page <head> <title>My Site</title> <link rel=”shortcut icon” href=”https://stackoverflow.com/questions/3103490/favicon.ico” /> </head> You should put it in the root of your site and name it favicon.ico because some browsers look for it … Read more

Favicon: .ico or .png / correct tags? [duplicate]

For compatibility with all browsers stick with .ico. .png is getting more and more support though as it is easier to create using multiple programs. for .ico <link rel=”shortcut icon” href=”http://example.com/myicon.ico” /> for .png, you need to specify the type <link rel=”icon” type=”image/png” href=”http://example.com/image.png” />

Does a favicon have to be 32×32 or 16×16?

Update for 2020: Sticking to the original question of 16×16 versus 32×32 icons: the current recommendation should be to provide a 32×32 icon, skipping 16×16 entirely. All current browsers and devices support 32×32 icons. The icon will routinely be upscaled to as much as 192×192 depending on the environment (assuming there are no larger sizes … Read more

favicon not displayed by Firefox

First, make sure you don’t have a “normal” cache problem by loading the favicon URL directly (put it into the browser’s URL bar) and force-refreshing it. If that does the job, no need for the complicated solution below. IMPORTANT: My original problem cannot have been a cache issue: First, I did clear the cache, second, … Read more

How to set favicon.ico properly on vue.js webpack project?

Check out the Project Structure of webpack template: https://vuejs-templates.github.io/webpack/structure.html Note that there is a static folder, along with node_modules, src, etc. If you put some image into the static folder, like favicon.png, it will be made available at http://localhost:8080/static/favicon.png Here is the documentation for static assets: https://vuejs-templates.github.io/webpack/static.html For your favicon issue, you can put a … Read more

Does a favicon have to be 32×32 or 16×16?

Update for 2020: Sticking to the original question of 16×16 versus 32×32 icons: the current recommendation should be to provide a 32×32 icon, skipping 16×16 entirely. All current browsers and devices support 32×32 icons. The icon will routinely be upscaled to as much as 192×192 depending on the environment (assuming there are no larger sizes … Read more