Don’t use picture (most of the time)
Jason Grigsby explains is great clarity the reasons where you would use the different responsive image specification implementations. Of course you could use <picture> but the chances are for most of the implementations you won’t need it.
And in this case, where we ended up is with a specification called ‘picture’ that contains much more than the
An excerpt from Don’t use picture (most of the time)<picture>
element. The picture specification includessrcset
andsizes
and you can use those attributes without using the<picture>
element.