MCQ
What is the 'sizes' attribute in the picture element used for?
Responsive Web Design
A To set image dimensions
B To define the image display size based on viewport
C To add image filters
D To set image background color
Explanation

The 'sizes' attribute defines the display size of the image based on the viewport or container width, helping the browser choose the most appropriate source.