If you mean a scrolling text banner, then you can use the
Marquee tag. It is not a popular tag among web designers because
scrolling text can look very tacky and get annoying. Not all
browsers support the Marquee tag. It is one of Microsoft's tags,
designed for Explorer. Here is a simple example of how to use
it.
<Marquee>This will give you scrolling text, in some
browsers</Marquee>