Showing Scrolling Text Message in HTML using marquee

In the below example, we are showing how you can create a simple scrolling text message in html based web page.

As you can see below, its the basic html code, and inside “body” tag, we have used “marquee” tag and inside this tag, we have written “Welcome to Lynxbee Website !” as text message.

<!DOCTYPE html>

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


The HTML <marquee> element is used to insert a scrolling area of text. You can control what happens when the text reaches the edges of its content area using its attributes.

As you can see in “marquee HTML element” this element is obsolete for new html versions, hence better you can avoid using it.

Leave a Comment