滚动文字代码
1、文字基本设制:
效果:插入文字
<P align=center><FONT color=#0066ff face=隶书 size=5>插入文字</FONT></P>
说明:
<P align=center><FONT color=#0066ff face=隶书 size=5>插入文字</FONT></P> align=center 表示字体居中,可选值为居右(right)居左(left) color=颜色代码 具体颜色代码可参照: face=字体 常用字体为:宋体.黑体.楷体.仿宋.新宋体.细明体等 size=字体大小,这里的最大值为7 取值越大文字就越大 |
2、大字体文字:
效果:插入文字
<font style=font:40pt face=新宋体 color=#ff0000>插入文字</font> |
说明:
font:40pt 数值越大文字就越大 |
3、移动文字设置:
例1:
<marquee direction=移动方向 scrollamount=移动速度数值>插入文字</marquee> 说明:direction=移动方向 可选值为向上(up) 向下(down) 向左(left) 向右(right) |
例2:
<marquee beha |
说明:
beha beha behavior=alternate 来回走 |
例3:
<marquee scrolldelay=500 scrollamount=100>插入文字</marquee> |
例4:
例5:
<marquee behavior="alternate" direction="up" width="80%"><marquee direction="right" behavior="alternate">插入文字</marquee></marquee> |
例6:
<marquee behavior="alternate" width="10%">>></marquee>你的文字<marquee behavior="alternate" width="10%"><<</marquee> |
例7:
<marquee behavior="alternate" width="10%">>></marquee>你的文字<marquee behavior="alternate" width="10%"><<</marquee> |
例8:
<font color="#0000FF"><marquee direction="left" style="background: #FFCC00">你的文字</marquee></font> |
例9:
<marquee style="border:1px dotted #CC0066 ">你的文字</marquee> |
例10:
<MARQUEE behavior=alternate direction=left scrollAmount=3 width="4%"><font face=Webdings>3</font></MARQUEE><MARQUEE scrollAmount=1 direction=left width="2%">| | |</MARQUEE>你的文字<MARQUEE scrollAmount=1 direction=right width="2%">| | |</MARQUEE><MARQUEE behavior=alternate direction=right scrollAmount=3 width="4%"><font face=Webdings>4</font></MARQUEE> |
例11:
<marquee behavior="alternate"><marquee width="150">文字输入</marquee></marquee> |
例12:
文字二
<marquee behavior=alternate direction=up scrollamount=2 scrolldelay=65 height=80 style="Text-align;filter:wave(add=0,phase=1, freq=1,strength=15,color=.FFFFFF)"><center>文字一<BR />文字二</center></marquee> |
4,文字特效显示:
欢迎光临雪山孤鸿的博客
<CENTER><FONT style="COLOR: #e4dc9b; FILTER: shadow(color=black); FONT-FAMILY: 华文彩云; FONT-SIZE: 30pt; WIDTH: 100%"><B>欢迎光临雪山孤鸿的博客</B></FONT></CENTER> |
例2:
欢迎光临雪山孤鸿的博客
<CENTER><FONT color=#0099ff style="FILTER: blur(add=1, direction=40,strength=10); FONT-SIZE: 30px; ; WIDTH: 450px">欢迎光临雪山孤鸿的博客</FONT></CENTER> |
例3:
<MARQUEE behavior=alternate direction=up height=150 scrollAmount=5><MARQUEE beha |
例4:
<FONT color=#0096ff face=隶书 size=7><MARQUEE height=50 width=240>雪山孤鸿的博客</FONT></MARQUEE><FONT color=#0000ff face=隶书 size=7><MARQUEE direction=right height=50 width=240>雪山孤鸿临光迎欢</MARQUEE></FONT></FONT> |
注明:
在用这种效果时,文字移动范围的宽width的取值很重要,两段文字移动范转的width取值和一定要小于背景层width |
例5:
大家常来哦
<DIV style="LAYOUT-FLOW: vertical-ideographic"> <P>你的文字 <P>你的文字</P></DIV> |
例6:
<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> |
例8:
欢迎光临雪山孤鸿的博客
<div style="width: 350; font-size:15pt; font-family: arial ; color: red; ; filter: dropshadow(color=000000, offx=3, offy=3, positive=1)">你的文字</div> |
例9:
我凹下去了吧?
你不想试试吗?
<DIV style="PADDING-RIGHT: 20px; FONT-SIZE: 12px; BACKGROUND-COLOR: #eeeeee; WORD-WRAP: break-word"><FONT disabled>我凹下去了吧?<BR>你不想试试吗?</A></FONT> </DIV> |
5.在博客摘要设置字体
在博客摘要设置里添加下列html代码。
A 调整字体大小
博客摘要文字前添加:<font size=#> ,文字后添加</font>,其中 #=1, 2, 3, 4, 5, 6, 7 ;从1到7表示字体由小到大。你从这些数字里选择合适的一个,比如1,代替#即可,你可逐个试试观察效果最后选定。 |
B调整字体色彩
博客摘要文字前添加:<font size=#> ,文字后添加</font>,其中 #=1, 2, 3, 4, 5, 6, 7 ;从1到7表示字体由小到大。你从这些数字里选择合适的一个,比如1,代替#即可,你可逐个试试观察效果最后选定。 博客摘要文字前添加<font color=#>,文字后添加</font> ,其中#=Black, Olive, Teal, Red, Blue, Maroon, Navy, Gray, Lime, Fuchsia, White, Green, Purple, Silver, Yellow, Aqua 等不同的色彩。你从它们当中选择满意的一种色彩,比如olive,代替#即可。你也可逐个试试观察效果最后选定。 |
6.给文字加移动连接
<marquee beha |
说明:
要想加多个的话就把<a target="cont" href="对方地址"><img src="对方图片" width="100" height="100" border="0"></a> 加在最后那个</marquee>的前面 其中的 direction= 是图片移动方向 up down right left 任意填写 |
----------------------------------------------------------------------------------------------------------------------------
★ 置入博客首页的方法:
1. 进入快捷工具栏(博客首页左上角)→
2. 点装扮博客工具栏→
3. 点设置首页内容→
4. 点添加自定义模块→
5. 复制上述语法後粘贴上→
6. 点确定→
7. 将模块移到想要显示的位置→
8. 点保存修改(博客首页右上角),即可。
★ 置入日志的方法:
1. 进入日志→
2. 点写日志 →
3. 点日志编辑界面的<>按钮→
4. 复制上述语法後粘贴上→
5. 再点<>按钮→
6. 编辑你的日志→
7. 点发表日志,即可。
评论