Javascript - String blink() Method

The blink() method displays a blinking string. This method returns the string embedded in the <blink> tag, like this:

Description

The blink() method displays a blinking string. This method returns the string embedded in the <blink> tag, like this:

<blink>string</blink>

The HTML <blink> tag is obsolete.

Syntax

string.blink()

Parameters

None

Return

A string embedded in the <blink> tag

Example

Display a blinking text:

Demo

var str = "Hello World!";
var result = str.blink();
console.log(result);

Result