| Be My Friend

Previous

Next


HTML Tag for Marquee

HTML Marquee | Example | Direction | Behavior | Attributes

HTML marquee tag is used to create moving text in HTML or moving images in HTML.

HTML marquee tag is used scrolling some text or image on your site right to left, left to right, top to bottom, bottom to top.

This marquee tag of HTML supports other attributes also.

HTML <marquee> tag helps you to create a news box or message box for your website users.

Marquee Example

This is basic example of marquee The direction of text will be from bottom to top.



Direction in HTML marquee

This direction attribute is used to change the direction of the marquee or scrolling text.

Attribute Value Description
directionup,down,left,rightDefines the direction of scrolling the content.

This is a right direction marquee example.



Behavior in HTML marquee

You can set the behavior of the marquee to one of the three different types: scroll, slide, and alternate.

Attribute Value Description
behaviorscroll,slide,alternateDefines the type of scrolling.

It scrolls the text from right to left and goes back left to right.



There are some more different attributes of the <marquee> tag are:

Attribute Value Description
bgcolorcolor nameBackground color of the scrolling text
height% or in pixelsDefines the height of the marquee
scrolldelaysecondsDefines how long to delay between each jump.
scrollamountnumberDefines how how far to jump.
IF YOU LIKE OUR HTML TUTORIALS PLEASE DON'T FORGET TO SHARE

Subscribe for more videos on our Youtube channel. if you like our tutorial please Like and Subscribe to our Facebook and Youtube.



Previous

Next



YOUR COMMENTS ARE MOST IMPORTANT TO US:

0 Comments



Why basictutorials.in?

To Learn:

Tutorials in a simple Way.

Excel with downloadable samples.

HTML with sample website code.

PowerPoint presentations.

MS Word for offical use.

Useful Tutorials