HTML5 标签audio添加网页背景音乐代码
<head>
<meta http-equiv="Content-Type" name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0,user-scalable=no">
<meta charset="utf-8">
<meta name="format-detection" content="telephone=no" />
<audio autoplay="autoplay" loop="loop">
<source src="music/汤晶锦 - 酒干倘卖无.mp3" type="audio/mpeg">
</audio>
<title></title>
<link rel="stylesheet" type="text/css" href="//at.alicdn.com/t/font_1472911003_4218736.css"/>
<link rel="stylesheet" type="text/css" href="css/header.css"/>
<link rel="stylesheet" type="text/css" href="css/public.css"/>
<link rel="stylesheet" type="text/css" href="css/content.css"/>
<link rel="stylesheet" type="text/css" href="css/footer.css"/>
</head>
出自:http://blog.csdn.net/sunboy_2050/article/details/48622023
作者:freddyhuang
出处:https://www.cnblogs.com/freddyhuang
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。