Loading...

You have learned how to add audio to websites and prepare audio files for web delivery.

Before taking your quiz, review what you've learned in this lesson by completing the multiple choice activity below.

What is wrong in the audio code below?

<audio type="audio/mpeg">
  <source src="file.mp3">
</audio>

  1. The middle line should be <source>file.mp3.
  2. The <audio> tag is a void element.
  3. The type attribute belongs on the <source> tag.
  4. The src attribute belongs on the <audio> tag.

What does preload="auto" do to the <audio> tag?

  1. The browser will not load anything until clicked.
  2. Only basic information about the file will be loaded initially.
  3. Part or all of the audio file will be loaded to prepare it for use.
  4. The player will start on its own once the file is loaded.

Which of the following is a Boolean attribute?

  1. preload
  2. src
  3. type
  4. controls

What constitutes a lossy file?

  1. quality compressed to decrease file size
  2. no decrease in audio quality
  3. only type of file to play music
  4. large file size

What does bitrate represent in audio files?

  1. the range of audio perceivable by the human ear
  2. the amount of data processed in a given amount of time
  3. how many tracks were recorded to play out of different speakers
  4. how fast the volume decreases during a fade-out

Summary

Questions answered correctly:

Questions answered incorrectly: