+ 5
HTML TAG
Why we are using controls in <audio controls> element?
9 ответов
- 4
for play,pause, volume
+ 17
It displays audio controls such as play, pause and volume.
https://www.sololearn.com/learn/HTML/2193/?ref=app
+ 4
To add control elements such as:- play, pause, stop and volume
+ 3
Without controls , System icons like start/play , pause/resume , next ..Etc. aren't appear on the screen...!
+ 2
It shows those little buttons on the bottom - play pause stop and volume
+ 2
To show the play, pause and all other controls for audio to make it easier for users
+ 2
With the help of this u can control your audio like play, pause, volume up and down.
Best of luck 🤘
0
Hi,
The HTML <audio> element is used to play an audio file on a web page.The controls attribute adds audio controls, like play, pause, and volume.The <source> element allows you to specify alternative audio files which the browser may choose from. The browser will use the first recognized format.
For More information refer following site:
https://www.geeksforgeeks.org/html-audio-controls-attribute/