Home » HTML » HTML Media » Question
  1. Which of the following attribute adds audio controls, like play, pause, and volume?
    1. src
    2. source
    3. audio
    4. controls
    5. None of these
Correct Option: D

The audio attribute defines sound, such as music or other audio streams. Source attribute defines multiple media resources for media elements, such as <video> and <audio>. Src attribute gives current source of audio/video element. The controls attribute is a boolean attribute. When present, it specifies that audio controls should be displayed.



Your comments will be displayed only after manual approval.