常用代码收集
相关代码 显示效果(说明)
[url] http://www.phpwind.net[/url] http://www.phpwind.net
[url=http://www.aaa.com/]http://www.AAA.com[/url]
带下划线可在新窗口打开的超级链接
[url=http://www.phpwind.net] PHPwind[/url] PHPwind[email]fengyu@163.com [/email] fengyu@163.com
[email=fengyu@163.com] email me[/email] email me
[b] 粗体字[/b] 粗体字
[i] 斜体字[/i] 斜体字
[u] 下划线[/u] 下划线
[size=4] 改变字体大小[/size] 改变字体大小
[font= 楷体_gb2312] 改变字体[/font] 改变字体
[color=red] 改变颜色[/color] 改变颜色
[fly]飞行文字特效 [/fly] 飞行文字特效<marquee width="98%" behavior="alternate" scrollamount="3">文字</marquee>
[move]滚动文字特效 [/move] 滚动文字特效
移动字: [move]移动字[/move] 移动文字特效<marquee width="98%" scrollamount="3">文字</marquee>
发光字:
[glow=255(宽度),red(颜色),1(边界)]
要产生光晕效果的文字[/glow] 要产生彩色发光效果的文字 发光字<table width=100 style="filter:glow(color=red, strength=2)"><tr><td>文字</td></tr></table>
阴影字:
<table width=100 style="filter:shadow(color=red, direction=2)"><tr><td>文字</td></tr></table>
[align=center(可以是向左left,向右right)]位于中间 [/align]A: [align=center]居中显示[/align] 居中显示
B: [align=left]居左显示[/align] 居左显示
C: [align=right]居右显示[/align] 居右显示
[img] http://www.phpwind.net/logo.gif[/img] 贴图
[flash=400,300]http://www.phpwind.net/wind.swf [/flash] 将显示flash文件[iframe]http://www.phpwind.net[/iframe] 将在帖子中粘贴网页(后台默认关闭)
插入代码: [code]内容[/code] 插入代码
[quote] 被引用的内容,主要作用是在发帖时引用并回复具体楼层的帖子 [/quote]
音乐播放常用代码:
WMV音视频播放: [mp]文件地址[/mp]
[wmv=314,256,1]文件地址[/wmv]
[wmv]文件地址[/wmv] 有显示图形窗口
[mp3]文件地址[/mp3] 只显示播放器
RM音视频播放: [rm=316,241,1]文件地址[/rm]
[rm]文件地址[/rm][rma]文件地址[/rma] RM音频
[rmv]文件地址[/rmv] RM视频
flash文件播放: [flash=400,300]文件地址[/flash]
[flash]文件地址[/flash]
[swf]文件地址[/swf]
<EMBED src="rm mp3 mid地址" width=150 height=25 type=audio/x-pn-realaudio-plugin
controls="ControlPanel" autostart="true">
非自动播放:
<EMBED src="rm mp3地址" width=248 height=66 type=audio/x-pn-realaudio-plugin border="0">
隐藏mp3播放器:
<embed width="0" height="0" src="MP3地址" type="application/x-shockwave-flash"></embed>
标准型:
<embed src="文件地址" pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=media&sba=plugin&" type="application/x-
mplayer2" border="0" width="100%" showcontrols="1" showaudiocontrols="1" showstatusbar="1"
autostart="1" loop="0" enablecontextmenu="1"></embed>
RM音视频播放标准型:
<embed src="文件地址" type="audio/x-pn-realaudio-plugin"controls="ImageWindow,ControlPanel,StatusBar" border="0" width="100%" height="200"
autostart="1" loop="0"></embed>
3、视频常用播放器[MTV]<embed src="视频地址" type="audio/x-pn-realaudio-plugin" console="Clip1"
controls="ControlPanel,StatusBar" height="330" width="450" autostart="true">
4、插入背景音乐的代码:
<bgsound src="mp3 mid地址" loop="-1">
5、放透明flash的代码:
<embed style="; LEFT: 50px; TOP: -80px;" src=flash地址 width=700 height=780
wmode="transparent">
简易型:
<EMBED src=文件地址 style="HEIGHT: 45px; WIDTH: 190px" type=audio/mpeg AUTOSTART="1"loop="0">
</EMBED>标签型:
<embed width=240 height=140 transparentatstart=true animationatstart=false autostart=trueautosize=false volume=100 displaysize=0 showdisplay=true showstatusbar=true
showcontrols=true showaudiocontrols=true showtracker=true showpositioncontrols=true
balance=true src="文件地址">
</embed>标准型:
<embed src="文件地址" pluginspage="http://www.macromedia.com/go/getflashplayer"type="application/x-shockwave-flash" wmode="transparent" quality="high"
width="100%"></embed>
≡音乐日志HTML教材≡
≡贴背景音乐≡
1、常用格式(隐藏了播放器循环播放)代码:<BGSOUND balance=0 src="歌曲网址" volume=0 loop=infinite>
或:<EMBED SRC=歌曲网址 LOOP=TRUE AUTOSTART=TRUE HIDDEN=TRUE>
2、标准方式音乐(不循环)
代码:<embed src="歌曲网址" width="260" height="100" autostart="true" loop="true"align="middle" volume="200" type="audio/x-pn-realaudio-plugin" exts="ra,ram" init fn="load-
types" mime-types="mime.types"> 把height=0 和width=0 的属性均调到0或者是1就隐藏了
3、精简方式音乐(不循环)代码:<embed src="歌曲网址" type="audio/x-pn-realaudio-plugin"
controls="controlpanel,statusbar" height=45 width=150 autostart="true" loop="true">
把height=0 和width=0 的属性均调到0或者是1就隐藏了
大家看到的那些漂亮的贴图多是加了一些代码,这些代码就是html代码,一般是不需要了解这些html代码
的意义,但是最简单的一些html代码是需要理解的,对调试特殊效果有帮助,这里我提供一些简单的html
代码解释和使用方法,需要了解更多可以参照有关这方面的教程。最简单的编辑软件是Frontpage
<table>标记的主要属性:
center 表格居中对齐,同类属性还有:left(向左对齐)right (向右对齐)
border="1" 边框厚度 不同浏览器有不同的内定值,故请指明.
width="300" 边框宽度 属性值是数字 接受绝对值(如 80)及相对值(如 80%)
height="300" 边框高度 属性值是数字
cellspacing="10" 单元格内容与单元格边框之间的距离 表格格线的厚度,属性值是数字
cellpadding="2" 文字与格线的距离,即表格中单元格之间的距离
bgcolor="#FF0000" 表格的背景颜色RGB,如果有背景图片可不用,即与 background 不要同用
background="rotile2.jpg" 表格的背景图片,与 bgcolor 不要同用。
bordercolor="#FFFF00" 表格边框颜色,NC 与 IE 有不同的效果。
bordercolorlight="#00FF00" 表格边框向光部分的颜色。
bordercolordark="##0000FF" 表格边框背光部分的颜色,使用 bordercolorlight 或
bordercolordark
时 bordercolor 将会失效。<br> 换行代码
一个完整的HTML帖子应该是:
美贴=背景+文章+插图+音乐+收尾
原代码如下:
<TABLE align=center background="背景图片网址" border=10 cellSpacing=2 borderColor=#841A00width=500><TBODY><TR><TD>
帖子的文章加图片
</TD></TR></TBODY></TABLE>注意:前边用了多少<table......><tr><td>后面就要有多少</td></tr></table>收尾。多收和少收都会
使帖子出错哦
常用的参数设定及注解:
<table width="400" border="10" cellspacing="2" cellpadding="2" align="CENTER" valign="TOP"background="图片网址" bgcolor="#0000FF" bordercolor="#CF0000" bordercolorlight="#00FF00"
bordercolordark="#00FFFF">
width="400" 表格宽度,接受绝对值(如 500)及相对值(如 80%)。
border="10" 表格边框的厚度
cellspacing="2" 表格格线的厚度
cellPadding=5 表格格线内厚度
align="CENTER" 表格的摆放位置(水平),可选值为:左: left, 右: right, 居中: center
valign="TOP". 表格内内容的对齐方式(垂直),可选值为: top, middle, bottom。
background="背景图片网址" 表格的背景图片,与 bgcolor 不要同用。
bgcolor="#0000FF" 表格的底色,与 background 不要同用
bordercolor="#CF0000" 表格边框颜色
bordercolorlight="#00FF00" 表格边框向光部分的颜色 bordercolordark="#00FFFF" 表格边框背光部分的颜色,
使用 bordercolorlight 或 bordercolordark 时 bordercolor 将会失效.
基本代码如下:
<P align=center><FONT color=#CFCF88 face=华文行楷 size=5>插入文字</FONT></P>
<P align=center>表示居中,<P align=left>表示居左,<P align=right>表示居右。
face=字体 常用字体为:宋体.黑体.楷体.仿宋.华文行楷.新宋体.华文新魏等 size=字体大小,这里的最大值为7 取值越大文字就越大
另一种贴法: <font style=font:40pt face=新宋体 color=#ff0000>插入文字</font>
font:40pt 数值越大文字就越大。
color=颜色代码。下面是颜色选择器,大家可以自己选择:
Iframe Close: http://ljh.av1.cn/color.htm
方法一:
<TABLE style="LEFT: -220px; WIDTH: 1000px; ; TOP: 250px" cellSpacing=0cellPadding=10 width="100%"><TBODY><TR><TD width="100%"><DIV align=center>帖子内容
</div></td></tr></table><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
方法二:
<TABLE style="LEFT: -220px; WIDTH: 1000px; ; TOP: 250px" cellSpacing=0cellPadding=10 width="100%"><TBODY><TR><TD width="100%"><DIV align=center><IFRAME
marginWidth=0 marginHeight=0 src=空间贴地址 frameBorder=0 width=1000 scrolling=no
height=580></IFRAME></div></td></tr></table><br><br><br><br><br><br><br><br><br><br><br><br>
<br><br><br><br>
方法三:
<DIV style="LEFT: -220px; WIDTH: 1000px; ; TOP: 250px"><IFRAMEmarginWidth=0 marginHeight=0 src=空间贴地址 frameBorder=0 width=1000 scrolling=no
height=580></IFRAME></DIV><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
切记:在代码结尾处请加几个换行代码<br>,以免高度不够而覆盖了编辑键..
收藏的一些音画帖子外套和代码 可以直接套用A:
<table style="LEFT: -190px; WIDTH: 950px; ; TOP: 80px"
cellspacing="52" bordercolordark="#000000" cellpadding="0" width="850" align="center"
bordercolorlight="#565758" background="http://bbs.xxjy.net/UploadFile/2005-
4/2005426113118218.jpg" border="0"><tbody><tr><td width="100%"><table cellspacing="3"
bordercolordark="#000000" cellpadding="0" width="100%" bordercolorlight="#565758"
background="http://bbs.xxjy.net/UploadFile/2005-4/2005426113124842.jpg"
border="1"><tbody><tr><td width="100%"><div align="center" twffan="done"><table
cellspacing="3" bordercolordark="#000000" cellpadding="0" width="100%"
bordercolorlight="#565758" background="http://bbs.xxjy.net/UploadFile/2005-
4/2005426113124842.jpg" border="1"><tbody><tr><td width="100%"><div align="center"
twffan="done"><table cellpadding="0" width="100%"
background="http://bbs.xxjy.net/UploadFile/2005-4/2005426113141486.jpg"
border="0"><tbody><tr><td width="100%"><div align="center" twffan="done"><table
cellspacing="3" bordercolordark="#000000" cellpadding="0" width="100%"
bordercolorlight="#565758" background="http://bbs.xxjy.net/UploadFile/2005-
4/2005426113124842.jpg" border="1"><tbody><tr><td width="100%"><div align="center"
twffan="done"><table cellspacing="3" bordercolordark="#000000" cellpadding="0" width="100%"
bordercolorlight="#565758" background="http://bbs.xxjy.net/UploadFile/2005-
4/2005426113124842.jpg" border="1"><tbody><tr><td width="100%"><div align="center"
twffan="done"><table cellspacing="10" cellpadding="0" width="100%"
background="http://bbs.xxjy.net/UploadFile/2005-4/200542611321679.jpg"
border="0"><tbody><tr><td width="100%"><div align="center" twffan="done"><table
cellspacing="10" bordercolordark="#000000" cellpadding="0" width="100%"
bordercolorlight="#565758" background="http://bbs.xxjy.net/UploadFile/2005-
4/2005426113210702.jpg" border="1"><tbody><tr><td width="100%"><div align="center"
twffan="done"><table cellspacing="0" cellpadding="0" width="92%"
background="http://bbs.xxjy.net/UploadFile/2005-4/200542611321679.jpg"
border="0"><tbody><tr><td width="100%"><div align="center" twffan="done"><p
align="center"><img src="http://bbs.xxjy.net/UploadFile/2005-4/2005426113223722.gif"
twffan="done" /></p><div align="center" twffan="done"><center><p align="center" /><p
align="center"><img src="http://bbs.xxjy.net/UploadFile/2005-4/200542611316743.gif"
twffan="done" /></p></font /><p align="center"><img
src="http://bbs.xxjy.net/UploadFile/2005-4/2005426113230803.gif" twffan="done"
/></p><center><font style="FONT-SIZE: 25pt; FILTER: shadow(color=black); WIDTH: 100%; COLOR:
#fef8c0; LINE-HEIGHT: 150%; FONT-FAMILY: 华文正楷"><b>你的内容</b></font></center><p
align="center"><img src="http://bbs.xxjy.net/UploadFile/2005-4/2005426113157675.gif"
twffan="done"
/></p></center></div></div></td></tr></tbody></table></div></td></tr></tbody></table></div><
/td></tr></tbody></table></div></td></tr></tbody></table></div></td></tr></tbody></table></d
iv></td></tr></tbody></table></div></td></tr></tbody></table></div></td></tr></tbody></table
><div twffan="done"></div></td></tr></tbody></table><br /><br /><br /><br /><br /><br /><br
/><br /><br /><br /><br /><br /><br /><div twffan="done"></div><br /><br /><br /><br /><br
/>
B:
<P align=center> <TABLE style="LEFT: -180px; WIDTH: 900px; ;
TOP: 80px" cellSpacing=32 borderColorDark=#4a5464 cellPadding=0 width=800 align=center
borderColorLight=#566478 background=http://bbs.xxjy.net/UploadFile/2005-
4/2005430141221965.jpg border=1> <TBODY> <TR> <TD> <TABLE cellSpacing=17
borderColorDark=#4a5464 cellPadding=0 width="100%" align=center borderColorLight=#566478
background=http://bbs.xxjy.net/UploadFile/2005-4/2005430141234742.jpg border=1> <TBODY> <TR>
<TD> <TABLE cellSpacing=0 cellPadding=10 width="100%" align=center
background=http://bbs.xxjy.net/UploadFile/2005-4/2005430141257331.jpg border=0> <TBODY> <TR>
<TD> <TABLE cellSpacing=0 borderColorDark=#4a5464 cellPadding=25 width="100%" align=center
borderColorLight=#566478 background=http://bbs.xxjy.net/UploadFile/2005-
4/2005430141234742.jpg border=1> <TBODY> <TR> <TD> <TABLE cellSpacing=0
borderColorDark=#4a5464 cellPadding=7 width="100%" align=center borderColorLight=#566478
background=http://bbs.xxjy.net/UploadFile/2005-4/2005430141234742.jpg border=1> <TBODY> <TR>
<TD> <TABLE cellSpacing=0 borderColorDark=#4a5464 cellPadding=3 width="100%" align=center
borderColorLight=#566478 background=http://bbs.xxjy.net/UploadFile/2005-
4/2005430141257331.jpg border=1> <TBODY> <TR> <TD align=middle> <TABLE cellSpacing=0
borderColorDark=#4a5464 cellPadding=0 width="99%" align=center borderColorLight=#566478
background=http://bbs.xxjy.net/UploadFile/2005-4/2005430141335602.jpg border=1> <TBODY> <TR>
<TD align=middle> <P align=center><FONT style="FONT-SIZE: 20pt; FILTER: shadow(color=black);
WIDTH: 100%; COLOR: #b0c4de; LINE-HEIGHT: 150%; FONT-FAMILY: 华文彩云">你的内容</FONT></P>
<P align=center><IMG src="http://bbs.xxjy.net/UploadFile/2005-4/2005430141213248.gif">
<BR><BR></P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></
TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBOD
Y></TABLE><BR></P> <DIV></DIV><BR><BR><BR><BR><BR>
C:
[code] <DIV align=center> <TABLE style="LEFT: -220px; WIDTH: 1000px;
relative; TOP: 80px" align=center <br><BR> <TBODY> <TR> <TD> <TABLE cellSpacing=25
borderColorDark=#800000 cellPadding=0 width="100%" align=center borderColorLight=#8b0000
background=http://tietu.znrsw.com/UploadFile/2004-11/2004115205353491.jpg border=0> <TBODY>
<TR> <TD> <TABLE cellSpacing=15 borderColorDark=#800000 cellPadding=0 width="100%"
align=center borderColorLight=#8b0000 background=http://www.znrsw.com/bbs/UploadFile/2004-
12/20041225221653641.gif border=1> <TBODY> <TR> <TD width="100%"> <TABLE cellSpacing=5
cellPadding=0 width="100%" align=center background=http://www.znrsw.com/bbs/UploadFile/2004
-12/20041225224613389.jpg border=0> <TBODY> <TR> <TD width="100%"> <TABLE cellSpacing=12
borderColorDark=#800000 cellPadding=0 width="100%" align=center borderColorLight=#8b0000
background=http://tietu.znrsw.com/UploadFile/2004-11/2004115205353368.jpg border=1> <TBODY>
<TR> <TD width="100%"> <TABLE cellSpacing=5 cellPadding=0 width="100%" align=center
background=http://www.znrsw.com/bbs/UploadFile/2004-12/20041225224613389.jpg border=0>
<TBODY> <TR> <TD width="100%"> <TABLE cellSpacing=15 borderColorDark=#800000 cellPadding=0
width="100%" align=center borderColorLight=#8b0000
background=http://www.znrsw.com/bbs/UploadFile/2004-12/20041225221653641.gif border=1>
<TBODY> <TR> <TD width="100%"> <TABLE cellSpacing=0 cellPadding=0 width="100%" align=center
background=http://tietu.znrsw.com/UploadFile/2004-11/2004115205353368.jpg border=0> <TBODY>
<TR> <TD width="100%"> <P align=center></P> <CENTER><FONT style="FONT-SIZE: 45pt; FILTER:
glow(color=#CC33AE); WIDTH: 100%; COLOR: #e4dc9b; LINE-HEIGHT: 150%; FONT-FAMILY: 华文行楷">
<P><B>你的内容
</B></P></FONT></CENTER></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBOD
Y></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD
></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><BR><BR><BR><BR></DIV>[/code]
D:
<TABLE style="LEFT: -200px; WIDTH: 970px; ; TOP: 80px"cellSpacing=40 align=center bgColor=#b6b4b2
background=http://www.616bbs.com/picture/xx9/bj/bj7/5.gif> <TBODY> <TR> <TD> <DIV
align=center> <TABLE cellSpacing=5 borderColorDark=#515151 cellPadding=0 width="95%"
borderColorLight=#9b9b9b background=http://www.616bbs.com/picture/xx9/bj/bj7/6.gif border=1>
<TBODY> <TR> <TD width="100%"> <DIV align=center> <TABLE cellSpacing=5
borderColorDark=#828282 cellPadding=0 width="100%" borderColorLight=#b4b4b4
background=http://www.616bbs.com/picture/xx9/bj/bj7/7.gif border=1> <TBODY> <TR> <TD
width="100%"> <DIV align=center> <TABLE cellSpacing=5 borderColorDark=#9b9b9b cellPadding=0
width="100%" borderColorLight=#e6e6e6
background=http://www.616bbs.com/picture/xx9/bj/bj7/6.gif border=1> <TBODY> <TR> <TD
width="100%"> <DIV align=center> <TABLE cellSpacing=5 borderColorDark=#9b9b9b cellPadding=0
width="100%" borderColorLight=#e6e6e6
background=http://www.616bbs.com/picture/xx9/bj/bj7/7.gif border=1> <TBODY> <TR> <TD
width="100%"> <P align=center><FONT face=仿宋_GB2312 size=7><B>你的内容
</B></FONT></P></TD></TR></TBODY></TABLE></DIV></TD></TR></TBODY></TABLE></DIV></TD></TR></T
BODY></TABLE></DIV></TD></TR></TBODY></TABLE></DIV></TD></TR></TBODY></TABLE><BR><BR>
E:
</B> <TABLE style="LEFT: -210px; WIDTH: 980px; ; TOP: 80px"
cellSpacing=66 width="100%" align=center
background=http://www.616bbs.com/picture/xx9/bj/ltbj9/2.jpg border=0> <TBODY> <TR><FONT
class=news> <TD> <DIV align=center> <TABLE cellSpacing=10 borderColorDark=#060c02
cellPadding=0 width="100%" borderColorLight=#a9b5a1
background=http://www.616bbs.com/picture/xx9/bj/ltbj9/12.jpg border=1> <TBODY> <TR> <TD
width="100%"> <DIV align=center> <TABLE cellPadding=0 width="100%"
background=http://www.616bbs.com/picture/xx9/bj/ltbj6/10.jpg border=0> <TBODY> <TR> <TD
width="100%"> <DIV align=center> <TABLE cellSpacing=10 borderColorDark=#060c02 cellPadding=0
width="100%" borderColorLight=#a9b5a1
background=http://www.616bbs.com/picture/xx9/bj/ltbj9/12.jpg border=1> <TBODY> <TR> <TD
width="100%"> <DIV align=center> <TABLE cellPadding=0 width="100%"
background=http://www.616bbs.com/picture/xx9/bj/ltbj6/10.jpg border=0> <TBODY> <TR> <TD
width="100%"> <DIV align=center> <TABLE cellSpacing=10 borderColorDark=#060c02 cellPadding=0
width="100%" borderColorLight=#a9b5a1
background=http://www.616bbs.com/picture/xx9/bj/ltbj9/11.jpg border=1> <TBODY> <TR> <TD
width="100%"> <DIV align=center> <TABLE cellSpacing=25 cellPadding=0 width="100%"
background=http://www.616bbs.com/picture/xx9/bj/ltbj9/8.jpg border=0> <TBODY> <TR> <TD
width="100%"> <DIV align=center> <TABLE cellSpacing=1 borderColorDark=#060c02 cellPadding=0
width="100%" borderColorLight=#a9b5a1
background=http://www.616bbs.com/picture/xx9/bj/ltbj9/9.jpg border=1> <TBODY> <TR> <TD
width="100%"> <P align=center><IMG
src="http://hisen.myrice.com/anibase/nature/star/star05.gif"><IMG
src="http://hisen.myrice.com/anibase/nature/star/star05.gif"><IMG
src="http://hisen.myrice.com/anibase/nature/star/star05.gif"></P> <P align=center><FONT
style="FONT-SIZE: 70pt; FILTER: glow(color=black); WIDTH: 100%; COLOR: #ff66cc; LINE-HEIGHT:
150%; FONT-FAMILY: 123"><B>你的内容</B></FONT></P> <P align=center><IMG
src="http://hisen.myrice.com/anibase/nature/star/star05.gif"><IMG
src="http://hisen.myrice.com/anibase/nature/star/star05.gif"><IMG
src="http://hisen.myrice.com/anibase/nature/star/star05.gif"><IMG
src="http://hisen.myrice.com/anibase/nature/star/star05.gif"></P></FONT></B></TD></TR></TBOD
Y></TABLE></DIV></TD></TR></TBODY></TABLE></DIV></TD></TR></TBODY></TABLE></DIV></TD></TR></
TBODY></TABLE></DIV></TD></TR></TBODY></TABLE></DIV></TD></TR></TBODY></TABLE></DIV></TD></T
R></TBODY></TABLE></DIV></TD></FONT></TR></TBODY></TABLE><BR><BR><BR><BR><BR><BR><BR><BR><BR
><BR> <DIV></DIV> <DIV></DIV><BR><BR><BR><BR><BR>
HTML成品代碼----壹學就會不懂html语言的朋友也可以做一幅漂亮的图,只要复制这些代码。换上你自已喜欢的图片网址或者动画网
址,,一幅属于你的大作就产生了.
边框:
1.两层<P ALIGN=CENTER>
<TABLE cellSpacing=10 cellPadding=8 width=480 bgColor=#000000 border=1>
<TBODY><TR><TD><TABLE cellSpacing=2 cellPadding=2 width=480 bgColor=#000000 border=0>
<TBODY><TR><TD>加入内容</td></tr></tbody></table></td></tr></tbody></table>
2.八层
<TABLE cellSpacing=0 cellPadding=4 width="95%" align=centerbackground=http://www.enchantingdesignz.com/linkware/parker/p2strip.jpg border=0>
<TBODY>
<TR>
<TD>
<TABLE height=315 cellSpacing=0 cellPadding=15 width="100%"background=http://www.enchantingdesignz.com/linkware/parker/p2background.jpg border=0>
<TBODY>
<TR>
<TD>
<TABLE height=355 cellSpacing=0 cellPadding=2 width="100%"background=http://www.enchantingdesignz.com/linkware/parker/p2strip.jpg border=0>
<TBODY>
<TR>
<TD>
<TABLE height=387 cellSpacing=0 cellPadding=2 width="100%"background=http://www.enchantingdesignz.com/linkware/parker/p2background.jpg border=0>
<TBODY>
<TR>
<TD>
<TABLE height=365 cellSpacing=0 cellPadding=2 width="100%"background=http://www.enchantingdesignz.com/linkware/parker/p2strip.jpg border=0>
<TBODY>
<TR>
<TD>
<TABLE cellSpacing=0 cellPadding=15 width="100%"background=http://www.enchantingdesignz.com/linkware/parker/p2background.jpg border=0>
<TBODY>
<TR>
<TD>
<DIV align=center>
<TABLE height=362 cellSpacing=0 cellPadding=2 width="100%"background=http://www.enchantingdesignz.com/linkware/parker/p2strip.jpg border=0>
<TBODY>
<TR>
<TD>
<DIV align=center>
<TABLE height=361 cellSpacing=0 cellPadding=4 width="100%"background=http://www.enchantingdesignz.com/linkware/parker/p2background.jpg border=0>
<TBODY>
<TR>
<TD>
<TABLE height=204 cellSpacing=0 cellPadding=4 width="100%" border=0>
<TBODY>
<TR>
<TD>
加入内容
</TD></TR></TBODY></TABLE></DIV></TD></TR></TBODY></TABLE></DIV></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBOD
Y></TABLE></TD></TR></TBODY></TABLE>
3.三层
<CENTER><TABLE cellSpacing=10 cellPadding=2 width=450 bgColor=#000000border=1><TR><TD><TABLE cellSpacing=8 cellPadding=10 width=450 bgColor=#000000
border=1><TR><TD><CENTER><TABLE cellSpacing=8 cellPadding=10 width=450
background=http://tech.china.com/zh_cn/home4u/sucai/gifanimation/line/0153.gif
border=0><TR><TD>加入内容</TD></TR></TABLE></CENTER></TD></TR></TABLE></TD></TR></TABLE>
4.一层
<TABLE cellSpacing=1 cellPadding=0 width="100%" align=centerbackground=http://pugongyingw.51.net/image/bj/10.jpg border=5>
<TBODY>
<TR>
<TD>加入内容</TD></TR></TBODY></TABLE>
5.两层
<CENTER>
<TABLE borderColor=#0000ff cellSpacing=0 borderColorDark=#ffffff cellPadding=0 width=480border=1>
<TBODY>
<TR>
<TD>
<TABLE cellSpacing=5 cellPadding=5 width=430 align=centerbackground=http://znrs.2000y.net/UploadFile/2004-6/200467181958882.jpg border=0>
<TBODY>
<TR>
<TD>
加入内容
</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
</CENTER>
隐藏图片里加上透明FLASH素材 透明FLASH宽度和高度原则应比图片宽度和高度小一些,添加透明FLASH
可以一个或两个甚至更多,自定
代码如下:
<P align=center>
<TABLE border=0>
<TBODY>
<TR>
<TD style="FILTER: Alpha(opacity=100,style=2)" width=255background=http://www.vicn.net/UploadFile/2004-7/20047301729519.gif height=300>
<P><B><EMBED align=right src=http://mouse520.51.net/flash/36.swf width=255 height=300type=application/octet-stream wmode="transparent" quality="high"
;;></EMBED></B></P></TD></TR></TOBDY></TBODY></TABLE></P>
标鉴做贴攻略及常用字体(新手必看)
QUOTE:
一:背景原代码如下:
<TABLE align=center background="帖子背景图" border=0 cellPadding=0 cellSpacing=0
borderColor=#ffff00 width="100%"><TBODY><TR><TD>
帖子内容,文字或图片.....
</TD></TR></TBODY></TABLE><TABLE> 的参数设定(常用):
<table width="400" border="1" cellspacing="2" cellpadding="2" align="CENTER" valign="TOP"background="myweb.gif" bgcolor="#0000FF" bordercolor="#CF0000" bordercolorlight="#00FF00"
bordercolordark="#00FFFF" cols="2">
QUOTE:
注解:width="400"
表格宽度,接受绝对值(如 80)及相对值(如 80%)。border="1"
表格边框的厚度,不同浏览器有不同的内定值,故请指明。cellspacing="2"
表格格线的厚度align="CENTER"
表格的摆放位置(水平),可选值为: left, right, centervalign="TOP".
表格内内容的对齐方式(垂直),可选值为: top, middle, bottom。background="myweb.gif"
表格的背景图片,与 bgcolor 不要同用。bgcolor="#0000FF"
表格的底色,与 background 不要同用bordercolor="#CF0000"
表格边框颜色bordercolorlight="#00FF00"
表格边框向光部分的颜色bordercolordark="#00FFFF"
表格边框背光部分的颜色,使用 bordercolorlight 或 bordercolordark 时 bordercolor 将会失效。cols="2"
表格栏位数目,只是让浏览器在下载表格时先画出整个表格而已。
添加多个透明FLASH语法
代码如下:
<P align=center>
<TABLE border=0>
<TBODY>
<TR>
<TD style="FILTER: Alpha(opacity=100,style=2)" width=255background=http://www.vicn.net/UploadFile/2004-7/20047301729519.gif height=300>
<P><B><EMBED align=right src=http://mouse520.51.net/flash/36.swf width=255 height=300type=application/octet-stream wmode="transparent" quality="high"><EMBED
pluginspage=http://www.macromedia.com/go/getflashplayer align=right src=http://bg.e-
yu.cn/fh/3/31.swf width=255 height=300 type=application/x-shockwave-flash quality="high"
wmode="transparent"><EMBED align=right src=http://wanruo.jahee.com/jpsc/flash/19.swf
width=255 height=300 type=application/octet-stream quality="high"
wmode="transparent"></EMBED></B></P></TD></TR></TOBDY></TBODY></TABLE></P>
评论