The HTML MARQUEE tag is used for horizontally or vertically scrolling text or images on web page.
Using the marquee attributes, we can command how text and images will scrol.
There are a few attributes you can use:
In the following examples, using the DIRECTION attribute, we will show examples of scrolling text and images.
<marquee direction="left" scrollamount="20">
<p>WELLCOME to IT PRESENT</p>
</marquee>
<marquee direction="right" scrollamount="20">
<p>WELLCOME to IT PRESENT</p>
</marquee>
<marquee direction="up">
<p>WELLCOME to IT PRESENT</p>
</marquee>
<marquee direction="down">
<p>WELLCOME to IT PRESENT</p>
</marquee>
<marquee behavior="alternate" scrollamount='20'>
<p>WELLCOME to IT PRESENT</p>
</marquee>
<marquee direction="up" height="300" behavior="alternate">
<marquee behavior="alternate">
<p>WELLCOME</p>
</marquee>
</marquee>
<marquee direction='left' scrollamount='25'>
<img src="heart.jpg">
<img src="heart.jpg">
<img src="heart.jpg">
<img src="heart.jpg">
<img src="heart.jpg">
<img src="heart.jpg">
</marquee>