(原創(chuàng))教你在圖片上加音樂
這種做法也適用在主頁(yè)模塊中,這里在日志里演示一下。本日志即是在圖片上加音樂的效果演示。
第一步:給日志加背景,代碼:<table width=700 border=0><tbody><tr>
<td background=圖片地址></td></tr></tbody></table>
(將圖片地址替換一下即可。)
第二步:在加背景的代碼里加入鏈接音樂的代碼:
<div align=center><embed src=音樂地址 width=200 height=43
type=audio/mpeg loop=true autostart=true></div>
(將音樂地址替換一下即可)
合成的代碼如下:
<TABLE width=700 border=0>
<TBODY>
<TR>
<TD background=http://img.blog.163.com/photo/LbjGwaGc1IZmYKMOATnf3g==/281756451687659498.jpg>
<P> </P>
<DIV align=center><EMBED src=http://61.145.75.239/2004-03/y240343a07.mp3 width=200 height=43 type=audio/mpeg autostart="true" loop="true"> </DIV>
<P> </P>
<DIV align=center><EMBED src=http://61.145.75.239/2004-03/y240343a07.mp3 width=200 height=43 type=audio/mpeg autostart="true" loop="true"> </DIV>
<P> </P>
<P> </P>
<P> </P>
<P> </P>
<P> </P></TD></TR></TBODY></TABLE>
注:將上面代碼復(fù)制到你需要的地方即可。上面代碼中圖片地址和音樂地址可以根據(jù)自己的需要任意編輯,加音樂的數(shù)量可以自己定,這里加兩個(gè),一般一個(gè)即可。
本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)
點(diǎn)擊舉報(bào)。