Explain how the ability to use video and audio on the web has evolved since the early 2000s.
well we no longer use flash and the auido and vidoe is now
Describe the use of the src and controls attributes in the
The src creates a path to the video and the controls attributes allow users to adjust the volume/play speed or control what part of the video is playing.
Why is it important to have fallback content inside the
so that if someones browser can’t play the video another piece of content renders.
Besides making a site visually appealing across different screen sizes, why should developers make images responsive?
in order to have a better user expeience. Photos could be to small or too large and need to be adjusted accoringly
Define the following attributes srcset and sizes. Write an example of how they are used.
srcset defines the set of images we will allow the browser to choose between. this allows for different default sizes of an image based on what the users scren size is.
the img tag typically only allows one image to be linked to the webpage
How is srcset more helpful for responsive images than CSS or JavaScript?
because of the variety of image sizes you could have set for predetermined screen widths