html The audio tag is used to define sounds, such as music and video or other audio resources. Using the audio tag, you can listen to music and watch videos without a Flash plug-in. Not all browsers support this tag.
#html How to use the audio tag?
Function:
Note:
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.php.cn/i/horse.ogg" controls="controls"> Your browser does not support the audio element. </audio> </body> </html>
The above is the detailed content of How to use html audio tag. For more information, please follow other related articles on the PHP Chinese website!