logo

modern front end tech

favicons

In this chapter you are going to learn:-

what is favicon

favicon is a small image displayed next to the page title in the browser tab.

how to add a favicon in html

To add a favicon to your website, you can use the following HTML code within the <head> section of your HTML document:

<link rel="icon" href="path/to/favicon.ico" type="image/x-icon">

Replace "path/to/favicon.ico" with the actual path to your favicon file.

Favicon File Format Support

Favicons can be in various file formats, including:

our youtube channel