Home > Article > Web Front-end > What is the role of audio tag
html audio tag syntax
What is the role of the audio tag?
Function:
Description: You can place text content between the start tag and the end tag, so that old browsers can display information that the tag is not supported.
Note: The
html audio tag example
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <audio src="http://www.w3school.com.cn/i/horse.ogg" controls="controls"> Your browser does not support the audio element. </audio> </body> </html>
The above is the detailed content of What is the role of audio tag. For more information, please follow other related articles on the PHP Chinese website!