Loading...
Html

Marquee Tag

Marquee: This tag is used to scroll a text in a web page

Attributes of Marquee:

  1. Align: This attribute specifies the speed of the scrolling text
  2. Behavior: This is to set how the text should move in the marquee .The text can be Scroll it is default. Slide i.e., the text enters from one side and stops at the other end. Alternate i.e., text seems to bounce from one side to the other.
  3. BGCOLOR: It sets the background color for the marquee box.
  4. Direction: It sets the direction of the text for scrolling. It can be left(it is by default), right, down or up.
    Example:
    <marquee align = “middle” behavior = “Slide” BGCOLOR = “Red direction = “Down” >
    We are using Marquees
    </marquee>

Leave a Reply

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