I must confess, I never wanted to write this section. I thought it would be more appropriate to include it in the Tips and Tricks section. Okay, here it is…
<MARQUEE> and <BLINK> are two browser specific tags. These tags are displayed only by some browsers and ignored by the others.
- <BLINK>: Netscape Communicator
- <MARQUEE>: Internet Explorer
The <BLINK>
This tag is rendered ONLY by Netscape. There have been many a things said about this tag (most of them unpleasant). I feel it provides cheap thrills to a novice. Also, IE ignores this tag.
<MARQUEE>
The <MARQUEE> tag provides some animated text to the page. Unfortunately, it is supported only by Internet Explorer (and WebTV). It provides an easy way to put some dynamic text in otherwise static pages (scripting languages are another story).
It has many attributes:
- BEHAVIOUR = ALTERNATE, SCROLL OR SLIDE
- BGCOLOR = #RRGGBB (The RGB code, explained in the color session) or Color-Name such as “Blue”, “Green” etc.
- DIRECTION = DOWN, LEFT, RIGHT OR UP
- HEIGHT = in pixels or percentage
- HSPACE = in pixels (the amount of horizontal space left)
- LOOP = number or INFINITE
- SCROLLAMOUNT = in pixels
- SCROLLDELAY = in milliseconds
- TITLE = some advisory text
- TRANSPARENCY = 0 to 100 (number)
- VSPACE = in pixels (amount of vertical space left)
- WIDTH = in pixels or percentage
- and the CLASS, ID and STYLE attributes if you use style sheets
I like this marquee tag, its easy, cool and gives great results. Pity it’s not supported by Netscape version 4.xx.