登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

.

.

 
 
 

日志

 
 

文字处理代码  

2010-02-03 22:37:05|  分类: 博客代码 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
本文转载自SONIG《文字处理代码》

文字常用代码说明
圈子里不能正常显示,请移步星星小屋阅读
【代码说明】(scrollAmount移动速度,数值越大,速度越快;direction是移动方向。align=center 表示字体居中,可选值为居右(right)居左(left)color=颜色代码 face=字体 常用字体为:宋体.黑体.楷体.仿宋.新宋体.细明体等  size=字体大小,这里的最大值为7 取值越大文字就越大。在任何的一个效果里,都可以为文字加上具体设定的代码。



文字




插入文字代码


<P align=center><FONT color=#0066ff face=隶书 size=5>文字</FONT></P>
(说明:align=center 表示字体居中,可选值为居右(right)居左(left)color=颜色代码 face=字体 常用字体为:宋体.黑体.楷体.仿宋.新宋体.细明体等  size=字体大小,这里的最大值为7 取值越大文字就越大)

文字

插入大字体文字代码


<font style=font:40pt face=新宋体 color=#ff0000>文字</font> (说明:font:40pt 数值越大文字就越大)

文字

单向简单移动代码


<marquee direction=移动方向 scrollamount=移动速度数值>文字</marquee>
(说明:direction=移动方向 可选值为向上(up) 向下(down) 向左(left) 向右(right)  scrollamount=移动速度数值1、2、3数字越大,移动速度越快。)

文字

效果移动代码

<marquee behavior=移动效果>文字</marquee>
(说明:behavior=scroll 一圈一圈绕着走 behavior=slide 只走一次 behavior=alternate 来回走)

文字

快速向左移动代码

<marquee scrolldelay=500 scrollamount=100>文字</marquee>

文字

上下跳跃向一侧反复移动代码


<marquee behavior="alternate" direction="up" width="80%">
<marquee direction="right">文字</marquee></marquee>

文字

上下跳跃往返移动代码


<marquee behavior="alternate" direction="up" width="80%"><marquee direction="right" behavior="alternate">文字</marquee></marquee>

>>文字 <<

>>>文字<<<移动代码


<marquee behavior="alternate" width="10%">>></marquee>文字<marquee behavior="alternate" width="10%"><<</marquee>

你的文字

有底色文字移动代码


<font color="#0000FF"><marquee direction="left" style="background: #FFCC00">你的文字</marquee></font>

文字

有边框的文字移动代码


<marquee style="border:1px dotted #CC0066 ">文字</marquee>

3 | | |文字 | | | 4

强调式移动文字代码


<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>

文字

打字输入式文字移动代码


<marquee behavior="alternate"><marquee width="150">文字</marquee></marquee>

文字一
文字二

上下摇摆叠加文字代码


<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>

文字

文字特效显示代码1


<CENTER><FONT style="COLOR: #e4dc9b; FILTER: shadow(color=black); FONT-FAMILY: 华文彩云; FONT-SIZE: 30pt; LINE-HEIGHT: 150%; WIDTH: 100%"><B>文字</B></FONT></CENTER>

文字

文字特效显示代码2


<CENTER> <FONT color=#0099ff style="FILTER: blur(add=1, direction=40,strength=10); FONT-SIZE: 30px; FONT-WEIGHT: bolder; ; LINE-HEIGHT: 150%; WIDTH: 450px">文字</FONT></CENTER>

vior=altrnate width=460>引用  ★【博客技巧】文字处理代码 - 学 海 - XVE HAI BLOG文字

文字特效显示代码3

<MARQUEE behavior=alternate direction=up height=150 scrollAmount=5><MARQUEE behavior=altrnate scrollAmount=2 width=460 <IMG src="图片地址"><FONT color=red face=楷体_gb2312 size=7>文字</FONT></MARQUEE></MARQUE></MARQUEE>

文字 字文

文字特效显示代码4

<FONT color=#ffff00 face=隶书 size=7><MARQUEE height=50 width=240>文字</FONT></MARQUEE><FONT color=#ffff00 face=隶书 size=7><MARQUEE direction=right height=50 width=240>字文</MARQ UEE></FONT></FONT>
(说明:在用这种效果时,文字移动范围的宽width的取值很重要,两段文字移动范转的width取值和一定要小于背景层width)

文字

文字

竖排文字效果代码

<DIV style="LAYOUT-FLOW: vertical-ideographic">
<P>文字
<P>文字</P></DIV>

文字两层上下跳跃代码

<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>

文字

有阴影的文字代码


<div style="width: 350; font-size:15pt; font-family: arial ; color: red; ; filter: dropshadow(color=000000, offx=3, offy=3, positive=1)">文字</div>

文字

凹陷的文字代码


<DIV style="PADDING-RIGHT: 20px; PADDING-LEFT: 20px; FONT-SIZE: 12px; PADDING-BOTTOM: 20px; OVERFLOW: hidden; WIDTH: 300px; LINE-HEIGHT: 18px; PADDING-TOP: 20px; BACKGROUND-COLOR: #eeeeee; WORD-WRAP: break-word"><FONT disabled>文字</A></FONT> </DIV>

落海里的星欢迎您!

来回移动的代码


<MARQUEE scrollAmount=3 behavior=alternate width="90%"><FONT size=3>文字</FONT>
</MARQUEE>

落海里的星
落海里的星

文字上下合并代码


<P align=center>
<CENTER>
<MARQUEE direction=down height=60 scrollAmount=2>
<CENTER><FONT color=#a25e6b face=华文彩云 size=8><B>落海里的星</FONT></CENTER></B></MARQUEE>
<CENTER>
<MARQUEE direction=up height=60 scrollAmount=2>
<CENTER><FONT color=#a25e79 face=华文彩云 size=8><B>落海里的星</FONT></CENTER></B></MARQUEE></CENTER></CENTER>

vior=slide loop=250 width=250 height=6 align="middle" border="0">落海里的星欢迎您!

小框格里跑动的文字代码


<FONT color=maroon face=隶书 size=5><EM><B>
<MARQUEE behavior=slide height=6 loop=450 scrollAmount=3 scrollDelay=5 style="BORDER-BOTTOM-COLOR: #dd226d; BORDER-BOTTOM-STYLE: ridge; BORDER-LEFT-COLOR: #c43c71; BORDER-LEFT-STYLE: ridge; BORDER-RIGHT-COLOR: #dd226d; BORDER-RIGHT-STYLE: ridge; BORDER-TOP-COLOR: #c43c73; BORDER-TOP-STYLE: ridge" width=450 border="0" align="middle">文字</MARQUEE></B></EM></FONT>

落海里的星欢迎您!

文字向上跑动代码


<MARQUEE direction=up height=300 scrollAmount=1>
<P align=left><FONT style="COLOR: maroon; FILTER: shadow(color=#aa3466 ); FONT-FAMILY: 华文行楷; FONT-SIZE: 18pt; LINE-HEIGHT: 150%; WIDTH: 100%">文字 </FONT></P></B></B></MARQUEE>

vior=slide height=100>
花间一壶酒
独酌无相亲
举杯邀明月
对影成三人

文字向下然后再向上移动代码


<MARQUEE scrollAmount=1 scrollDelay=50 direction=down behavior=slide height=600>
<MARQUEE scrollAmount=1 scrollDelay=50 direction=up height=600><FONT color=#ffffff size=2><STRONG>
<DIV size=4>文字</FONT></DIV></STRONG></FONT> </MARQUEE></MARQUEE></MARQUEE>

花间一壶酒
独酌无相亲
举杯邀明月
对影成三人

文字向上再向下代码


<MARQUEE scrollAmount=1 direction=up behavior=alternate height=260><MARQUEE scrollAmount=1 direction=up height=150>
文字
</MARQUEE></MARQUEE>

花间一壶酒
独酌无相亲
举杯邀明月
对影成三人

文字向上向下摆动代码


<MARQUEE scrollAmount=2 direction=up behavior=alternate height=260><MARQUEE scrollAmount=1 direction=up height=150>
文字
</MARQUEE></MARQUEE>

花间一壶酒
独酌无相亲
举杯邀明月
对影成三人

文字左右摇摆向上


<MARQUEE scrollAmount=1 behavior=alternate height=160 width=460><MARQUEE scrollAmount=1 direction=up height=160 width=456>
文字
</MARQUEE></MARQUEE>

简单也是一种别致的美丽

闪烁字代码


<TABLE cellSpacing=0 cellPadding=0 align=center background=http://www.6778.com/gif/07%2B/Line/line12.gif><TBODY><TR><TD style="FILTER: chroma(color=#336699)"><TABLE align=center bgColor=#000000><TBODY><TR><TD align=middle><FONT style="FONT size=50" color=#336699><B>简单也是一种别致的美丽</B></FONT></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>

花间一壶酒
独酌无相亲
举杯邀明月
对影成三人

字体向上移动代码


<DIV>
<DIV align=left>
<MARQUEE style="WIDTH: 385px; HEIGHT: 121px" scrollAmount=1 direction=up width=385 height=121>
<P align=left><BR><EM><STRONG><FONT color=#dddddd size=5> 文字 </FONT></STRONG></EM></P>

花间一壶酒
独酌无相亲
举杯邀明月
对影成三人

字体向上移动代码

<DIV align=center>
<TABLE borderColor=#0080ff height=200 cellSpacing=2 cellPadding=0 width=300 bgColor=#0080ff border=16>
<TBODY>
<TR>
<TD align=middle background=http://bbs.nvhai.net/UploadFile/2006-7/2006731348640356.jpg bgColor=#0080ff ; background-position:100% background-repeat:no-repeat;>
<P align=center>
<MARQUEE style="WIDTH: 300px; HEIGHT: 150px" scrollAmount=1 behavior=alternate width=300 height=150>
<DIV align=center><FONT face=华文行楷 color=#ffff00 size=4>花间一壶酒<BR>独酌无相亲<BR>举杯邀明月<BR>对影成三人</FONT></DIV></P></MARQUEE></P></TD></TR></TBODY></TABLE></DIV>

引用  ★【博客技巧】文字处理代码 - 学 海 - XVE HAI BLOG故乡的云引用  ★【博客技巧】文字处理代码 - 学 海 - XVE HAI BLOG 引用  ★【博客技巧】文字处理代码 - 学 海 - XVE HAI BLOG故乡的云引用  ★【博客技巧】文字处理代码 - 学 海 - XVE HAI BLOG

相对移动字体代码

<MARQUEE direction=right width=250 height=50><IMG src="图片地址"><FONT face=隶书 color=#ff0000 size=7>文字<IMG src="图片地址"></FONT></MARQUEE></FONT><MARQUEE width=250 height=50><IMG src="图片地址"><FONT face=隶书 color=#ff0000 size=7>文字<IMG src="图片地址"></FONT></MARQUEE>

花间一壶酒
独酌无相亲
举杯邀明月
对影成三人

文字竖排横向移动代码

<MARQUEE style="LINE-HEIGHT: 120%; WRITING-MODE: tb-rl" scrollAmount=2 scrollDelay=100 direction=up width=300 height=200><FONT style="FONT-SIZE: 12pt; FILTER: glow(color=#000000); WIDTH: 100%; COLOR: #cccccc; LINE-HEIGHT: 200%; FONT-FAMILY: 楷体">
<FONT face=黑体 color=#FFFFFF>花间一壶酒<BR>独酌无相亲<BR>举杯邀明月<BR>对影成三人</FONT></MARQUEE>

 
  评论这张
 
阅读(399)| 评论(0)

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018