+ 12
How can I add an icon of my webpage on the tab of the page (just before the title of the page) as other sites have ?
11 Réponses
+ 6
Inside the <head> tag,
<link rel="icon" href="image.extension" type="image">
+ 10
its favicon
example
<link rel="shortcut-icon" href="images/favicon.png">
+ 8
www.sololearn.com has one right?
+ 5
I don't understand. Can you shown us an example of a website that has this?
EDIT: I understand now.
+ 5
A favicon will let you do that. However, mostly icons do not show on the title bar whileusing Google, unless your website is published; In Mozilla Firefox, they do.
+ 4
Suchismita Dhal, for knowing more about this, log on to w3schools.org
+ 4
its favicon
example
<link rel="shortcut-icon" href="images/favicon.png"> on place of favicon.PNG you can write your image name
+ 3
the HTML
<p><img src="logo.png" />
image that is floated to the <strong>right.</strong>
</p>
THE CSS
img{
float:right;
}
add a margin to images so that the text does not get too close to the image. If you want your text to be easily read, you
should always add a few pixels between words and borders
+ 2
I believe you can add that into the <head> tags since the container is mainly for technical configuration information of site
+ 2
You can also do that :
<link rel="icon" href="favicon.ico" >
It's recommanded to place a favicon.ico images on the website root directory, so the server can automatically load it
+ 1
try looking at font-awesome documentation