 
 Data Structure Data Structure
 Networking Networking
 RDBMS RDBMS
 Operating System Operating System
 Java Java
 MS Excel MS Excel
 iOS iOS
 HTML HTML
 CSS CSS
 Android Android
 Python Python
 C Programming C Programming
 C++ C++
 C# C#
 MongoDB MongoDB
 MySQL MySQL
 Javascript Javascript
 PHP PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to create a blink text using JavaScript?
To create a blinking text, use the JavaScript blink() method. This method causes a string to blink as if it were in a BLINK tag.
Note − HTML <blink> tag deprecated and is not expected to work in every browser.
Example
You can try to run the following code to create a blinking text with the JavaScript blink() method −
<html>
   <head>
      <title>JavaScript String blink() Method</title>
   </head>
   <body>
      <script>
         var str = new String("Demo Text");
         document.write(str.blink());
         document.write("<br><br> Note: HTML <blink> tag deprecated and is not expected to work in every browser.")
      </script>
   </body>
</html>Advertisements
                    