Which of the following attribute adds audio controls, like play, pause, and volume?

Which of the following attribute adds audio controls, like play, pause, and volume?
A. audio
B. controls
C. source
D. src
 
Answer: b
Explanation: 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.
 

Tìm kiếm

Back
Top