What is the function of the source tag?
html source tag syntax
Function: for media elements (such as
Description: The
Note: The
html source tag example
<!DOCTYPE html> <html> <body> <audio controls> <source src="http://www.php.cn/i/horse.ogg" type="audio/ogg"> <source src="http://www.php.cn/i/horse.mp3" type="audio/mpeg"> Your browser does not support the audio element. </audio> </body> </html>
The above is the detailed content of What does the source tag do?. For more information, please follow other related articles on the PHP Chinese website!