Languages
[Edit]
EN

HTML - disable favicon request

9 points
Created by:
DrJoystick
615

In this short article, we would like to show how to prevent favicon requests using HTML.

Quick solution (add in the site head element):

<link rel="icon" href="data:," />

 

Practical example

The solution is based on empty Data URL, that makes icon downloading avoided.

// ONLINE-RUNNER:browser;

<!doctype html>
<html>
<head>
  <link rel="icon" href="data:," />
</head>
<body>
  <!-- Webpage content here ... -->
</body>
</html>

 

Alternative titles

  1. HTML - prevent favicon.ico requests
  2. HTML - disable favicon.ico request
  3. HTML - remove favicon.ico requests
  4. HTML - empty favicon
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join