Core HTML

Suppress the Favicon Call

Many times, we want to prevent the browser from requesting a favicon and making an extra HTTP call for it. In these cases, we can add a link element to the head with empty data in it, as shown in the example html page below: <link rel="icon" href="data:,">

SuppressFavicon.html

<!DOCTYPE html>
<html>
  <head>
    <title>XoaX.net's HTML: Suppress the Favicon Call</title>
    <link rel="icon" href="data:,">
  </head>
  <body>
    <h1>The Apostles' Creed</h1>
    <p>I believe in God, the Father Almighty, Creator of heaven and earth.</p>
    <p>I believe in Jesus Christ, His only Son, our Lord; who was conceived by the Holy Ghost,
    born of the Virgin Mary, suffered under Pontius Pilate, was crucified; died, and was buried.
    He descended into hell. On the third day, He arose again from the dead. He ascended into
    heaven and sits at the right hand of God, the Father Almighty. He will come to judge the
    living and the dead.</p>
    <p>I believe in the Holy Ghost, the Holy Catholic Church, the communion of Saints, the
    forgiveness of sins, the resurrection of the body, and the life everlasting. Amen.</p>
  </body>
</html>
 

Output

 
 

© 2007–2025 XoaX.net LLC. All rights reserved.