Multiple Choice Questions for HTML5 Audio and Video

  • 1 Using _____ and HTML5, you can store data so that it?s there even after the current page is reloaded.
    1. width
    2. height
    3. a & b
    4. None

  • 2 Which attribute(s) will avoid the video from flickering in video element of HTML5.
    1. MEDIA_ERR_ABORTED
    2. MEDIA_ERR_NETWORK
    3. MEDIA_ERR_SRC_NOT_SUPPORTED
    4. MEDIA_ERR_DECODE

  • 3 If format of video is unsupported or file not found for video element of HTML5 then which error code will be there in the event target of onerror.
    1. MEDIA_ERR_DECODE
    2. MEDIA_ERR_NETWORK
    3. MEDIA_ERR_ABORTED
    4. MEDIA_ERR_BADFORMAT

  • 4 When you abort the playback, the following error code in event target will beĀ If the video is corrupted that you want to play in the video element of HTML5, then which error code will be there in the onerror event
    1. MEDIA_ERR_ABORTED
    2. MEDIA_ERR_NETWORK
    3. MEDIA_ERR_DECODE
    4. None

  • 5 When preload attribute value is set to _____, Then the browser can decide whether to preload the video or not.
    1. none
    2. auto
    3. metadata
    4. true

  • 6 Which attribute makes the video play over and over??
    1. loop
    2. autoplay
    3. control
    4. poster

  • 7 Which attribute of the video element in HTML5 lets you specify whether to display a control bar under the video with play/pause buttons.
    1. autoplay
    2. poster
    3. controls
    4. src

Contact Us

support@subexpert.com
Write to Us View Help
Subject Expert Logo

Subject Expert

Learn and Evaluate

Follow Us
© 2020 - Subject Expert