December 19, 2000 - Blinking in Netscape 6 | WebReference

December 19, 2000 - Blinking in Netscape 6

Yehuda Shiran December 19, 2000
Blinking in Netscape 6
Tips: December 2000

Yehuda Shiran, Ph.D.
Doc JavaScript

One of the proprietary features of Netscape Navigator is the <BLINK> tag. Netscape 6 does not support this tag. Instead, the W3C Standard calls for support of the text-decoration:blink feature in the STYLE attribute. The standard requires browsers to parse the text-docoration element, but does not require the blinking operation itself. Neverthesless, the text-decoration:blink feature is supported by both Netscape Navigator and Netscape 6. It is not supported by Internet Explorer. The following line should blink in Netscape Navigator:

This line should blink in Netscape Navigator

It is defined as:

<BLINK>This line should blink in Netscape Navigator</BLINK>
Once we use the text-decoration instead, we get the following HTML code:

<DIV STYLE="text-decoration:blink">This line should blink in Netscape Browsers<DIV>

Check if it's working in your browser:

This line should blink in Netscape Browsers
Both Netscape Navigator and Netscape 6 should blink at this line. Internet Explorer does not support any automatic blinking. The best way to become browser-independent is to implement the blinking yourself, by revealing and hiding the element, automatically.