HTML (Hyper-text Markup Language) is the basic step in web designing. It contains lots of tags to execute in order to perform some actions. Under these tags, marquee is one of the important tags. Through this tag, you can make the text/images in scrolling condition. Following four probabilities are possible in such situation as move object from –
1. Left to Right
2. Right to Left
3. Top to Bottom
4. Bottom to Top
It depends on your choice, what you select. So, here I am providing ways to use marquee tags in order to show the magic of marquee tag in HTML.
Following is the way to put this tag in HTML as –
In the above image, marquee tag is inserted in body section of html in order to move text line in left direction. You can change its direction as could be left, right, top or bottom. In order to move text/image, behavior should be scroll.
Now, in the above image, marquee tag is inserted in body section of html in order to move text line but, in this type of alternate behavior, text line will move both side as left and right both.
To set the speed of marquee (moving object), you need to declare scroll amount. When you increase scroll amount then, speed will automatically boost up. You can set it with any direction.
In order to move image, place image tag in marquee tag as shown in above image.
5. Text and Image
In order to move text and image both simultaneously, place text and image tags in marquee tag as shown in above image.