Explain marquee tag and its attributes with an explain .
Answers
Explanation:
The HTML <marquee> tag is used for scrolling piece of text or image displayed either horizontally across or vertically down your web site page depending on the settings.
attributes are in the attached photo.
Marquee tag
It defines the text that scrolls across the user's display. It's attributes are:-
1) Height
Sets the height of the marquee in pixels.
2) Width
Specifies the width of the marquee in pixels.
3) Direction
Specifies the direction in which the marquee should scroll. This can have values like up, down, left or right.
4) Behavior
Specifies the type of scrolling of the marquee. This an have values like scroll, slide and alternate .
5) Scrolldelay
This specifies the speed of the marquee text.
6) Loop
This specifies how many times the marquee element should scroll on the screen.
7) Bgcolor
This specifies the background colour.
8) Hspace
This specifies horizontal space around the marquee.
9) Vspace
This specifies vertical space around the marquee.