<img src="图片地址" width="宽度" height="高度" border="0"></img>
不指定图片的宽和高(不输入width和height)时图片按原大小显示,border指定图片的边框大小,为0时不显示边框
例:
<img src="http://imgcache.qq.com/qzone/web/photo_001.jpg" width="92" height="92" border="0"></img>
插入wmv、asf、wpl、rm、rmvb、ram等结尾的媒体:
<embed src="媒体地址" autostart="是否自动开始" loop="是否循环播放" width="宽度" height="高度"></embed>
其中autostart和loop的值只能是true(是)或者false(否)
例:
Windows Media Player
<embed src="http://www.space163.com/wonzone/qzone/userlist.wpl" autostart="true" loop="true" width="320" height="240"></embed>
RealPlayer
<embed src="http://www.hunantv.com/video/yl/yl_xietingfeng_1.rm" autostart="true" loop="true" width="320" height="240"></embed>
插入flash动画:
<embed src="flash地址" quality="清晰度" width="宽度" height="高度" wmode="背景模式"></embed>
其中quality=指定动画的清晰度,值分别是high(高),middel(中),low(低),wmode=的值为"transparent"时背景透明
例:(各参数的值中双引号可以不要)
<embed src=http://www.space163.com/wonzone/qzone/clock.swf quality=high width=210 height=210 wmode=transparent></embed>
插入自定义的链接:
<a href="链接地址" target="链接目标窗口">链接说明文字</a>
其中的target=经本人测试在Q-ZONE浏览器中是无谓地,但是在ie中有用:),它的值可以自定义,基本上都是:_blank,_self,_parent,_top等
链接说明文字指的是用户看到的文字,当鼠标移到这些文字上面时呈手的形状
例:
<a href="http://8018652.q-zone.qq.com" target="_blank">云舞王子的QQ空间</a>
插入一个框架:(这里不解释含义啦,好累...)
天气预报为例:(TX封了插入iframe的代码,请参考10月15号我发表的相关日志)
<iframe src=http://weather.qq.com/inc/ss295.htm width=190 height=190 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no></iframe>
修改背景图片的: getElementById(’Mlogo’).style.background=’url(表格背景地址)’; style="display:none;"></img>
上面两个都改:
<img src="&#106avascript:document.getElementById(’Mlogo’).style.background=’url(表格背景地址)’;document.getElementById(’all’).style.background=’url(背景地址)’;" style="display:none;"></img>
分别用自己的图片地址替换上面相应的位置就可以了,这里顺便说明背景和表格背景的规格:
背景图片的规格:宽=925,高=655(象素)
背景图片的规格:宽=643或651都
<img src="&#106avascript:document.getElementById(’all’).style.background=’url(背景图片地址)’;" style="display:none;"></img>
修改自定义下面那个表格的背景:
<img src="&#106avascript:document.可以,高=58(象素) 作者:佚名,来源:免费网,推荐:★★★★★
阅读2663次,0次(顶一下)