文字左右滚动选择,改变direction的值

1、从左到右滚动显示
<marquee direction=left>测试</marquee>

2、从右到左滚动显示
<marquee direction=right>测试</marquee>