The four ways to put icons on a website (inline SVG, sprite, React or Vue components, icon font) compared on performance, accessibility and maintenance.
Topic
Articles about HTML
5 articles · HTML: practical guides, examples and explanations written by Aimran.
-
-
What the canonical tag does, what hreflang does, how to combine them on a multilingual site with x-default, and the mistakes that make Google ignore them.
-
What WebP is, how much it saves over JPEG and PNG, how to convert images in the browser, the terminal or Node.js, and how to serve them with picture.
-
How to enable deferred image loading with loading="lazy", why you must not apply it to the main image, and how to combine it with fetchpriority and decoding.
-
The five favicon files needed in 2026 (ICO, SVG, apple-touch-icon and manifest icons), what Google requires to show it in results and which tags go in the head.