Home » HTML » HTML Media » Question
  1. What is the work of controls?
    1. audio starts playing automatically
    2. play again after finishing the audio
    3. specify the path to an audio file
    4. indicates if the player displaying controls
    5. None of these
Correct Option: D

Controls attributes specify if the player is displaying controls or not. If one does not use it no control will be display by default. One can set his own control by using JavaScript. Syntax: <audio src=”test.ogg” controls autoplay>



Your comments will be displayed only after manual approval.