<MARQUEE>
Tag: It is used to display Scrolling text in
a marquee style. Start & end tags both are required and supported by all
the browsers.
Attribute
|
Specification
and Value
|
DIRECTION
|
LEFT
(default), RIGHT, DOWN, UP
|
BEHAVIOR
|
SCROLL
(default), SLIDE, ALTERNATE (Bouncing)
|
LOOP
|
Example:
LOOP=5 (By default infinite times)
|
SCROLLDELAY
|
(Speed
of Scrolling) Sets the no. of milliseconds
SCROLLDELAY=“30”
|
BGCOLOR
|
Background
colour of the marquee text
|
HEIGHT
|
Height
of the marquee
|
WIDTH
|
Width
of the marquee
|
HSPACE
|
Space
between Left & Right Browser Wall and Marquee
|
VSPACE
|
Space
between Top & Bottom Browser Wall and Marquee
|
STYLE
|
Inline
styling is used to apply a unique style (or formatting) to a single HTML
element.
|
TITLE
|
Title
of the tag (like “ToolTipText” in VB)
|
Example:
<!
MyMarquee.HTML>
<HTML>
<HEAD>
<TITLE> An Example of
Marquee in webpage</TITLE>
</HEAD>
<BODY BGCOLOR=“YELLOW” TEXT=“Purple”>
<H1> Working with
Marquee </H1>
<MARQUEE>
First marquee
effect on the web page
</MARQUEE>
<BR><BR>
<MARQUEE
BEHAVIOR=“ALTERNATE” BGCOLOR=“CYAN” LOOP=“5”
DIRECTION=“RIGHT” SCROLLDELAY=“100” HEIGHT=“50”>
Second Marquee
effect on the web page.
</MARQUEE>
<BR><BR>
<MARQUEE BEHAVIOR=“SLIDE” BGCOLOR=“PINK” DIRECTION=“UP” HEIGHT=“70”
WIDTH=“80%” STYLE=“COLOR:BLUE
; FONT:BOLD”>
Third Marquee
effect on the web page.
</MARQUEE>
<BR><BR>
</BODY>
</HTML>
~ ~ ~ ~ ~ ~ ~ * ~ ~ ~ ~ ~ ~ ~
No comments:
Post a Comment