Which of the following is not the attribute for <audio> element?

Which of the following is not the attribute for <audio> element?
A. controls
B. src
C. preload
D. width
 
Answer: d
Explanation: <audio> element has various attributes like src, controls, autoplay, preload, loop, buffered, crossorigin, muted. Width is attribute basically use for <video> not for <audio> element. All the attributes and <audio> element is newly introduce by HTML5 to make page responsive and user friendly.
 

Tìm kiếm

Back
Top