Add Favicon to Website [duplicate]

  1. This is not done in PHP. It’s part of the <head> tags in a HTML page.
  2. That icon is called a favicon. According to Wikipedia:

    A favicon (short for favorites icon), also known as a shortcut icon, website icon, URL icon, or bookmark icon is a 16×16 or 32×32 pixel square icon associated with a particular website or webpage.

  3. Adding it is easy. Just add an .ico image file that is either 16×16 pixels or 32×32 pixels. Then, in the web pages, add <link rel="shortcut icon" href="https://stackoverflow.com/questions/11893478/favicon.ico" type="image/x-icon"> to the <head> element.
  4. You can easily generate favicons here.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)