Text to be moved

Source: Internet
Author: User
Document directory
  • <Marquee>... </marquee>
  • Direction <direction =#>#= left, right
  • Method <bihavior =#>#= scroll, slide, alternate
  • Loop <loop =#>#= number of times; if not specified, the loop is not limited to (infinite)
  • Speed <scrollamount = #>
  • Latency <scrolldelay = #>
  • Align <align =#>#= top, middle, bottom
  • Background Color <bgcolor = #>
  • Area
  • Blank (Margins)

Basic syntax

 

<Marquee>... </marquee>
<Marquee> I will move it! </Marquee>

I will move it!

 

 

Text movement attribute settings

 

Direction <direction =#>#= left, right
<Marquee direction = left> I shifted from right to left! </Marquee> <P>
<Marquee direction = right> I moved from left to right! </Marquee>

I move from right to left!

I moved from left to right!

 

 

Method <bihavior =#>#= scroll, slide, alternate
<Marquee behavior = scroll> I walked around in a circle! </Marquee> <P>
<Marquee behavior = slide> I just took a rest once! </Marquee> <P>
<Marquee behavior = alternate> let's go back and forth! </Marquee>

I walked around in a circle!

I just took a rest once!

Let me go back and forth!

 

 

Loop <loop =#>#= number of times; if not specified, the loop is not limited to (infinite)
<Marquee loop = 3 width = 50% behavior = scroll> I only take 3 trips! </Marquee> <P>
<Marquee loop = 3 width = 50% behavior = slide> I only take 3 trips! </Marquee> <P>
<Marquee loop = 3 width = 50% behavior = alternate> I only take 3 trips! </Marquee>

I am only taking 3 trips!

I am only taking 3 trips!

I am only taking 3 trips!

 

Speed <scrollamount = #>
<Marquee scrollamount = 20> I walked fast! </Marquee>

I walked fast!

 

 

Latency <scrolldelay = #>
<Marquee scrolldelay = 500 scrollamount = 100> I took a step and stopped it! </Marquee>

Let me take a step and stop!

 

Layout settings

Align <align =#>#= top, middle, bottom
<Font size = 6>
<Marquee align = # width = 400> I will move it! </Marquee>
</Font>
Alignment top, middle, and bottom.

I will move it!

Alignment.

I will move it!

Alignment center.

I will move it!

Align the bottom edge.

 

 

Background Color <bgcolor = #>
# = RrggbbHexadecimal digital, or the following predefined colors:
Black, Olive, Teal, Red, Blue, Maroon, Navy, Gray, Lime,
Fuchsia, White, Green, Purple, Silver, Yellow, Aqua
<Marquee bgcolor = aaaaee> I will move it! </Marquee>

I will move it!

 

 

Area
<Marquee height = 40 width = 50% bgcolor = aaeeaa>
I will move it!
</Marquee>

I will move it!

 

Blank (Margins)
**************************************** * *** <Br>
Hi,
<Marquee hspace = 20 vspace = 20 width = 150 bgcolor = ffaaaa align = middle> I will move it! </Marquee>
Hello everyone! <Br>
**************************************** ****

**************************************** ****
Hi, I will move it! Hello everyone!
**************************************** ****

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.