下列方法可以在網頁中加入背景音樂:
方法1:
<bgsound src="1000hur.mid" loop="infinite">
src :相對路徑及檔名
loop :音樂播放次數,1,2,..... "infinite"表無限次
方法2:
<body onload="location.href='1000hur.mid'">
location.href='要載入的音樂檔名與路徑'
方法1:
<bgsound src="1000hur.mid" loop="infinite">
src :相對路徑及檔名
loop :音樂播放次數,1,2,..... "infinite"表無限次
方法2:
<body onload="location.href='1000hur.mid'">
location.href='要載入的音樂檔名與路徑'
全站熱搜
留言列表