HTML | DOM Audio pause() Method
The HTML DOM Audio pause() Method is used to pause the currently playing audio. To use the audio pause() method, one must use the controls property to display the audio controls such as play, pause, volume, etc, attached on the audio. The audio pause() method does not accept any parameters and does not return any values.
Parameters: This method does not accepts any parameters.
Return Value: This method does not return any value.
Example: Below example illustrates the use of Audio pause() Method.
Supported Browsers: The browser supported by HTML DOM audio pause() method are listed below:
- Google Chrome
- Internet Explorer 9.0
- Apple Safari
Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML course.