The way you add Favicons to your website depends on the platform that you use. For example, if you use WordPress, you can upload a favicon in the Theme Customizer (in the ‘site identity’ section, usually). Other website builders also have a simple favicon upload function.
If you want to manually insert the code for your favicon, you will need to upload the icon you’ve created to your website. Then, to check it’s uploaded correctly, type http://websitename.com/favicon.png into your browser.
You will then need to add this HTML code for the favicon in the HEAD section of your pages and the main index page of your website:
If you use website caching, you will need to purge the cache before your favicon will show up.