Summary
In this chapter, we appended several media elements in an HTML5 document. We studied the applications of the audio
element and video
element and learned how to add custom controls to those elements, as well as how we can style them.
We also learned how to add a text track to provide accessible content for users who can't hear audio and video for various reasons.
We studied several different image formats available in HTML5, including SVG and the canvas
element and img
and picture
elements. These introduced us to how these different options can help make our web pages more responsive and how we can use these tools to program our own icons, art, and animations.
In the next chapter, we will look at how we can animate the content of a web page using CSS. Combining the techniques for adding rich content that we have learned in this chapter with those you will learn in the next chapter will allow you to enhance and enrich web pages further with greater interactivity...