Close

How can move text in HTML? tririd.com

In HTML we can animate text with the marquee tag. The marquee tag is an HTML element that makes text to move from left to right and top to down.

The marquee tag defines how the element will move inside it. The available values are: scroll, slide, and alternate, with scroll being the default one.

1. from right to left marquee animation

Right to left is the most simple animation and we will not need any label to achieve the animation.

<marquee>TEXT</marquee>

2. from left to right marquee animation

We will add the attribute direction with the right value as follows

<marquee direction=”right”>TEXT</marquee>

3. Alternating direction/ Both Direction

<marquee behaviour=”alternate”>TEXT</marquee>

4. Bottom up animation

<marquee direction=”up”>TEXT</marquee>

Top down animation

<marquee direction=”down”>TEXT</marquee>

We can also merge all attribute in one Marquee tags.

Don’t you feel very interesting this in HTML?

No, Actually HTML, CSS , Java script , Boot strap all subjects related to web designing are very interesting.

TCCI- Tririd Computer coaching institute is there to teach you very efficient manner..

So, hurry up and join us in Bopal and satellite in Ahmedabad.

Tririd design and develop website in Word press, HTML , CSS , Java Script.

Call us @ 8980010210

Visit us @ http://www.tririd.com/services/

Leave a Reply

Your email address will not be published. Required fields are marked *