<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Specify Alternate Sources for audio Element in HTML</title> </head> <body> <audio controls> <source src="examples/resources/sample.mp3" type="audio/mpeg"> <source src="examples/resources/sample.ogg" type="audio/ogg"> Your browser does not support the audio element. </audio> </body> </html>