HTML Tutorial

The language for building web pages.

HTML Favicon

HTML Favicon

A favicon is a small image displayed next to the page title in the browser tab. To add a favicon to your website, either save your favicon image to the root directory of your webserver, or create a folder in the root directory called images, and save your favicon image in this folder.

Supported Formats:

  • .ico - Traditional format, best support
  • .png - Modern, widely supported
  • .gif - Animated favicon
  • .svg - Scalable, modern browsers

Try It Yourself

Edit the code below and click Run to see the result live.

Source Code
Result
Topics