Audio HTML5 | Sololearn: Learn to code for FREE!

+11

Audio HTML5

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

4/2/2019 6:00:53 PM

Lakshmana Guillén

11 Answers

New Answer

+18

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

+5

To allow the user to control ;)

+4

+4

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

+4

To display control options for user

+3

allow the user to control the audio 👈

+2

To control the volume auto play ... Etc

+1

https://www.sololearn.com/learn/HTML/2193/ This module teaches why audio has controls

+1

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 🙏

0

<audio> <source src

0

To show controls for volume, and play-stop