+ 1

What is the purpose of 'controls' attribute in 'audio' tag in html5?

what audio controls is used for?

25th Sep 2017, 6:30 AM
Shivesh Abhishek
Shivesh Abhishek - avatar
5 Respostas
+ 4
It is to allow you to go forward and backward in the audio as well as adjust volume
25th Sep 2017, 6:33 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 1
to put controls
25th Sep 2017, 6:31 AM
Calviղ
Calviղ - avatar
+ 1
@calvin what kind of.. just the play/pause?
25th Sep 2017, 6:33 AM
Shivesh Abhishek
Shivesh Abhishek - avatar
+ 1
Just try it on Code Playground, with and without controls attribute.
25th Sep 2017, 6:39 AM
Calviղ
Calviղ - avatar
25th Sep 2017, 6:39 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar