HTML5 Multimedia Unit Test

1. Multiple choice questions (2 questions in total, 20.0 points)

  1. (Single choice, 10.0 points)
    To specify multiple video sources for an element use the ( ) tag (element).
    A select
    B datalist
    C source
    D src

  2. (Single-choice question, 10.0 points)
    To judge whether the browser supports the specified media type, you need to use the ( ) method of the audio or video object.
    A load()
    B play()
    C pause()
    D canPlayType()

2. Multiple-choice questions (4 questions in total, 40.0 points)
3. (Multiple-choice questions, 10.0 points)
HTML5 has added powerful multimedia functions, which are mainly reflected in ( ) two aspects.
A video element
B image element
C audio element
D animation elements

  1. (Multiple choice, 10.0 points)
    Which of the following descriptions about common attributes of elements is correct ( ).
    A If the autoplay attribute is present, the video will play as soon as it is ready.
    B If the controls attribute is present, the playback control panel is displayed to the user.
    C If the loop attribute appears, it will start playing again after the media file is finished playing.

    The D src attribute can specify multiple URLs of videos to be played.

  2. (Multiple choice, 10.0 points)
    The <source> tag is suitable for providing multiple media sources to ( ) elements.
    A <video>
    B <input>
    C <audio>
    D <select>

  3. (Multiple choice, 10.0 points)
    Use the ( ) attribute to play music automatically and automatically.
    A autoplay
    B controls
    C loop
    D preload

3. True or false questions (4 questions in total, 40.0 points)

  1. (True or false, 10.0 points)
    The playback control of the <video> element implements functions including play, pause, progress and volume control, full screen, etc., and allows custom control functions and styles.
    A pair
    B wrong

  2. (True or false, 10.0 points)
    The content inserted between <video> and </video> will not be displayed in the browser.
    A pair
    B wrong

  3. (True or false, 10.0 points)
    So far, there are video formats supported by all browsers.
    A pair
    B wrong

  4. (True or false, 10.0 points)
    The DOM operation functions of the Audio object and the Video object are core functions uniformly defined by the HTMLMediaElement object.
    A pair
    B wrong

Guess you like

Origin blog.csdn.net/qq_46373141/article/details/130977532