1. Computing

Discuss in my forum

Multimedia - HTML Class Quiz and Project

Practice What You've Learned in the HTML Class

By , About.com Guide

This is the homework for the “Multimedia” lesson of the HTML class. It includes a short quiz (answers below) and a project you can do to practice what you've learned in this lesson.

Multimedia Quiz

  1. What are three things you should keep in mind before adding multimedia to your website?
  2. What element do you use to add sound to web pages in HTML5?
  3. What does the attribute controls="false" do and why should you avoid it?
  4. What are three types of sites where it's appropriate to add sound?
  5. What element other than VIDEO do you use to embed multiple versions of a video onto your site?
  6. What video format should you save your videos in for Firefox, Safari, and Internet Explorer 8?

Multimedia Project

Record a sound file or find a public domain source on the web and add it to your web page using HTML5. Be sure to test it in multiple browsers and include at least two different source files so that multiple browsers can view it.

If you are sharing your work on the forum, include the URL of your web page with the sound file and indicate which file types your page includes.

Answers to the Multimedia Quiz

  1. Before you add multimedia you should remember that people don't like sound and video that starts automatically, you should support multiple operating systems and browsers, your multimedia should be accessible, it takes up a lot of space and bandwidth, and there are other services you can use to host multimedia files, especially video.
  2. You add sound to an HTML5 web page with the AUDIO element.
  3. The controls="false" attribute turns off any visible controls for the multimedia element. You should avoid this attribute because sound and video that cannot be turned off is very annoying to most customers, and most will leave your site if they can't control it.
  4. There are several types of sites where it is appropriate to add sound or video to, including musician and video artist sites, game websites, forms and web 2.0/Ajax forms, and web pages for kids.
  5. To include multiple sources of your video or audio file you use the SOURCE element.
  6. You should save videos in Ogg for Firefox, MP4 or H.264 for Safari, and FLV for Internet Explorer 8.

©2013 About.com. All rights reserved.