HTML CSS Reference/HTML Attributes Reference/behavior

Материал из Web эксперт
Перейти к: навигация, поиск

"behavior" Example

<head><Title>Example For behavior</Title></head>
<marquee behavior="slide" bgcolor="#99ffff">Animation.</marquee>

behavior is applied to

| Applied_To     |<marquee>                                                     |

behavior Possible Values

Possible Values
alternate The content moves back and forth between the borders.
scroll    The content loops through. This is the default value. 
slide     The content moves to the end and stops.

"behavior" Syntax and Note

This attribute specifies how content will scroll in the <marquee> element.
<marquee behavior="value"> . . . </marquee>