Movement of text

 Movement of text

The Marque tag is used to scroll text or an image horizontally or vertically. In simple words, it scrolls the text or image up, down, left or right automatically.it is mainly used to deliver a specific message to the visitors or to scroll ads on a page.

Syntax : 
<marque>text</marque>

Marque Attributes: marque tag contains attributes that are used to control and adjust the appearance of the marque.

Attributes

Description

DirectionDefine direction for scrolling content.
It may be left, right, up, and down.
WidthDefines width of marque in pixels or percent.
Heigthdefine height of marker in pixels or percent.
Behaviourit specifies the type of scrolling of the marque.
This can have a value like scroll, slide and alternate.
Scroll-delayDefine scroll delay in seconds.
BgcolorDefines background color.


Example

It will give the output as:









In the next topic we will learn how to create links on webpages. Click on the next button below:



Comments