html跑马灯marquee属性表
属 性 一 览 表 | ||||
属 性 | 其他说明 | 范 例 | 范 例 的 完 整 语 法 | |
对齐 align="top" | 向上 top 居中 midden 向下 botton | |||
方向 direction="up" | 左 left 右 right 上 up 下 dun | <marquee direction="up" height="50" scrollamount="1">要跑的文字</marquee> | ||
行为 behavior="altemate" | 左右来回 alternate 进入后停止slide 反覆 scroll | <marquee behavior="alternate">要跑的文字</marquee> | ||
<marquee behavior="slide">要跑的文字</marquee> | ||||
(备注:一般反覆scroll的指令不用写,因为那是预设) | ||||
高 height="高的数字" | (跑马灯区域的高度) | |||
宽 width="宽的数字" | (跑马灯区域的宽度) | |||
速度 scrollamount="1" | 中間的數字是 「滑動步伐的寬」 | <marquee scrollamount="1"> 要跑的文字</marquee> | ||
<marquee scrollamount="5"> 要跑的文字</marquee> | ||||
背景色 bgcolor="#0022FF" | "#0022FF"是HTML色吗,两个 两个为一组,由00~99,AA~FF所组成,代表红R、绿G、蓝B,数字越小越深,数字越大越亮。 例:红 #FF0000,绿 #00FF00,蓝 #0000FF,黃 #FFFF00,紫 #9966CC,....。 |
本站的发展离不开您的资助,金额随意,欢迎来赏!
You can donate through PayPal.My paypal id: itybku@139.comPaypal page: https://www.paypal.me/361way
You can donate through PayPal.My paypal id: itybku@139.comPaypal page: https://www.paypal.me/361way
近期评论