Home > Article > Web Front-end > How to use html audio tag
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:b97864c2e0ef2353a16c4d64c7734e92 tag defines sound, 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, nor All browsers support this tag.
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
b97864c2e0ef2353a16c4d64c7734e92 tag is a new tag in HTML 5.
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!