No websites on 'How to make a favicon' have been working, and I need help coding one

My code:

    <title>Miles Bordak Creations.Co</title>
    Favicon Code Go Here
        body {
        background: #FFFAFB;
        margin: 0;

      #backgroundImage {
        border: none;
        height: 100%;
        pointer-events: none;
        position: fixed;
        top: 4;
        visibility: hidden;
        width: 100%;

      [show-background-image] #backgroundImage {
        visibility: visible;
 <div>Miles Bordak Creations.Co</div>
<p>My name is Miles Bordak</p>
<p>I make HTML, C++, and Python creations. This is a link to <a href="">A.I.D.S. Bot</a> that I made in 2023.</p>
<img src="Chess Bot.png">
p {
	font-family: sans-serif;
	font-size: 19px;
	color: jetblack;

     Thanks, Miles Bordak
<link rel="icon" type="image/x-icon" href="image-file">

This script should go in your <head>.
Make sure that the image you are trying to get exists and that nothing is misspelled.
For more information on favicons, go here:


I found how to! Thanks!

theres if you want an easy and working way of generating favicons

1 Like

2 posts were split to a new topic: How do I add a favicon