|
<marquee Creates a scrolling text marquee; a bit like the Windows Marquee screen saver. If you want to set the font for a marquee, you must put the <font> tags outside the <marquee> tags. This tag doesn't appear in the HTML 4.0 specification and I don't think Netscape supports it. Attributesalign=left|center|right|top|bottom Specifies how the surrounding text should align with the marquee. The default is left.
Specifies how the text should move. The type can be one of these values:
The background colour for the marquee. Enter a hexadecimal number (optionally preceded by a #), a red-green-blue colour value, or a predefined colour name as described in Using colour. class=type Indicates the class to which the tag belongs. You can use the class attribute in a style sheet to create different styles that you want apply to a single HTML tag. For example, you might create three different styles for a <marquee> tag. See Using the class attribute as a selector for more details. Specifies the direction of text. This can be left-to-right (ltr) or right-to-left (rtl). For example, English characters are presented left-to-right, Hebrew characters are presented right-to-left. Specifies the height of the marquee, either in pixels or as a percentage of the screen height. To specify a percentage, the n must end with a percent sign (%). Specifies left and right margins for the outside of the marquee, in pixels. id=value Specifies a unique name for the tag. No two tags can have the same id on a single page. The value must begin with a letter followed by any alphanumeric character, a hyphen, an underscore, a colon or a full stop. You use it to reference a unique style for a tag or to manipulate the tag with a script. lang=language Specifies which language the <marquee> tag uses. You can enter any valid ISO standard language abbreviation, for example, “en” for English, “de” for German and so on. For example, <span lang="es">hola! como esta?</span>. This attribute helps search engines understand different languages as different languages rather than just misspelled English. It may also help spelling and grammar checkers and allow speech synthesizers to use language-dependent pronunciation rules. Specifies how many times a marquee will scroll. If loop is either -1 or INFINITE, the marquee will loop indefinitely. Specifies the number of pixels between each successive draw of the marquee text. Specifies the number of milliseconds between each successive draw of the marquee text. style=style Specifies style information. See Style sheets for more information. title=text For information only. Some browsers display the title when you move the mouse over the tag (like a tool tip). truespeed=string With the truespeed flag set, all scrolldelay values are used as specified. If the truespeed flag is not set, then any values of scrolldelay of less than 59 mS are rounded to 60mS Specifies top and bottom margins for the outside of the marquee, in pixels. Sets the width of the marquee, either in pixels or as a percentage of the screen width. To specify a percentage, the n must end with a percent sign (%). |
More information |