HTML Marquee

In HTML marquee tag is used for scrolling text horizontally or vertically using direction attribute.

The <marquee> Tag Attributes

width used to specifies marquee tag width.
height used to specifies marquee tag height.
direction used to specifies the direction of text used in marquee tag.
behavior used to specifies the type of scrolling of the marquee tag.
scrolldelay used to specifies how long to delay between each scroll of text.
scrollamount used to specifies the speed of marquee text.
bgcolor used to specifies background color .

Syntax

<marquee>

Content Goes Here

</marquee>

Examples

<!DOCTYPE html>
<html>
<head>
<title>Title</title>
</head>
<body>
<marquee width="100%" direction="right">Content Goes Here</marquee>
</body>
</html>

Leave a Reply

Your email address will not be published. Required fields are marked *