和胜股份股票行情牛叉:有人是博客吗?谁能叫叫我怎么在主页上插播音乐,别人一打开就能听到。

来源:百度文库 编辑:神马品牌网 时间:2024/04/30 01:45:27
最好详细一点!谢谢!

你说的是播放背景音乐吧?
以下是网页背景音乐的代码:
<embed src="1.mid" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="1" height="1"></embed>
1.mid表示音效文件
<embed src="1.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="1" height="1"></embed>
上面的网页背景音乐代码可以加入FLASH动画的绝对地址(或相对地址)
<embed width=1 height=1 autostart="true" loop="true" controls=PlayButton console=clip1 nolabels=true type="audio/x-pn-realaudio-plugin" src="1.ram"> </embed>
ram格式的音乐文件专用网页背景音乐代码:
<embed src="1.mid" align="center" border="0" width="1" height="1" width="100" autostart="true" loop="true">
指定播放器的大小(width、heigh)、是否自动(autostart标记)、是否循环播放(loop标记),而浏览者则可以自主地决定是否播放音乐。

可以把你所选择的代码放到你的博客设置或是博客介绍里

那要会一点点的HTML语言吧!

看一下带音乐网页的原文件就知道怎么在自己的网页里加音乐了。