Why do we have to mention the word controls in the audio tag? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why do we have to mention the word controls in the audio tag?

Why do we have to mention the word controls in the audio tag? and why when we delete it the audio player doesn't appear? Regards.

21st Dec 2016, 4:29 PM
Khadija Nazih
Khadija Nazih - avatar
3 Answers
+ 4
To allow user control it (play, pause ...) It is the user-interface (UI) of audio
21st Dec 2016, 4:30 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 3
Yes but it exists.
21st Dec 2016, 4:37 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 1
So if I removed it why the audio player doesn't appear at all?
21st Dec 2016, 4:34 PM
Khadija Nazih
Khadija Nazih - avatar