• 3 years ago
http://xoax.net/

Lesson Page:
https://www.xoax.net/html/crs/core/lessons/Lesson38/

HTML Reference Page:
https://xoax.net/html/ref/core/

In this HTML lesson, we demonstrate how to use a picture element to vary an image that is displayed based on the conditions in the environment. For example, if the web page is being displayed on a small device, like a phone, we might want to use a small image in the web page. On a full-sized computer screen, we might want to use a larger image. Picture elements allow us to select an image this way. They also provide us with many other properties that we can consider for varying images, like the aspect ratio, color properties, device type, etc. All of these make pages customizable to a wide variety of devices.

Copyright 2020 XoaX.net LLC