Languages

HTML - correct MIME Type for .ico file?

0 points
Asked by:
Inayah-Alexander
767

What is correct MIME Type for favicon.ico file?

1 answer
0 points
Answered by:
Inayah-Alexander
767

Both image/x-icon and image/vnd.microsoft.icon will work in all web browsers.

Practical example

<link rel="icon" type="image/x-icon" href="favicon.ico" />

or:

<link rel="icon" type="image/vnd.microsoft.icon" href="favicon.ico" />

 

References

  1. ICO (file format) - Wikipedia
0 comments Add comment
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