Audio HTML5 | Sololearn: Learn to code for FREE!


Audio HTML5

Why the element "audio" have an atribute "controls"?

4/2/2019 6:00:53 PM

Lakshmana Guillén

12 Answers

New Answer


To dispay controls for volume, and play-stop, without controls users are not able to pause audio for example.


To allow the user to control ;)



If you did not use the control means if you need to pause or something it is not in our control


To display control options for user


allow the user to control the audio 👈


To control the volume auto play ... Etc

+1 This module teaches why audio has controls


Any pro here pls can you help me with the out put of this code For audio element; <source src=“audio.mp3” type=“audio/mpeg”> <source src=“audio.ogg” type=audio/ogg”> Please i just want to know the output 🙏


<audio> <source src


To show controls for volume, and play-stop


Autoplay controls always have to come together for the audio to play The controls is boolean if im not mistaken its not an atribute booleans can go for themselves without (="")this inside the parenthesis controls on audio or video tag gives your media file a scalable control for fast forward mute speed up or slow down of the midia inserted by the source And i think thats it goodluck myguy