HTML Code for Marquee

Introduction to HTML Marquee

The HTML <marquee> tag is used to create a scrolling text or image effect. It allows you to make text or images scroll horizontally or vertically across the screen.

Attributes of Marquee Tag

The marquee tag supports the behavior, direction, scrollamount, scrolldelay, and loop attributes that allow you to customize the scrolling effect.

Example Code

  <marquee behavior="scroll" direction="left">This is a scrolling text</marquee>

Go from files to website in seconds.

Start a free trial for 7 days — no credit card required

Get Started for Free