A picture paints a thousand words...
A key element of any website is a visual content; after all, text will become very repetitive and dull, without adding some form of color!
Adding media not only gives color to a site, but can serve as a vital tool to show potential customers what a product looks like or how we should use it. In fact, sales can go up based purely on being able to see a product being demonstrated. With the advent of mobile devices, it is more important that we not only add media, but also ensure it works well on a range of different devices.
Throughout the course of this chapter, we will explore different ways of adding media to our pages, and see how easy it is to make it respond to any changes in available screen size. In this chapter, we will cover the following topics:
Understanding the basics of adding images using
<picture>
Exploring alternatives to adding images
Making video and audio content responsive
Adjusting text to fit automatically...