梅风剑的博客世界欢迎你- -| 回首页 | 2006年索引 | - -朦胧代码

文字特效代码/常用字体颜色/

                                      

常用字体颜色:
浅绿----aqua 黑----black 兰----blue 紫红----fuchsia,
灰----gray 绿----green 亮绿----lime 茶----maroon,
深兰----navy 橄榄----olive 紫----pourple 红---red,
银----silver 青----teal 白----white 黄----yellow
紫红--purple
贴内背景公式:
<*center><*table cellpadding=0 cellspacing=0 border=0 WIDTH=100% align=center table background="内背景图片地址"

width=720><*tr><*td><*center>
。。。。。。
(要贴的内容--图片或文字)
。。。。。。
<*td><*/table>

图片向左移动
<*marquee directio=left><8img src="图片地址"><*/marquee>

文字向左移动
<*marquee directio=left><*font size=? color=?>文字部分<*/font><*/marquee>

贴FLASH
<*embed src="★"width="660"height="450">

藏歌

<*embed src="★"HIDDEN=TRUE AUTOSTART=TRUE LOOP=TRUE>

帖子外背景底图
<*body background="地址">

外背景底图图不动
<*body background="地址" bgproperties="fixed">

图片居中
<
*center><
*img src="图片地址">


贴播放器
<
*embed src="
http://qhcn.net/luntan/http://mp3.baidu.com/r?url=http://fchen.sosoo.net/music/pop/469.mp3"\' target=_blank>   

">http://mp3.baidu.com/r?url=http://fchen.sosoo.net/music/pop/469.mp3" width=480 height=35 controls=ControlPanel loop=true

autostart=true volume=100 type=audio/x-pn-realaudio-plugin Initfn=load-types mime-types=mime.types>   
    
交替舞动的蝴蝶
<*FONT COLOR=GREEN><*marquee behavior="alternate"scrollamount=8 direction=right><*b><*font color=#7700bb size=6><*FONT

color=red><*MARQUEE behavior=alternate direction=up height=150 width=50><*img

src=http://www.fyj.cn/dhome/dimg/4013.gif><*/MARQUEE><*FONT color=orange><*MARQUEE behavior=alternate direction=up

height=200 width=50><*img src=http://www.fyj.cn/dhome/dimg/4013.gif><*/MARQUEE><*FONT color=Fuchsia><*MARQUEE

behavior=alternate direction=up height=150 width=50><*img src=http://www.fyj.cn/dhome/dimg/4013.gif><*/MARQUEE><*FONT

color=olive><*MARQUEE behavior=alternate direction=up height=200 width=50><*img

src=http://www.fyj.cn/dhome/dimg/4013.gif><*/MARQUEE><*FONT COLOR=GREEN><*MARQUEE behavior=alternate direction=up height=150

width=50><*img src=http://www.fyj.cn/dhome/dimg/4013.gif><*/MARQUEE><*FONT color=red><*MARQUEE behavior=alternate

direction=up height=200 width=50><*img src=http://www.fyj.cn/dhome/dimg/4013.gif></MARQUEE><FONT color=orange>
  ***************************************************************  
带框的背景
<*center><*table border="5" background=http://szg01.myrice.com/bg5.gif width="600" height="440" >

<*td><*/table>

<center><table border="5" background=http://szg01.myrice.com/bg5.gif width="600" height="440" >

<td></table>
**********************


文字向上滚注意文字分行并拉开行距:<*marquee direction=up scrollamount=3>
<*center><*font color="lime" size="5" face="隶书">贴图网的朋友们好<*/font>
<*/marquee>

<marquee direction=up scrollamount=3>
<center><font color="lime" size="5" face="隶书">贴图网的朋友们好</font>
</marquee>


文字向下滚
<*marquee direction=down scrollamount=3>
<*center><*font color="lime" size="5" face="隶书">祝朋友们天天开心<*/font>
<*/marquee>

<marquee direction=down scrollamount=3>
<center><font color="lime" size="5" face="隶书">祝朋友们天天开心</font>
</marquee>


文字移动速度的设置:

请注意下面语句中的红色属性(文字向左移动,选250比较好)

<marquee direction="left" scrolldelay="250"> <font color="green" size="4" face="华文彩

云"><B>朋友,你好!</B></font></marquee>

IE默认值为60(单位:毫秒)

取值越大,移动越慢(小于60,IE仍默认为60)。

取值60 取值100 取值150 取值200 取值250

常用字体:

宋体 黑体 楷体_GB2312 仿宋_GB2312

新宋体 幼圆 隶书 方正舒体

华文新魏 华文行楷 华文细黑 华文彩云


常用字体颜色:
浅绿----aqua 黑----black 兰----blue 紫红----fuchsia,
灰----gray 绿----green 亮绿----lime 茶----maroon,
深兰----navy 橄榄----olive 紫----pourple 红---red,
银----silver 青----teal 白----white 黄----yellow
紫红--purple

文字示例:(居中)
<center><font color="lime" size="5" face="隶书">不想你走</font>

字体(FONT)标记(TAGS)
标题字体(Header)
<*h#> ... <*/h#> #=1, 2, 3, 4, 5, 6
<*h1>今天天气真好!<*/h1> 今天天气真好!
<*h2>今天天气真好!<*/h2> 今天天气真好!
<*h3>今天天气真好!<*/h3> 今天天气真好!
<*h4>今天天气真好!<*/h4> 今天天气真好!
<*h5>今天天气真好!<*/h5> 今天天气真好!
<*h6>今天天气真好!<*/h6> 今天天气真好!
&#8226; <*hn>---<*/hn> 这些标记显示黑体字。
&#8226; <*hn>---<*/hn> 这些标记自动插入一个空行,不必用 <8p>
标记再加空行。
因此在一行中无法使用不同大小的字体。
字体大小
<*font size=#> ... <*/font> #=1, 2, 3, 4, 5, 6, 7 or +#,
-#
<*basefont size=#> #=1, 2, 3, 4, 5, 6, 7
<*font size=7>今天天气真好!<*/font> 今天天气真好!
<*font size=6>今天天气真好!<*/font> 今天天气真好!
<*font size=5>今天天气真好!<*/font> 今天天气真好!
<*font size=4>今天天气真好!<*/font> 今天天气真好!
<*font size=3>今天天气真好!<*/font> 今天天气真好!
<*font size=2>今天天气真好!<*/font> 今天天气真好!
<*font size=1>今天天气真好!<*/font> 今天天气真好!

指定“字体大小”的标记和“指定字体”的标记的组合使用
<*i><*font size=5>
<*b>今天<*/b> 天气<*font size=6> 真好!<
*/font>
<*/font><*/i>
今天 天气 真好!
字体颜色
指定颜色 <*font color=#> ... <*/font>
#=rrggbb 16 进制数码,或者是下列预定义色彩:
Black, Olive,
Teal, Red, Blue,
Maroon, Navy,
Gray, Lime,
Fuchsia, White,
Green, Purple,
Silver, Yellow,
Aqua

**********************
贴图:
贴图的正确格式是:<*center><*img src="
http://qhcn.net/luntan/http://gallery.2088.com.cn/flower/photo/2/fl036.jpg"%

20target="_blank"%20>\' target=_blank>http://gallery.2088.com.cn/flower/photo/2/fl036.jpg">
<center><img src="
\'">http://qhcn.net/luntan/http://gallery.2088.com.cn/flower/photo/2/fl036.jpg"%20target="_blank"%20>\'

target=_blank>http://gallery.2088.com.cn/flower/photo/2/fl036.jpg">

图片来回移动:(注意指定宽度和高度)
<marquee width=100% behavior=alternate scrollamount=3><img src=

"http://qhcn.net/luntan/http://gallery.2088.com.cn/flower/photo/2/fl036.jpg"\'

target=_blank>">http://gallery.2088.com.cn/flower/photo/2/fl036.jpg" width=300height=150></marquee>
背景图片语法:<*body background="
http://qhcn.net/luntan/http://www.binghe.com/s/yinyue/mid/images/star_back.gif"%

20target="_blank"%20><*/body>\' target=_blank>http://www.binghe.com/s/yinyue/mid/images/star_back.gif"><*/body>

<body background="\'">http://qhcn.net/luntan/http://www.binghe.com/s/yinyue/mid/images/star_back.gif"%20target="_blank"%20>\'

target=_blank>http://www.binghe.com/s/yinyue/mid/images/star_back.gif"></body>
图文居中:
在图文前面加 <*center>


这是透明效果,大家试下,贴时要将* 号去掉.  <*img src="http://qhcn.net/luntan/http://www.quanjing.com/pics/150/high/T05-

1229.jpg"\' target=_blank>http://www.quanjing.com/pics/150/high/T05-1229.jpg" width=300 height=250 style=filter:Alpha

(opacity=100,style=2);>      效果图如下  
<img src="
http://qhcn.net/luntan/http://www.quanjing.com/pics/150/high/T05-1229.jpg"\'

target=_blank>http://www.quanjing.com/pics/150/high/T05-1229.jpg" width=300 height=250 style=filter:Alpha

(opacity=100,style=2);>  

二 几种简单的图片文字滚动代码

<marquee onmouseover=this.stop() onmouseout=this.start()>
鼠标放上去停止滚动,移开继续滚动。</marquee>
<marquee direction=up scrollamount=3 >
文字向上滚。</marquee>
<marquee direction=down scrollamount=3 >
文字下向滚。</marquee>
图片、文字左右移动-代码如下


<marquee width=100% behavior=alternate><img src="http://www.yf13.com/img/logo.gif"></marquee>


<marquee direction="left" scrolldelay="60"> 文字部分</marquee>

IE默认值为60(单位:毫秒)
取值越大,移动越慢(小于60,IE仍默认为60)。

  三 图片滚动代码

<marquee direction=left>
<img src="
http://www.yf13.com/img/logo.gif">
<img src="
http://www.yf13.com/img/logo.gif">
<img src="
http://www.yf13.com/img/logo.gif">
<img src="
http://www.yf13.com/img/logo.gif">
<img src="
http://www.yf13.com/img/logo.gif">
<img src="
http://www.yf13.com/img/logo.gif">
<img src="
http://www.yf13.com/img/logo.gif">
<img src="
http://www.yf13.com/img/logo.gif">
<img src="
http://www.yf13.com/img/logo.gif">
<img src="
http://www.yf13.com/img/logo.gif">
</marquee>
</font>
</table>

四 加入背景音乐代码

<EMBED src=http://www.flamesky.org/raynal-onwer/asoka%20theme..wma.wma hidden=true type=audio/x-ms-wma LOOP="TRUE"

AUTOSTART="TRUE"></EMBED>
所用元素:<EMBED></EMBED>
参数:
src:音乐文件的URL;
hidden:=true为不可见,=false反之;
type:指定音频类型;
LOOP:是否循环播放,注意其值置于小角双引号中;
AUTOSTART:是否自动播放,其值同上。

1. rm,ra,ram类型的背景音乐代码:

<embed width="0" height="0" type="audio/x-pn-realaudio-plugin" autostart="true" controls="ControlPanel" src="背景音乐地址">

2. midi,asf,wma,asx类型的背景音乐代码:

<embed autostart="true" loop="-1" controls="ControlPanel" width="0" height="0" src="背景音乐地址">

五 上下移动图片

<center><marquee scrollamount=3 scrolldelay=150 direction=up width=450 height=500 bordercolor="#000000" border="1">
<p align=center><img src="
http://www.yf13.com/img/logo.gif"></p>
</marquee></center>

六 双排彩色跳动文字

<marquee scrollamount=8 direction=right behavior=alternate><b><font color=#7700bb size=5><font color=lime>
<marquee direction=up behavior=alternate width=40 height=200 align="middle">祝</marquee><font color=red>
<marquee direction=up behavior=alternate width=40 height=150>愿</marquee><font color=orange>
<marquee direction=up behavior=alternate width=40 height=200>朋</marquee><font color=fuchsia>
<marquee direction=up behavior=alternate width=40 height=150>友</marquee><font color=olive>
<marquee direction=up behavior=alternate width=40 height=200>们</marquee><font color=green>
<marquee direction=up behavior=alternate width=40 height=150>开</marquee><font color=red>
<marquee direction=up behavior=alternate width=40 height=200>心</marquee><font color=orange>
<marquee direction=up behavior=alternate width=40 height=150>!</marquee><font color=orange></font></b></marquee>

②彩色跳动文字

<center><font face=隶书 color=red size=15>
<marquee direction=up behavior=alternate width=60 height=120>祝</marquee><font color=yellow>
<marquee direction=up behavior=alternate width=60 height=80>愿</marquee><font color=brown>
<marquee direction=up behavior=alternate width=60 height=120>朋</marquee><font color=green>
<marquee direction=up behavior=alternate width=60 height=80>友</marquee><font color=orange>
<marquee direction=up behavior=alternate width=60 height=120>们</marquee><font color=yellow>
<marquee direction=up behavior=alternate width=60 height=80>开</marquee><font color=orange>
<marquee direction=up behavior=alternate width=60 height=120>心

</marquee></font></b></marquee></font></center></font></font></font></font></font></font

【作者: 梅风剑】【访问统计:】【2006年08月25日 星期五 18:16】【 加入博采】【打印

Trackback

你可以使用这个链接引用该篇文章 http://publishblog.blogchina.com/blog/tb.b?diaryID=5576726

回复

- 评论人:anonymous   2006-09-13 12:32:35   

35隶书祝朋友们天天开心35隶书祝朋友们天天开心

验证码:   
评论内容: