HTML Marquees
A HTML marquee is a scrolling piece of text displayed either horizontally across or vertically down your web
site page depending on the settings. This is created by using HTML tag <marquees>.
NOTE: The HTML <marquee> is an MSIE extension, but is now supported by NS 7 also. So please check if
your browser supports this tag or not.
Syntax:
A simple syntax to use marquee is as follows:
<marquee attribute_name="attribute_value"....more attributes>
One or more lines or text message or image
</marquee>
Attrubutes:
A HTML marquee can have following attributes:
ď‚· width: how wide the marquee is. This will have a value like 10 or 20%etc.
ď‚· height: how tall the marquee is. This will have a value like 10 or 20% etc.
ď‚· direction: which direction the marquee should scroll. This will have value
either up,down, left or right.
ď‚· behavior: what type of scrolling. This will have value scroll, slid and alternate.
ď‚· scrolldelay: how long to delay between each jump. This will have a value like 10 etc.
ď‚· scrollamount: how far to jump. This will have a value like 10 etc.
ď‚· loop: how many times to loop. The default value is INFINITE, which means that the marquee loops
endlessly.
ď‚· bgcolor: background color. This will have any color name or color hex value.
ď‚· hspace: horizontal space around the marquee. This will have a value like 10 or 20%etc.
ď‚· vspace: vertical space around the marquee. This will have a value like 10 or 20%etc.

Html marquees

  • 1.
    HTML Marquees A HTMLmarquee is a scrolling piece of text displayed either horizontally across or vertically down your web site page depending on the settings. This is created by using HTML tag <marquees>. NOTE: The HTML <marquee> is an MSIE extension, but is now supported by NS 7 also. So please check if your browser supports this tag or not. Syntax: A simple syntax to use marquee is as follows: <marquee attribute_name="attribute_value"....more attributes> One or more lines or text message or image </marquee> Attrubutes: A HTML marquee can have following attributes: ď‚· width: how wide the marquee is. This will have a value like 10 or 20%etc. ď‚· height: how tall the marquee is. This will have a value like 10 or 20% etc. ď‚· direction: which direction the marquee should scroll. This will have value either up,down, left or right. ď‚· behavior: what type of scrolling. This will have value scroll, slid and alternate. ď‚· scrolldelay: how long to delay between each jump. This will have a value like 10 etc. ď‚· scrollamount: how far to jump. This will have a value like 10 etc. ď‚· loop: how many times to loop. The default value is INFINITE, which means that the marquee loops endlessly. ď‚· bgcolor: background color. This will have any color name or color hex value. ď‚· hspace: horizontal space around the marquee. This will have a value like 10 or 20%etc. ď‚· vspace: vertical space around the marquee. This will have a value like 10 or 20%etc.