HTML & CSS · Middle · Question 75 of 75

What does srcset="logo.png 1x, logo@2x.png 2x" do?

Explanation

Density (x) descriptors suit fixed-size images like logos. For images whose size depends on the layout, use width (w) descriptors with sizes.

Further reading

Problem with a question

HTML & CSS · Middle · question 75

Test yourself

Take the HTML & CSS · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz