explain the marquee tags direcrion and behavior attributes
Answers
Explanation:
What basically is Marquee?
Ans: An HTML marquee tag used for scrolling piece of text displayed either horizontally across or vertically down your webpage depending on the settings.
Following is the list of attributes which can be used with <marquee> tag.
Width: This is used to specify the width the marquee. This can be a value like 20 or 20% etc.
Height: This is used to specify the height of the marquee. This cam be a value like 20 or 20% etc.
Direction: This is used to specify the direction in which marquee should scroll. This can be value like left, right, up or down.
Behaviour: This can be used to specify the type of scrolling of the marquee. This can have a value like scroll.
Scrolldelay: This is used to specify how long to delay between each jump. This will have a value like 10.
Loop: This is used to specify how many times to loop. The default value is INFINITE, which means the marquee loops endlessly.
bgcolor: This is used to specify the background colour name or colour hex value.
hspace: This is used to specify horizontal space around the marquee. This can be a value like 20 or 20% etc.
vspace: This is used to specify vertical space around the marquee. This can be a value like 20 or 20% etc.
Marquee tag
It defines the text that scrolls across the user's display. It's attributes are:-
Direction
Specifies the direction in which the marquee should scroll. This can have values like up, down, left or right.
Behavior
Specifies the type of scrolling of the marquee. This an have values like scroll, slide and alternate .