js using audio files code example Example: html play audio programmatically document.getElementById('yourAudioTag').play();