What is marquee tag in HTML?
Marquee is the tool which can be used to scroll text vertically or horizontally within a web page. It is just like a command in html format which can be seen in the respected web page. The marquee is not a standard one but one can enjoy good browsing supports. You can change the marquee background color, width, the number of times your message will scroll, and the speed that your text scrolls, this is possible only by using some attribute within your MARQUEE tag.
Marquee Attributes are:
• WIDTH: decides the wide of the marquee
• HEIGHT: decides the tall of the marquee
• DIRECTION: decides the direction of the marquee
• BEHAVIOR: decides the type of scrolling
• SCROLLDELAY: decides the delay between each jump
• SCROLLAMOUNT: how far to jump
• LOOP: how many times to loop
• BGCOLOR: decides the type of a background color
• HSPACE: decides the horizontal space around the marquee
• VSPACE: decides the vertical space around the marquee
Types of Marquee Tag:
There are four types of Marquee tag:
1) Regular marquee
2) Right marquee
3) Bouncing marquee
4) Faster marquee
5) Background color marquee
6) Sliding marquee
7) Smaller marquee
8) Blinking marquee
9) Middle marquee
1) Regular marquee: It is a general marquee which is used for the general view. It is very simple.
Code: <marquee>your words here</marquee>
Example:
2) Right marquee: It is a type of marquee in which word will move in right direction only.
3) Bouncing marquee: It is a type of marquee in which word will bounce from left,right,up and down side of the monitor.
4) Faster marquee: It is a type of marquee in which word will move faster according to your command given.
5) Background color marquee: It is a type of marquee in which the word will have a background color.
6) Sliding marquee: It is a type of marquee in which the word will looks like a sliding type.
7) Smaller marquee: It is a type of marquee in which the word can be made smaller as per your requirements.
8) Blinking marquee: It is a type of marquee in which the word will blink as per your given number of times.
9) Middle marquee: It is a type of marquee in which the word will start scrolling from the middle.
Marquee is the tool which can be used to scroll text vertically or horizontally within a web page. It is just like a command in html format which can be seen in the respected web page. The marquee is not a standard one but one can enjoy good browsing supports. You can change the marquee background color, width, the number of times your message will scroll, and the speed that your text scrolls, this is possible only by using some attribute within your MARQUEE tag.
Marquee Attributes are:
• WIDTH: decides the wide of the marquee
• HEIGHT: decides the tall of the marquee
• DIRECTION: decides the direction of the marquee
• BEHAVIOR: decides the type of scrolling
• SCROLLDELAY: decides the delay between each jump
• SCROLLAMOUNT: how far to jump
• LOOP: how many times to loop
• BGCOLOR: decides the type of a background color
• HSPACE: decides the horizontal space around the marquee
• VSPACE: decides the vertical space around the marquee
Types of Marquee Tag:
There are four types of Marquee tag:
1) Regular marquee
2) Right marquee
3) Bouncing marquee
4) Faster marquee
5) Background color marquee
6) Sliding marquee
7) Smaller marquee
8) Blinking marquee
9) Middle marquee
1) Regular marquee: It is a general marquee which is used for the general view. It is very simple.
Code: <marquee>your words here</marquee>
Example:
2) Right marquee: It is a type of marquee in which word will move in right direction only.
Code: <marquee direction=right>Your words here</marquee>Example:
3) Bouncing marquee: It is a type of marquee in which word will bounce from left,right,up and down side of the monitor.
Code: <marquee behavior=alternate>Your words here</marquee>Example:
4) Faster marquee: It is a type of marquee in which word will move faster according to your command given.
Code: <marquee scroll amount=20>Your words here</marquee>Example:
5) Background color marquee: It is a type of marquee in which the word will have a background color.
Code: <marquee bgcolor="maroon">Your words here</marquee>Example:
6) Sliding marquee: It is a type of marquee in which the word will looks like a sliding type.
Code: <marquee behavior=slide>Your words here</marquee>Example:
7) Smaller marquee: It is a type of marquee in which the word can be made smaller as per your requirements.
Code: <marquee width=35%>Your words here</marquee>Example:
8) Blinking marquee: It is a type of marquee in which the word will blink as per your given number of times.
Example:Code: <marquee scroll amount=400 scroll delay=500>Your words here</marquee>
9) Middle marquee: It is a type of marquee in which the word will start scrolling from the middle.
Code: <marquee direction=left width=50%>Your words here</marquee><marquee direction=right width=50%>Your words here</marquee>Example: