Marquee Direction

Direction:

Specifies in which direction marquee will scroll.

Possible values for this attribute are LEFT or RIGHT






  • Video Tutorial on HTML Marquee Tag


Example:

This is an example of Marquee (Direction : Left)

Code:

<marquee style="font-family:Book Antiqua; color: #FFFFFF" bgcolor="#000080"  direction="left">This is an example of Marquee</marquee>


This is an example of Marquee(Direction : Right)

Code:

<marquee style="font-family: Book Antiqua; color: #FFFFFF" bgcolor="#000080"  direction="right">This is an example of Marquee</marquee>
Note: Default Direction is left.

Now marquee tag direction we can set to up or down. We can scroll vertically up ward direction or down ward direction

This is an example of Marquee direction = up

Code:

<marquee style="font-family: Book Antiqua; color: #FFFFFF" bgcolor="#000080" direction="up" height="80" >This is an example of Marquee direction = up</marquee>
This is an example of Marquee direction = down

Code:
<marquee style="font-family: Book Antiqua; color: #FFFFFF" bgcolor="#000080" direction="down" height="80" >This is an example of Marquee direction = down</marquee> 

Subscribe

* indicates required
Subscribe to plus2net

    plus2net.com




    sabir malik

    02-02-2012

    very nice effort
    Mayesh Mohapatra

    22-11-2013

    Very Very Useful for students like me
    varun

    03-03-2014

    How to change text color when mouse hover
    shahid

    26-10-2014

    very nice tips about marquu thanks
    Friday Moses

    27-04-2015

    I am happy to arrive at this tutorial site, may God bless u for this wonderful support for new commers like me.
    ABDULLAH WASEER

    11-09-2015

    learn to good
    got a good idea
    Deepak Prasad

    04-11-2015

    Is it possible to move marquee in multiple directions and not a straight line
    Uche E

    02-09-2016

    dont we have a zig zag direction for marquee?
    smo1234

    03-09-2016

    There is no zig zag in direction but you can keep two marquee tags one after the other and give them opposite directions. You can match their speed to give cross effect.
    MAHESH KUMAR

    17-11-2016

    Very nice tips,about marquee.Very very thanks sir.................
    divya

    31-10-2018

    can i set multiple direction in marquee tag? and in each direction can in set different timings?
    smo1234

    31-10-2018

    May be by using DOM this can be done, by using simple HTML not possible.

    Post your comments , suggestion , error , requirements etc here .




    We use cookies to improve your browsing experience. . Learn more
    HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
    ©2000-2021 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer