The Least You Need to Know

• To add video to a page, use the new HTML5 <video> tag, like so:
190
• To add background audio to a page, use the new HTML <audio> tag:
191
• To add audio that plays only when a user clicks the play button, remove the autoplay attribute and add the controls attribute.

Get The Complete Idiot's Guide® To HTML5 and CSS3 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.