The controls is attribute of audio. which is used for showing media player on browser. It supports only Boolean value. If it is present in audio tag. Media will be shows on screen otherwise not..Controls attribute:
|controls||Boolean||If it is present in audio tag file; music controls will be display on screen.|
Declaration syntax of autoplay attribute in HTML5.
|<audio src="URL" controls >Content</audio>|
<!DOCTYPE html >|
<p><b>Example of controls attributes in HTML5.</b></p>
<audio src="a2.mp3" controls >
Browser does not support audio tag.
The audio tag is only available in HTML5. It is not available in HTML4.01.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.