elibraryportal Logo

Marquee HTML

Marquee HTML Tag is used for scrolling Text, Images in either horizontally across or vertically down your web site page depending on the settings.

HTML Marquee Attributes

There are Following Marquee's attributes.

AttributeDescription
behaviorUser to set the behavior of marquee.such as: scroll, slide and alternate.
directionDirection for scrolling content. It may be left, right, up and down.
widthwidth of marquee in pixels or %.
heightDefines height of marquee in pixels or %.
hspaceDefines horizontal space in pixels around the marquee.
vspaceDefines vertical space in pixels around the marquee.
scrolldelayDefines scroll delay in seconds.
scrollamountDefines scroll amount in number.
loopDefines loop for marquee content in number.
bgcolorDefines background color. It is now deprecated.

Syntax:-

1) Example:-

Output:-

This is an example Marquee...

2) Example:- (behavior)

Use behavior for scroll, slide and alternate.

Output:-

This is an example of alternative Marquee...

3) Example:- (Direction)

Use Direction left, right, up and down.

Output:-

This is an example of right Direction Marquee...

4) Example:- (scrolldelay)

Use for scroll delay in seconds

Output:-

This is an example of delay in seconds...

5) Example:- (scrollamount)

In Speed scroll.

Output:-

This is an example of speed Scrool...

6) Example:- (Loop)

Loop Marquee Decide How many time display your Text .

Output:-

This is an example of loop time...

7) Example:- (bgcolor)

for Use BackGround color.

Output:-

This is an example of Color...
Next TopicHTML Block