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 <marquee>.
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>
Attributes:
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.
·
Behaviour:
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 names that the
marquee loops endlessely.
·
Bgcolor:
background color. 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.
·
Hspace:
horizontal space around the marquee. This will have a value like 10 or 20% etc.
No comments:
Post a Comment