Q
What is the purpose of the srcset attribute on ?
-
A
It lets the browser choose an appropriately sized image for the screen's resolution and size
-
B
It defines CSS styles
-
C
It sets the alt text
-
D
It loads all the images at once
Correct Answer:
A. It lets the browser choose an appropriately sized image for the screen's resolution and size
Explanation:
It is often combined with sizes, or with the element for art direction.