<!DOCTYPE html>
<html lang="en">
<head>
<meta charset=“UTF-8”>
<meta name=“viewport” content=“width=device-width, initial-scale=1.0”>
<title>Document</title>
</head>
<body>
<!-- 实现循环播放一首背景音乐
添加 autoplay loop 属性即可 -->
<audio autoplay loop>
<source src=“test.ogg” type=“audio/ogg”>
<source src=“test.mp3” type=“audio/mpeg”>
您的浏览器不支持audio标签
</audio>
</body>
</html>
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20