Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App

Related Articles

HTML | DOM Audio pause() Method

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

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. 


<!DOCTYPE html>
        Audio paused method
<body style="text-align: center">
    <h1 style="color: green">
    <h2>HTML DOM Audio pause() Method</h2>
    <audio id="Test_Audio" controls>
        <source src=
    <button ondblclick="play()" type="button">
        play Audio
    <button ondblclick="pause()" type="button">
        pause Audio
    <p id="test"></p>
        var gfg = document.getElementById("Test_Audio");
        function play() {
        function pause() {


Supported Browsers: The browser supported by HTML DOM audio pause() method are listed below: 

  • Google Chrome
  • Internet Explorer 9.0
  • Firefox
  • Apple Safari
  • Opera


My Personal Notes arrow_drop_up
Last Updated : 19 Apr, 2021
Like Article
Save Article
Similar Reads
Related Tutorials