How to change or modify the bookmarks pictures html?

Asked By 0 points N/A Posted on -
qa-featured

While visiting websites in the bookmark link there appears a little picture. How can I add bookmarks pictures html or change it? I need to a clear instruction. Which part of the html is related to it?

 

SHARE
Answered By 10 points N/A #167084

How to change or modify the bookmarks pictures html?

qa-featured

 

Hi Muller,
 
The small icon or picture in a bookmark is called a favicon, the format must be 16×16 pixels or 32×32 pixels, either 8-bit or 24-bit colors. The standard to add favicon is using a link element with rel attribute in the  <head> section, as shown in the sample.
 
Here is an example on how to add a favicon. 
 
<!DOCTYPE html 
      PUBLIC "-//W3C//DTD HTML 4.01//EN"
      "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US">
<head profile="http://www.w3.org/2005/10/profile">
<link rel="icon" 
      type="image/png" 
      href="http://example.com/myicon.png">
[…]
</head>
[…]
</html>
 
You can read it more about favicon on the World wide web consortium (W3C).
 
If you want to change the favicons in a bookmark you can use this add-on if you are using mozilla, and an extension for google. Simply install the extensions and right click to change the icons.
 
Hope you'd get the instructions on how to use it. Don't hesitate to ask for more clarifications.
 
Thanks

Related Questions