title: Add sound to a button in html
body: <p>Trying to add a sound to a button, can´t figure out what´s wrong.
  Is there any other ways to do it?</p>
  
  <p><strong>HTML</strong>    </p>
  
  <pre><code>&lt;audio id="myAudio"&gt;
     &lt;source href="url"="http://lab.wijkmanska.se/webbteknik/te13/mattias_martinsson/V08/KnappMattias (1).wav" type="audio/wav"&gt;
  &lt;/audio&gt;
  &lt;button type="button" onclick="aud_play_pause()"&gt;Play/Pause&lt;/button&gt;
  </code></pre>
  
  <p><strong>JavaScript</strong></p>
  
  <pre><code>function aud_play_pause() {
    var myAudio = document.getElementById("myAudio");
    if (myAudio.paused) {
      myAudio.play();
    } else {
      myAudio.pause();
    }
  }
  </code></pre>