Favicons: How to Make Sure Browsers Only Download the SVG Version

Favicons: How to Make Sure Browsers Only Download the SVG Version

Šime Vidas DM’d me the opposite day about this thread from subzey on Twitter. My HTML for favicons was like this: <!– Warning! Typo! –> <hyperlink rel=”icon” href=”https://css-tricks.com/favicon.ico” dimension=”any”> <hyperlink rel=”icon” href=”https://css-tricks.com/favicon.svg” kind=”picture/svg+xml”> The attribute dimension is a typo there, and needs to be sizes. Like this: <!– Correcxt –> <hyperlink rel=”icon” href=”https://css-tricks.com/favicon.ico” > <hyperlink […]