0 Comments

When there is no favicon.ico in the root of your website, then the browser will automatically get a 404 favicon error.
To prevent this error, you can add a transparent favicon.ico to the “head” tag of your HTML page:

<link rel="icon" href="data:;base64,iVBORw0KGgo=">

 

image

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related Posts

2020-07-17 Learned Today

0 Comments

  How to fix .NET C# error: System.Security.AccessControl.PrivilegeNotHeldException: The process…