<MARQUEE> Tag & its Attribute

HTML Tag <MARQUEE>

<MARQUEE> Displays a scrolling text message within a document. Only Internet Explorer recognizes this tag.

Attribute of <MARQUEE> Tag

ALIGN

Specifies the alignment of text outside the marquee.

<MARQUEE WIDTH=200 HEIGHT=50
ALIGN=LEFT DIRECTION=LEFT>
Welcome to CS-Tutorial.com !!!! </MARQUEE>


Possible Values

LEFT, CENTER, RIGHT, TOP, BOTTOM



BEHAVIOR

Indicates the type of scrolling.

<MARQUEE DIRECTION=LEFT
BEHAVIOR=ALTERNATE>
Welcome to CS-Tutorial.com!!!
</MARQUEE>


Possible Values

SLIDE, SCROLL, ALTERNATE



BGCOLOR

Specifies the background color of the marquee. Use a hexadecimal RGB color value or a color name.

<MARQUEE BGCOLOR="red" DIRECTION=LEFT>
Welcome to CS-Tutorial.com!!!
</MARQUEE>


Possible Values

Color Name or Hexadecimal color code.



DATAFLD

Selects a column from a block of tabular data.

<MARQUEE DATASRC="#data_table"
DATAFLD="srnum">


Possible Values

Field Name.



DATAFORMATAS

Specifies how items selected from tabular data format within the document.

<MARQUEE DATASRC="#data_table"
DATAFLD="nitems" DATAFORMATAS=HTML>


Possible Values

Format type.



DATASRC

Specifies the location of tabular data to be bound within the document.

<MARQUEE DATASRC="#data_table"
DATAFLD="nitems">


Possible Values

Data Source name.



DIRECTION

Indicates the direction in which the marquee text scrolls.

<MARQUEE DIRECTION=LEFT>
Welcome to Cs-tutorial.com!!!
</MARQUEE>


Possible Values

LEFT, RIGHT



HEIGHT

Specifies the vertical dimension of the marquee (in pixels).

<MARQUEE WIDTH=300 HEIGHT=50>
Welcome to CS-Tutorial.com!!
</MARQUEE>


Possible Values

Value in Pixel.



HSPACE

Specifies the size of the margins (in pixels) to the left and right of the marquee.

<MARQUEE DIRECTION=LEFT HSPACE=25>
Welcome to Cs-tutorial.com!!!
</MARQUEE>


Possible Values

Value in Pixel.



ID

Assigns a unique ID selector to an instance of the <MARQUEE> tag. When you then assign a style to that ID selector, it affects only that one instance of the <MARQUEE> tag.

<MARQUEE ID="dkm">


Possible Values

Any ID Name.



LOOP

Controls the appearance of the marquee text.

<MARQUEE LOOP=5>
Welcome to Cs-tutorial.com!!!
</MARQUEE>


Possible Values

Any Integer or INFINITE



SCROLLAMOUNT

Indicates how far (in pixels) the marquee text shifts between redraws. Decrease this value for a smoother (but slower) scroll; increase it for a faster (but bumpier) scroll.

<MARQUEE SCROLLAMOUNT=10
SCROLLDELAY=40>Welcome to Cs-tutorial.com!!!
</MARQUEE>


Possible Values

Any Integer .



SCROLLDELAY

Indicates how often (in milliseconds) the marquee text redraws. Increase this value to slow the scrolling action; decrease it to speed the scrolling action.

<MARQUEE DIRECTION=RIGHT
SCROLLDELAY=30>Welcome to Cs-tutorial.com!</MARQUEE>


Possible Values

Value in Millisecond.



STYLE

Specifies Style Sheet commands that apply to the text within the <MARQUEE> tags.

<MARQUEE STYLE="background: red">
Welcome to Cs-tutorial.com!!!
</MARQUEE>


Possible Values

CSS Property with Value.



TITLE

Specifies text assigned to the tag. You might use this attribute for context-sensitive help within the document. Browsers may use this to show tool tips over the marquee.

<MARQUEE TITLE="Scrolling Marquee">
Welcome to Cs-tutorial.com!!!
</MARQUEE>


Possible Values

Any Text Message.



VSPACE

Specifies the size of the margins (in pixels) at the top and bottom of the marquee.

<MARQUEE DIRECTION=LEFT VSPACE=25>
Welcome to Cs-tutorial.com!</MARQUEE>


Possible Values

Value in Pixel.



WIDTH

Specifies the horizontal dimension (in pixels) of the marquee.

<MARQUEE WIDTH=300>
Welcome to Cs-tutorial.com!</MARQUEE>


Possible Values

Value in Pixel.




CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz