HTML Favicon
- HTML favicon is a small picture displayed on top of the title in a browser tab.
- A Favicon is also known as a favorite icon or tab icon is a graphical picture shown on the browser tab that indicates which website you are browsing.
- It may appear in the browser's address bar, tab, history, bookmarks bar, etc. With the help of this icon, it is simple to locate.
- A favicon's image in .ico file format. Although there are many different file types, all browsers can support the .ico format.
To Creating Favicon:
The steps for making the favicon are as follows:
Step 1: To build the favicon, search the following URL:
https://www.favicon.cc/
Step 2: We can download the favicon by selecting the download favicon option after the favicon has been successfully proceed.
Step 3: A favicon with the filename favicon.ico is present on the file system disk after downloading.
Example:
<!DOCTYPE
html>
<html>
<head>
<title>My Page
Title</title>
<link rel ="icon" type ="image/xicon" href ="/home/downloads/favicon.jpg">
</head>
<body>
<h1>HTML
favicon</h1>
<p>To build the favicon, search the following URL:
https://www.favicon.cc/</p>
</body>
</html>
Output:
More topic in HTML