文字跑马灯HTML代码解析

 <table style="color:white; font-size:10pt" border="1" style="color:white; font-size:10pt" bordercolor="#FF9900">
<td background="图档网址.gif">
<p>
<font color="#FFFF00" face="新细明体" size="2">
<marquee scrollamount='2' scrolldelay='150' direction= 'up' width='105' id=xiaoqing height='120'
οnmοuseοver=xiaoqing.stop()
οnmοuseοut=xiaoqing.start()
style="color: #0000FF; font-size: 10pt; font-weight: bold; font-family:新细明体">文字跑马灯公告栏<br>在这输入文字内容<br></marquee>
</font></td></table>

div align="center">→文字公告栏置中
center=居中;left=靠左;right=靠右

 

<table style="color:white; font-size:10pt" border="1" style="color:white; font-size:10pt"

color:white →公告栏背景白色

bordercolor="#FF9900">→框线颜色(橘色)


<td background="图档网址.gif">→可有可无

<p>
<font color="#FFFF00" →公告栏内容文字颜色(蓝色)

face="新细明体" size="2">→文字字体大小

<marquee scrollamount='2' scrolldelay='150' →跑马灯速度数值越大跑越慢

direction= 'up' →文字跑马灯向上

跑马灯移动:

往左=left
往右=right
往上=up
往下=down
左右=alternate

width='105' id=xiaoqing height='120' →跑马灯公告栏宽高

οnmοuseοver=xiaoqing.stop()
οnmοuseοut=xiaoqing.start() style="color: #0000FF; font-size: 10pt; font-weight: bold; font-family:新细明体">文字跑马灯公告栏<br>在这输入文字内容<br></marquee>
</font></td></table>

<br>跳行语法

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值