Marquee Tag in HTML || HTML Marquee Tag

HTML MARQUEE <marquee> Tag

by Jai 17-Jul-19

0 894


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:

HTML MARQUEE <marquee> Tag


Share:


Leave a Reply


Comments
    Waiting for your comments