loading...

Answer: How to add a browser tab icon (favicon) for a website?

rnagarajan96 profile image Nagarajan R ・1 min read

There are actually two ways to add a favicon to a website.

<link rel="icon">

Simply add the following code to the <head> element:

<link rel="icon" href="http://example.com/favicon.png">

PNG favicons are supported by most browsers, except IE <= 10. For backwards compatibility, you can use ICO favicons.

Note that you don't

Discussion

pic
Editor guide