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

posted @ 2016-09-03 23:58  春风得意之时  阅读(5397)  评论(0编辑  收藏  举报