-
Which of the following attribute adds audio controls, like play, pause, and volume?
-
- src
- source
- audio
- controls
- 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.