HTML Marquee

 
<marquee>Hello World</marquee>


Marquee with behavior

<marquee behavior="scroll">Hello World</marquee>
<marquee behavior="slide">Hello World</marquee>
<marquee behavior="alternate">Hello World</marquee>


Marquee with scrollamount

<marquee behavior="scroll" scrollamount="5">Hello World</marquee>
<marquee behavior="slide" scrollamount="10">Hello World</marquee>
<marquee behavior="alternate" scrollamount="2">Hello World</marquee>


Marquee with direction

<marquee behavior="scroll" scrollamount="5" direction="left">Hello World</marquee>
<marquee behavior="slide" scrollamount="10" direction="right">Hello World</marquee>
<marquee behavior="alternate" scrollamount="2" direction="up">Hello World</marquee>
<marquee behavior="scroll" scrollamount="8" direction="down">Hello World</marquee>


Marquee with loop

<marquee scrollamount="5" loop="3">Hello World</marquee>


Marquee with bgcolor

<marquee scrollamount="5" bgcolor="pink">Hello World</marquee>


Marquee with height and width

<marquee scrollamount="5" bgcolor="pink" height="50%" width="50%">Hello World</marquee>