sound html js code example Example: play sound javascript var audio = new Audio("folder_name/audio_file.mp3"); audio.play();