Home >Web Front-end >HTML Tutorial >In HTML5, how can we embed audio in web pages?
Use the
<!DOCTYPE html> <html> <head> <title>HTML audio Tag</title> </head> <body> <p>Click on Play button...</p> <p>(Song: Kalimba which is provided as a Sample Music in Windows)</p> <audio controls> <source src = "/html/Kalimba.mp3" type = "audio/mpeg"> </audio> </body> </html>
The above is the detailed content of In HTML5, how can we embed audio in web pages?. For more information, please follow other related articles on the PHP Chinese website!