JavaScript String blink() Method

Definition and Usage

The String blink() method in JavaScript is deprecated.

Please avoid using it.

It may stop running at any time in your browser.

blink() The method returns the string embedded in the <blink> tag:

blink() The method embeds a string into the <blink> tag:

<blink>string</blink>

HTML5 does not support the <blink> tag.

Example

let text = "Hello World!";
let result = text.blink();

Try It Yourself

Browser Support

Chrome IE Edge Firefox Safari Opera
Chrome IE Edge Firefox Safari Opera
Not supported Not supported Not supported Not supported Not supported Not supported

Syntax

string.blink()

Parameters

No parameters.

Return Value

String embedded in the <blink> tag.