
- Javascript Basics Tutorial
- Javascript - Home
- Javascript - Overview
- Javascript - Syntax
- Javascript - Enabling
- Javascript - Placement
- Javascript - Variables
- Javascript - Operators
- Javascript - If...Else
- Javascript - Switch Case
- Javascript - While Loop
- Javascript - For Loop
- Javascript - For...in
- Javascript - Loop Control
- Javascript - Functions
- Javascript - Events
- Javascript - Cookies
- Javascript - Page Redirect
- Javascript - Dialog Boxes
- Javascript - Void Keyword
- Javascript - Page Printing
- JavaScript Objects
- Javascript - Objects
- Javascript - Number
- Javascript - Boolean
- Javascript - Strings
- Javascript - Arrays
- Javascript - Date
- Javascript - Math
- Javascript - RegExp
- Javascript - HTML DOM
- JavaScript Advanced
- Javascript - Error Handling
- Javascript - Validations
- Javascript - Animation
- Javascript - Multimedia
- Javascript - Debugging
- Javascript - Image Map
- Javascript - Browsers
- JavaScript Useful Resources
- Javascript - Questions And Answers
- Javascript - Quick Guide
- Javascript - Functions
- Javascript - Resources
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>
- Related Articles
- How to create a bold text using JavaScript?
- How to create a strikethrough text using JavaScript?
- How to create a small font text using JavaScript?
- How to create a big font text using JavaScript?
- How to create a link from a text using JavaScript?
- Enclose a text to make it blink with HTML.
- How to create a text field using JavaFX?
- How to create a canvas with Text using FabricJS?
- How to make a text italic using JavaScript
- How to create a canvas with text cursor using FabricJS?
- How to create Text Split effect using CSS?
- How to Create and Save text file in JavaScript?
- How to create a Text with dash pattern border using FabricJS?
- How to convert speech to text using JavaScript?
- How to Create a Comment Box with a Containing Text Using CSS

Advertisements