<marquee> Tag in HTML

The <marquee> tag is used to create scrolling text or images within a webpage. It allows content to move horizontally or vertically across the screen. Although it was widely used in older websites, the <marquee> tag is now obsolete and not recommended for modern web development.

Key Points on <marquee> Tag:

Syntax of <marquee> Tag:

Syntax Example

<marquee>Scrolling Text</marquee>

Example of <marquee> Tag in HTML:

This example shows a basic scrolling text using the <marquee> tag.

Code Example

<marquee>Welcome to Our Website!</marquee>

Output

Welcome to Our Website!

Attributes of <marquee> Tag:

Due to its limited support and outdated status, using the <marquee> tag is discouraged in modern web design. Instead, consider using CSS animations or JavaScript for creating scrolling effects to ensure better accessibility and compatibility.