Marquee tag in Html
Advertisements
Marquee tag in Html
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
Browser supported
Element | |||||
<marquee> | Yes | Yes | Yes | Yes | Yes |
Google Advertisment