No Content Found
Html Favicon
A favicon is a small image displayed next to the page title in the browser tab.
<link rel="icon" type="image/x-icon" href="/images/favicon.ico">
How To Add a Favicon in HTML
<!DOCTYPE html>
<html>
<head>
<title>My Page Title</title>
==================
<link rel="icon" type="image/x-icon" href="/images/favicon.ico">
===================
</head>
<body>
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
Browser | ICO | PNG | GIF | JPEG | SVG |
---|---|---|---|---|---|
Edge | Yes | Yes | Yes | Yes | Yes |
Chrome | Yes | Yes | Yes | Yes | Yes |
Firefox | Yes | Yes | Yes | Yes | Yes |
Opera | Yes | Yes | Yes | Yes | Yes |
Safari | Yes | Yes | Yes | Yes | Yes |