音乐
2025-09-13 23:10:41
发布于:浙江
病毒弹窗饼du🚓加粗文本
今日:HTML(在这运行)
🎵
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>音乐播放器</title>
<style>
body {
font-family: Arial, sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
background-color: #f5f5f5;
}
.player {
text-align: center;
padding: 20px;
background-color: white;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
h1 {
color: #333;
}
audio {
width: 80%;
max-width: 500px;
margin-top: 20px;
}
</style>
</head>
<body>
<div class="player">
<h1>音乐播放器</h1>
<p>下面是一首超过10秒的音乐</p>
<audio controls autoplay>
<!-- 这里使用了一个示例音频链接,您可以替换为自己的音频文件 -->
<source src="https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3" type="audio/mpeg">
您的浏览器不支持音频元素。
</audio>
</div>
</body>
</html>
这里空空如也
有帮助,赞一个