Skip to content
Related Articles

Related Articles

Improve Article

String blink() Method in Javascript

  • Difficulty Level : Medium
  • Last Updated : 26 Aug, 2020

This tutorial explains how to use Javascript blink() Method.

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



Parameter Values: None.

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

JavaScript Version: JavaScript 1.0

Program 1:

.<!DOCTYPE html>
<title>Blink Method</title>
  <button onclick="blinkMethod()">Click here</button>
     function blinkMethod(){
         var simpleString="GeeksForGeeks";


Program 2:

function func(){
var simpleString="GeeksForGeeks";



In previous program as you can see the blink() method created a string that contains a <blink></blink> tag.

Supported Browser:

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


My Personal Notes arrow_drop_up
Recommended Articles
Page :