KnowledgeBoat Logo
|
LoginJOIN NOW

Computer Studies

Define Behaviour in Marquee HTML Tag

HTML Advanced Features

18 Likes

Answer

Behaviour is a part of marquee which states about the types of movements of the string of text. It includes three attributes:

  1. Alternate — The string keeps on scrolling between the ends of the web page.
  2. Scroll — The string of text keeps on scrolling across the screen and scrolls back on the web page.
  3. Slide — The string of text starts scrolling from the right side of the screen and stops as soon as it reaches the left side of the web page.

For example:

<marquee behavior = "alternate">Hello Students</marquee>

Answered By

10 Likes


Related Questions