ankitweblogic logo
W e b t u t o r i a l s

HTML Tutorial

Define Website

Define HTML

HTML, Head, Title tag

HTML Body tag

HTML Heading tags

HTML Paragraph tag

HTML Horizontal Line

HTML Hyperlink

HTML Image tag

HTML Font tag

HTML Exercise

HTML Text Direction

HTML Comment

HTML Lists

HTML Marquee tag

HTML Table tag

HTML Table Website

HTML Frame

HTML Iframe

HTML Fieldset tag

HTML Form Elements

HTML Form Exercise

HTML Image Map

HTML Div & Span Tag

CSS Float & Clear

HTML Color Codes

HTML Symbols

HTML Assignment

HTML Marquee tag

HTML Marquee tag is used to scroll text or images either horizontal or vertical direction. In the web page scrolling text can be used to display news in notice section, breaking news, latest offer etc.

Attribute Description
Scrollamount Scrollamount specifies the speed of marquee text.
Behavior Specifies the scrolling type of the marquee. Possible value: scroll, slide and alternate. Default is scroll.
Bgcolor Specifies the marquee background color.
Direction Specifies the direction in which marquee should scroll. Possible values: left, right, up, or down, default is left.
Loop Specifies how many times to repeat marquee. Value can be set to 1, 0 and -1 (infinite). The default value is infinite.
Width, Height Specifies the width and height of the marquee area.
Hspace Specifies horizontal space around the marquee.
Vspace Specifies vertical space around the marquee.

Example: HTML Marquee Tag