create audio element javascript w3s code example Example: how do you play audio files on html <audio src="sound.mp3" autoplay></audio>