Skip to content

Latest commit

 

History

History
22 lines (9 loc) · 757 Bytes

Picture and Source Elements HTML.md

File metadata and controls

22 lines (9 loc) · 757 Bytes

Picture and Source Elements

h

The picture and source elements are used to provide alternative image sources for different screen sizes and resolutions. The picture element is used to wrap different source elements, each specifying a different image source and media query. The browser will select the appropriate image source based on the device's screen size and resolution.

Here's an example of how to use the picture and source elements:

My Image