This is a basic example:
- Code: Select all
<marquee>Hello World</marquee>
The <marquee> tag can also scroll in different directions.
To scroll right, left, up, and down
- Code: Select all
<marquee direction='right'>Hello World</marquee>
<marquee direction='left'>Hello World</marquee>
<marquee direction='up'>Hello World</marquee>
<marquee direction='down'>Hello World</marquee>
The marquee tag can also bounce back and forth with the behavior attribute
- Code: Select all
<marquee behavior='alternate'>Hello World</marquee>
The Scroll speed can also be adjusted with the attributes scrollamount and scrolldelay
- Code: Select all
//scroll amount in px, and scroll delay in ms
<marquee scrollamount=200 scrolldelay=10>Zoom Zoom!</marquee>
feel free to ask any questions if any of it doesnt make any sense


