Source


<html> <head> <title>Examples on Marquees</title> </head> <body> <h3>Normal marquee</h3> <marquee width="500">This text is scrolling....</marquee><hr/> <h3>Marquee with direction set to right</h3> <marquee direction="right" width="500">This text is scrolling....</marquee><hr/> <h3>Marquee with behavior set to slide</h3> <marquee width="500" behavior="slide">This text is sliding..</marquee><hr/> <h3>Marquee with behavior set to alternate</h3> <marquee width="500" behavior="alternate">This text is sliding..</marquee><hr/> <h3>Marquee with scroll amount set to 20</h3> <marquee width="500" scrollamount="20">This text is scrolling....</marquee><hr/> <h3>Latest News</h3> <marquee height="300" width="200" bgcolor="grey" direction="up"> <ol> <li>This is news paragraph 1...</li><br/> <li>This is news paragraph 2...</li><br/> <li>This is news paragraph 3...</li><br/> <li>This is news paragraph 4...</li><br/> <li>This is news paragraph 5...</li><br/> <li>This is news paragraph 6...</li> </ol> </marquee> </body> </html>

Output


Normal marquee

This text is scrolling....

Marquee with direction set to right

This text is scrolling....

Marquee with behavior set to slide

This text is sliding..

Marquee with behavior set to alternate

This text is sliding..

Marquee with scroll amount set to 20

This text is scrolling....

Latest News

  1. This is news paragraph 1...

  2. This is news paragraph 2...

  3. This is news paragraph 3...

  4. This is news paragraph 4...

  5. This is news paragraph 5...

  6. This is news paragraph 6...