DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
Frontend Performance Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
Frontend Performance
Why does next/image require width/height (or a sized fill container)?
A
Purely a stylistic requirement with no functional purpose
B
It's what enables automatic layout-shift (CLS) prevention — the browser can reserve the correct aspect-ratio space before the image actually loads
C
It's required for WebP conversion to work at all
D
It has no relationship to any Core Web Vital
Check Answer