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

上一篇:JavaScript(十一) HTML DOM - 改变CSS


下一篇:JS中Unix时间戳转换日期格式