how to add a tab images | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how to add a tab images

here is always first page as the name but the most websites have a little picture next to it. How can i add one thx

12th Jul 2016, 8:59 AM
Josef Hülk
Josef Hülk - avatar
4 Answers
+ 2
It's called a favicon. If you call an image favicon.ico and put in your website's root directory, browsers will display it automatically. But you can even call it what you want and use other formats, like .png, .gif, .jpg or animated GIF, then put this code in the <head> section: <link rel="shortcut icon" type="image/png" href="/favicon.png"> The size could be anyone of these(px): 16×16, 32×32, 64×64.
12th Jul 2016, 10:54 AM
ZinC
ZinC - avatar
+ 1
Ok, thank you very much!
13th Jul 2016, 8:09 AM
Josef Hülk
Josef Hülk - avatar
- 2
the most convenient way is to use the css display property
12th Jul 2016, 10:26 AM
Suraj Rathod
Suraj Rathod - avatar
- 2
IMG and SRS tags are use for Images
12th Jul 2016, 11:03 AM
Ali Abbas Jafri
Ali Abbas Jafri - avatar