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

11 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