nnhwc.com

Favicon Icon Code To Display Favicon Image

In this favicon how to, we’re going to discuss the placement of the special favicon icon code that must be placed on each page of your website.

Like any other image, the browser needs to know where to find your favicon icon file on your server and what you have named it.

However, instead of using standard html code for calling out an image, you must use a special piece of code that tells the browser to look for an “icon” type file.

One other important difference is where the code is placed. Instead of placing the favicon icon code inside the “body” portion of your web pages’ code, you need to place it in the “head” section.

If you’ve placed the favicon icon code in the “head” portion of your webpage and if the path to the favicon file is correct, your favicon will display.