-1

My favicon worked on Chrome Canary for a while, and after I updated it it stopped appearing.

I have provided my code below.

<html>
    <head>
        <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
        <title>Write IT</title>
    </head>
    <body>
    </body>
</html>
Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
dragonloverlord
  • 442
  • 5
  • 21

1 Answers1

2

The correct MIME-type for .ico files is image/vnd.microsoft.icon. Since image/x-icon is not standardized it's most often a leniency of a browser not checking for it if it actually works.

Niels Keurentjes
  • 41,402
  • 9
  • 98
  • 136