A simple marquee with no additional attributes is marked up as follows:
<p><marquee>This text is a moving target. Don't you just love it?</marquee></p>
Use this for…
The marquee element should contain a short amount of text.
Support for marquee is varied. Some browsers will stop animation regardless of loop settings, some interpret direction differently, some will honor height and width attributes, most pay no attention at all. However, given that this is not part of any HTML recommendation, this is perhaps to be expected. The simple answer is not to use it if you want to have valid documents that render consistently and don’t annoy the heck out of the reader.