Articles tagués : images
3 articles
next/image vs img Tag: When to Use Which in Next.js
next/image adds automatic WebP conversion, responsive srcset, lazy loading, and CLS prevention. The plain img tag is sometimes the right choice. Here's the decision framework.
2026-04-227 min de lecture
Image Alt Text Guide: How to Write Alt Text for SEO & Accessibility
Complete guide to writing image alt text for SEO and accessibility. Learn the rules, common mistakes, and best practices for alt attributes that help both users and search engines.
2026-04-156 min de lecture
Image Lazy Loading: Native, Intersection Observer, and LCP Traps
loading="lazy" is one attribute but the implementation details matter enormously. Here's when to use native lazy loading, when to use JS, and the LCP trap that kills Lighthouse scores.
2026-03-097 min de lecture