Skip to Main Content
The HTML and CSS Workshop
book

The HTML and CSS Workshop

by Lewis Coulson, Brett Jephson, Matt Park, Marian Zburlea, Tiffany Ford, Terry O'Brien, Adam Rosson, SudarshanReddy Kurri
November 2019
Beginner content levelBeginner
700 pages
12h 19m
English
Packt Publishing
Content preview from The HTML and CSS Workshop

7. Media – Audio, Video, and Canvas

Overview

By the end of this chapter, you will be able to append audio and video elements to a web page; create custom controls for media playback; implement different ways of adding images to a web page and evaluate the pros and cons of each; and create and animate graphics using the canvas element. This chapter aims to get you acquainted with the visual and audio elements that you can add to a web page. By adding audio, video, and image elements to a web page, we can improve the visual interest of it and add content that will enrich our users' experience in a way text alone cannot.

Introduction

In the previous chapter, we laid the foundations of our web pages by learning about structural elements, how ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn Enough HTML, CSS and Layout to Be Dangerous: An Introduction to Modern Website Creation and Templating Systems

Learn Enough HTML, CSS and Layout to Be Dangerous: An Introduction to Modern Website Creation and Templating Systems

Michael Hartl, Lee Donahoe

Publisher Resources

ISBN: 9781838824532Supplemental Content