What is a marquee in HTML?
The marquee tag is a non-standard HTML element which scrolls text or image to up, down, left or right automatically. Marquee is created by using HTML <marquees> tag.
What is the purpose of marquee tag in HTML?
The marquee <marquee> HTML tag is used to highlights web content by scrolling text or image to up, down, left or right .
How many types of marquee are in HTML?
There are three types of marquee in html as below.
- scroll
- slide
- alternate
Syntax :
<marquee behavior="scroll">Scrolling marquee text</marquee>
<marquee behavior="alternate">Scrolling marquee text</marquee>
<marquee behavior="slide">Scrolling marquee text</marquee>
The <marquee> Tag Attributes
The different attributes of <marquee> tag are as below.
- width : The width of the marquee.
- height : The height of the marquee
- direction : In which direction marquee will be scrolled.
- behavior : The type of scrolling of the marquee like scroll, slide and alternate.
- scrolldelay : Scroll delay time between each jump.
- scrollamount: It specifies the speed of marquee text.
- loop : It specifies how many times to loop. The default value is INFINITE.
- bgcolor : It specifies background color of marquee.
- hspace : It specifies horizontal space around the marquee.
- vspace : It specifies vertical space around the marquee.
Syntax :
<marquee behavior="slide" bgcolor="#00FF99" direction="left" height="50px;" width="200px" scrolldelay="5" scrollamount="30">Scrolling marquee text</marquee>
S. MOHAN PRASAD
I NEED TAGS FOR SET THE PICTURES FROM OUR SYSTEM DRIVES WITH EXAMPLE KINDLY