HTML
MARQUEE TAG
Main
Attributes of marquee tag
· Behavior
o
Scroll
§ In this type of scrolling the
image/text is continuous moving in one direction without stopping.
§ For example
<marquee
behavior=”scroll”>........</marquee>
o
Slide
§ In this type of scrolling the
image/text is complete only one loop in one direction, after successfully
completing its one loop it will automatically stopped.
§ For Example
<marquee
behavior=”slide”>....</marquee>
o
Alternate
§ In this type of scrolling the
image/text change its direction after completing its one loop in one direction,
without any stopping.
§ For Example
<marquee
behavior=”Alternate”> Moving Text</marquee>
· Bgcolor
o
Bgcolor
change the background color of moving text
o
For
example
<marquee
bgcolor=”red”> ...... </marquee>
· direction
o
up
o
down
o
left
o
right
§ For example
<marquee direction=”R/L/U/D”>....</marquee>
· Height
· Width
o
For
Example
<marquee
height=”10px”> ……. </marquee>
<marquee
width=”10px”> ……. </marquee>
· Hspace(Horizontal Space)
o
Hspace
use for place Horizontal space between two marquees of same type.
o
For
Example
<marquee
hspace=”10px”> ……. </marquee>
· Vspace(Vertical Space)
o
Hspace
use for place vertical space between two marquees of same type.
o
For
Example
<marquee
vspace=”10px”> ……. </marquee>
· Loop
o
Loop
define how many times your marquee will move
o
For
example
<marquee loop=”2”> ……. </marquee>
Here 2 means marquee will move only two times.
· Scroll delay
o
Scroll
delay decreases the marquee speed of default speed.
o
For
example
<marquee scrolldelay=”10”> …….
</marquee>
· scroll amount
o
Scroll
amount increase the marquee speed of default speed.
o
For
example

Post a Comment
0 Comments