dw中文字往上移动的代码
答案:1 悬赏:0
解决时间 2021-03-22 11:42
- 提问者网友:回憶丶初
- 2021-03-21 16:40
dw中文字往上移动的代码
最佳答案
- 二级知识专家网友:萝莉姐姐鹿小北
- 2021-03-21 18:12
一、基本语法形式如: < marquee>....< /marquee>例如:< marquee>啦啦啦,我会移动耶!< /marquee>二、设置文字移动的方式A、设置文字的移动方向基本语法如:其中,“#”的取值为:left right up down例:< marquee direction="left">啦啦啦,我从右向左移!< /marquee>,以此类推。B、设置文字移动的方式
其基本语法形式如:,其中“#”的取值为scroll,slide,alternate,至于这三个英文代表什么意思,请各位一试便知!C、设置文字移动循环的次数
< marquee loop="#">
D、设置文字移动的速度
基本语法如:< scrollamount="#">
例:< marquee scrollamount="20">啦啦啦,我走得好快哟!< /marquee>E、设置文字移动延时
基本语法如:< scrolldelay="#">,其中,“#”取值为延时的毫秒数。三、设置移动文字的外观A、设置文字的对齐方式
语法如:< marquee align=top或middle或botton>B、设置marquee的底色基本语法如:< marquee bgcolor="#">
其中,"#"取值为"rrggbb",即16进制数表示的RGB颜色值,或者直接写出颜色的英文。C、设置移动文字的宽度、高度基本语法如:< maruqee height="#" width="#"> 。写完收工。1.方向direction #=left, right
例:<marquee direction=left>从右向左移动</marquee>>
<marquee direction=right>从左向右移动</marquee>>
2.次数 <bihavior=#> #=scroll, slide, alternate
例:<marquee behavior=scroll>一圈一圈的绕着移动</marquee>>
<marquee behavior=slide>只移动一次就停</marquee>>
<marquee behavior=alternate>来回移动,不停</marquee>>
3.循环 <loop=#> # =次数,若未指定则循环不止(infinite)
例:<marquee loop=3 width=50% behavior=scroll>只走 3 趟</marquee>
4.速度加快 <scrollamount=#>
例:<marquee scrollamount=20>移动速度加快</marquee>>
5.速度减慢 <scrolldelay=#>
例:<marquee scrolldelay=500 scrollamount=100>移动速度减慢</marquee>
6.底色 <bgcolor=#>
#=rrggbb 16进制数码,或者是下列预定义色彩:
Black, Olive, Teal, Red, Blue, Maroon, Navy, Gray, Lime,
Fuchsia, White, Green, Purple, Silver, Yellow, Aqua例:<marquee bgcolor=red>是红色的</marquee>
7.面积 <height=# width=#>
例:<marquee height=80 bgcolor=red>面积变大了</marquee>网页中文字上下移动代码:<DIV>
<TABLE borderColor=#000000 cellSpacing=0 cellPadding=5 bgColor=#6699ff border=1>
<TBODY>
<TR>
<TD>
<MARQUEE scrollAmount=1 scrollDelay=10 direction=up width=180 height=100>
<P align=center><FONT face=黑体 color=#ffffff>你所要输入的主题</FONT>
<P><FONT color=#ffffff><BR>你所要输入的主题<BR>你所要输入的正文内容</FONT></MARQUEE></TD></TR></TBODY></TABLE></DIV>
注:<BR>=换行代码
borderColor=边框颜色代码 bgColor=背景颜色代码 scrollAmount=滚动速度scrollDelay=设置字幕内容滚动时停顿的时间(如果要让滚动看起来流畅,数值应该尽量小) direction=方向(上下左右依次是"up","down","left","right") width=滚动界面的宽 height=滚动界面的高 FONT color=文字颜色 cellPadding=文字缩进宽度上面的数值可以根据自己的需要更改!!!
其基本语法形式如:,其中“#”的取值为scroll,slide,alternate,至于这三个英文代表什么意思,请各位一试便知!C、设置文字移动循环的次数
< marquee loop="#">
D、设置文字移动的速度
基本语法如:< scrollamount="#">
例:< marquee scrollamount="20">啦啦啦,我走得好快哟!< /marquee>E、设置文字移动延时
基本语法如:< scrolldelay="#">,其中,“#”取值为延时的毫秒数。三、设置移动文字的外观A、设置文字的对齐方式
语法如:< marquee align=top或middle或botton>B、设置marquee的底色基本语法如:< marquee bgcolor="#">
其中,"#"取值为"rrggbb",即16进制数表示的RGB颜色值,或者直接写出颜色的英文。C、设置移动文字的宽度、高度基本语法如:< maruqee height="#" width="#"> 。写完收工。1.方向direction #=left, right
例:<marquee direction=left>从右向左移动</marquee>>
<marquee direction=right>从左向右移动</marquee>>
2.次数 <bihavior=#> #=scroll, slide, alternate
例:<marquee behavior=scroll>一圈一圈的绕着移动</marquee>>
<marquee behavior=slide>只移动一次就停</marquee>>
<marquee behavior=alternate>来回移动,不停</marquee>>
3.循环 <loop=#> # =次数,若未指定则循环不止(infinite)
例:<marquee loop=3 width=50% behavior=scroll>只走 3 趟</marquee>
4.速度加快 <scrollamount=#>
例:<marquee scrollamount=20>移动速度加快</marquee>>
5.速度减慢 <scrolldelay=#>
例:<marquee scrolldelay=500 scrollamount=100>移动速度减慢</marquee>
6.底色 <bgcolor=#>
#=rrggbb 16进制数码,或者是下列预定义色彩:
Black, Olive, Teal, Red, Blue, Maroon, Navy, Gray, Lime,
Fuchsia, White, Green, Purple, Silver, Yellow, Aqua例:<marquee bgcolor=red>是红色的</marquee>
7.面积 <height=# width=#>
例:<marquee height=80 bgcolor=red>面积变大了</marquee>网页中文字上下移动代码:<DIV>
<TABLE borderColor=#000000 cellSpacing=0 cellPadding=5 bgColor=#6699ff border=1>
<TBODY>
<TR>
<TD>
<MARQUEE scrollAmount=1 scrollDelay=10 direction=up width=180 height=100>
<P align=center><FONT face=黑体 color=#ffffff>你所要输入的主题</FONT>
<P><FONT color=#ffffff><BR>你所要输入的主题<BR>你所要输入的正文内容</FONT></MARQUEE></TD></TR></TBODY></TABLE></DIV>
注:<BR>=换行代码
borderColor=边框颜色代码 bgColor=背景颜色代码 scrollAmount=滚动速度scrollDelay=设置字幕内容滚动时停顿的时间(如果要让滚动看起来流畅,数值应该尽量小) direction=方向(上下左右依次是"up","down","left","right") width=滚动界面的宽 height=滚动界面的高 FONT color=文字颜色 cellPadding=文字缩进宽度上面的数值可以根据自己的需要更改!!!
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯