Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

JavaScript blink() method

JavaScript blink() method

String Object Reference JavaScript String object


Definition and Usage

The blink() method is used to display a blinking string.

This method returns the string with an tag added, as shown below:

string

Syntax

string

.blink()


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Currently only the Firefox and Opera browsers support the blink() method. Internet Explorer, Chrome, and Safari do not support the blink() method.


Example

Example

Display a blinking string:

Try it »


String Object Reference JavaScript String object