Marquee tag


Prev Tutorial Next Tutorial

Marquee tag

My first web page

My first web page

Marquee tag are used for display the moving content on the web browser. Marquee tag contain the following attribute.

  • Direction: To specify direction of moving content like left, right, up, down.
  • Scroll amount: To specify the speed of the content.
  • Loop: To specify how many time that text has to move on the browser window.
  • Behavior: To specify the style to the moving content. It have attribute scroll, alternate, slide.

Example

<html>
<body>
<marquee direction="left" scrollamount="10" loop="5"
behavior="slide" >My first web page</marquee>
</body>
</html>

Result

My first web page

Browser supported

Element
<marquee>YesYesYesYesYes

Prev Tutorial Next Tutorial

Advertisements




Facebook Likes

Advertisements