文字をスクロール(marquee, behavior, direction)
<html> <head> <title>文字をスクロール</title> </head> <body> 右→左<br> <marquee loop="-1">←</marquee><br> <br> 左→右<br> <marquee direction="right" loop="-1">→</marquee><br> <br> 右→左停止<br> <marquee behavior="slide" loop="1">←</marquee><br> <br> 左→右停止<br> <marquee behavior="slide" direction="right" loop="1">→</marquee><br> <br> 往復<br> <marquee behavior="alternate" loop="-1">←→</marquee><br> <br> 背景色付<br> <marquee loop="-1" bgcolor="red">←</marquee><br> </body> </html>
〔 実行する 〕