HTML Marquee Tag
Eg.
<marquee>Welcome to dophptalks</marquee>
<marquee direction="left">Welcome to dophptalks</marquee>
<marquee direction="right">Welcome to dophptalks</marquee>
<marquee direction="down">Welcome to dophptalks</marquee>
<marquee direction="up">Welcome to dophptalks</marquee>
<marquee onmouseover="stop()">Welcome to dophptalks</marquee>
<marquee onmouseover="stop()" onmouseout="start()">Welcome to dophptalks</marquee>
Specific Attributes
The HTML <marquee> tag also supports following additional attributes:
| Attribute | Value | Description |
|---|---|---|
| behavior | scroll slide alternate | Defines the type of scrolling. |
| bgcolor | rgb(x,x,x) #xxxxxx colorname | Deprecated-Defines the direction of scrolling the content. |
| direction | up down left right | Defines the direction of scrolling the content. |
| height | pixels or % | Defines the height of marquee. |
| hspace | pixels | Specifies horizontal space around the marquee. |
| loop | number | Specifies how many times to loop. The default value is INFINITE, which means that the marquee loops endlessly. |
| scrolldelay | seconds | Defines how long to delay between each jump. |
| scrollamount | number | Defines how how far to jump. |
| width | pixels or % | Defines the width of marquee. |
| vspace | pixels | Specifies vertical space around the marquee. |
No comments:
Post a Comment