Open In App

String blink() Method in Javascript

Last Updated : 15 Jul, 2025
Comments
Improve
Suggest changes
3 Likes
Like
Report

In Javascript, the blink() method is a string method that is used to display a string inside the blink tag.

Syntax:

string.blink()

Note: This method has been DEPRECATED and is no longer recommended.

Parameter Values: This method does not accept any parameters.

Return Values: It returns a string value with a blink tag.

JavaScript Version: JavaScript 1.0

Example 1: In this example, we can see the blink() method created a string that contains a <blink></blink> tag.

Output:

String blink() Method

Example 2: In this example, we can see the blink() method created a string that contains a <blink></blink> tag.

Output:

<blink>GeeksForGeeks</blink>

We have a complete list of Javascript String Methods, to check those please go through the Javascript String Complete Reference article.

Supported Browser:

  • Internet Explorer
  • Firefox
  • Google Chrome
  • Safari
  • Opera

Similar Reads