HTML MARQUEE <marquee> Tag
0 6172
The <marquee> is an unusual HTML tag for creating a scrolling image or a text in the horizontal or vertical direction in the HTML document. It is a text-level element.
It is used to create the image or text to scroll vertically down/ horizontally across the web page. If you use <marquee> un-standardized HTML element then your apps or pages may get broken.
The <marquee> tag comes in pairs. The <marquee> tag has both starting (<marquee>) and closing (</marquee>) tag.
Program:
<!DOCTYPE html> <html> <head> <title>Marquee Tag</title> </head> <body> <h2> Marquee Tag </h2> <marquee>A scrolling text created with HTML Marquee Tag.</marquee> </body> </html>
Output:
Share:
Comments
Waiting for your comments