What is the use of MARQUEE element?

  • The HTML <marquee> tag is used for scrolling piece of text or image displayed either horizontally across or vertically down your web site page depending on the settings.
  • The HTML <marquee> tag also supports following additional attributes:

Attribute Value Description
align top
middle
bottom
Specifies the text around the marquee should align with the top, middle, or bottom of the marquee
behavior scroll
slide
alternate
Defines the type of scrolling.
bgcolor rgb(x,x,x)
#xxxxxx
colorname
Specifies a background color for the marquee
direction up
down
left
right
Defines the direction of scrolling the content.
height pixels or % Defines the height of marquee.
hspace pixels Specifies horizontal space around the marquee.
loop number Specifies how many times to loop. The default value is INFINITE, which means that the marquee loops endlessly.
scrolldelay seconds Defines how long to delay between each jump.
scrollamount number Defines how how far to jump.
width pixels or % Defines the width of marquee.
vspace pixels Specifies vertical space around the marquee.

Share :

Facebook Twitter Google+
Back To Top

facebook main

counter

Powered by Blogger.