An HTML marquee is a scrolling section of text displayed on webpage depending on the settings. This is formed by using HTML <marquees> tag. The HTML <marquee> tag may not be supported by various browsers.

Marquees Syntax:-

<marquee attribute_name=”attribute_value”….more attributes>

Content…

</marquee>

<marquee> Tag Attributes

The list of attributes of <marquee> tag:

Attribute Description
width The width of the marquee.
height The height of the marquee.
direction The direction in which marquee should scroll. This can be a value like up, down, left or right.
behavior The type of scrolling of the marquee. This can have a value like scroll, slide and alternate.
scrolldelay This identify how long to delay between each jump.
scrollamount This identify the speed of marquee text.
loop This identify how many times to loop.
bgcolor This identify background color in terms of color name or color hex value.

Examples:-

<!DOCTYPE html>

<html>

<head>

<title>HTML marquee Tag</title>

</head>

<body>

<marquee>example of marquee</marquee>

</body>

</html>

More Article


0 thoughts on “HTML Marquees”

Leave a Reply

Related Article

HTML

HTML Character Sets

ASCII was the first character set. It describes 127 different alphanumeric characters that can be used on the internet.

HTML

HTML Event Attributes

The following event attributes could be added to all HTML elements where applicable. The event attributes are used for specifying the characteristics of an element

HTML

HTML Tags

HTML Tag are used for making front end part which is visible for visitors. HTML Tag are ,