Skip to content

Clarify image format selection guidance - #45339

Open
33modeling wants to merge 1 commit into
mdn:mainfrom
33modeling:docs-image-format-guidance
Open

Clarify image format selection guidance#45339
33modeling wants to merge 1 commit into
mdn:mainfrom
33modeling:docs-image-format-guidance

Conversation

@33modeling

Copy link
Copy Markdown
Contributor

Description

Replaces the format-by-format list on the img element page with concise guidance about choosing formats based on compression, browser support, and image requirements. It also explains fallbacks and the progressive-rendering benefit of JPEG XL for large images.

Motivation

The previous list called several competing formats a good choice without clearly explaining how to decide between them. This revision directs readers to WebP or AVIF for raster compression, SVG for scalable graphics, and picture-based fallbacks where browser support requires them.

Additional details

  • Markdownlint: passed
  • Prettier check: passed
  • Updated the affected internal heading link

Related issues and pull requests

Fixes #45286

@33modeling
33modeling requested a review from a team as a code owner August 27, 2026 06:25
@33modeling
33modeling requested review from wbamberg and removed request for a team August 27, 2026 06:25
@github-actions github-actions Bot added Content:HTML Hypertext Markup Language docs size/s [PR only] 6-50 LoC changed labels Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:HTML Hypertext Markup Language docs size/s [PR only] 6-50 LoC changed

2 participants