网页中播放声音的例子:使用标签<bgsound>
<span style="font-size:18px;"><html>
<head>
<title>Blank</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<bgsound src="" id="sound"/>
<input type="button" οnclick="document.getElementById('sound').src='111.mp3'" value="播放">
</body>
</html>
</span>