You can add background music to your HTML website using the < audio > element. You can create an auto-playing background music effect by specifying the audio file's source and adding the autoplay and loop attributes.