Junior JavaScript

What is a favicon and how is it added?

A favicon is the small icon shown in the browser tab.

Example:

<link rel="icon" type="image/png" href="favicon.png">

Key Takeaway:

Favicons help brand your site in the browser.

More from JavaScript Tutorial

All questions for this course