+ 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 Answers
+ 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