marquee基本语法的全解释
基本语法【fǎ】
<marquee> ... </marquee>
移动属性的设置 ,这种移📋动不仅【dòng bú jǐn】🔁仅局限【jǐn jú xiàn】于文字【yú wén zì】,也可以⌚应用于图片【tú piàn】👞,表格等🏄等
方向🍧
<direction=#> #=left, right ,up ,down <marquee direction=left>从右向【cóng yòu xiàng】左移!</marquee>
方式
<bihavior=#> #=scroll, slide, alternate <marquee behavior=scroll>一圈一😾圈绕着【quān rào zhe】走🎉!</marquee>
<marquee behavior=slide>只走【zhī zǒu】🎉一次就【yī cì jiù】歇👏了!</marquee>
<marquee behavior=alternate>来回走🎉</marquee>
循环【xún huán】
<loop=#> #=次数🕗;若未指定则循环【xún huán】不止➕(infinite) <marquee loop=3 width=50% behavior=scroll>只走【zhī zǒu】🈶 3 趟【tàng】😼</marquee> <P>
<marquee loop=3 width=50% behavior=slide>只走【zhī zǒu】🈶 3 趟【tàng】😼</marquee>
<marquee loop=3 width=50% behavior=alternate>只走【zhī zǒu】🈶 3 趟【tàng】😼!</marquee>
速度【sù dù】🛣
<scrollamount=#> <marquee scrollamount=20>啦啦啦【lā lā lā】,我走得👗好快哟!</marquee>
延时
<scrolldelay=#> <marquee scrolldelay=500 scrollamount=100>啦啦啦🃏,我走一【wǒ zǒu yī】⚾步【bù】,停一停!</marquee>
外观(Layout)设置
对齐方式🏭(Align)
<align=#> #=top, middle, bottom <font size=6>
<marquee align=# width=400>啦啦啦【lā lā lā】⛎,我会移动耶【dòng yē】!</marquee>
</font>
底色【dǐ sè】🏍
<bgcolor=#> #=rrggbb 16 进制数【jìn zhì shù】码📦,或者是下列预【xià liè yù】定义色🖥彩:
Black, Olive, Teal, Red, Blue, Maroon, Navy, Gray, Lime,
Fuchsia, White, Green, Purple, Silver, Yellow, Aqua <marquee bgcolor=aaaaee>颜色!</marquee>
面积【miàn jī】❕
<height=# width=#> <marquee height=40 width=50% bgcolor=aaeeaa>面积【miàn jī】❕!</marquee>
空白😺
(Margins)<hspace=# vspace=#>
<marquee hspace=20 vspace=20 width=150 bgcolor=ffaaaa align=middle>面积【miàn jī】!</marquee>
关键词:marquee
阅读本文后您有什么感想? 已有 人给出评价!
- 1
- 1
- 1
- 1
- 1
- 1