How to make a text blink in HTML? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

How to make a text blink in HTML?

12th Jul 2020, 8:57 AM
Elvita Pinto
Elvita Pinto - avatar
4 Answers
+ 10
Martin Taylor That's ... definitely a unique comparison, to say the least. Lol.
12th Jul 2020, 10:19 AM
Fox
Fox - avatar
+ 3
I'm pretty sure there used to be a blink tag in html. But Martin Taylor is right, just don't.
12th Jul 2020, 1:58 PM
PresidentOfYes12
PresidentOfYes12 - avatar
+ 1
You can use css animation like opacity:0 at 0% and opacity:1 at 100%
12th Jul 2020, 9:20 AM
anjit pariyar
anjit pariyar - avatar
0
You should use javascript .. grab the element using document.querySelector() Creat a setInterval function that changes the opacity property of the element (text) grabbed every defined time
13th Jul 2020, 7:38 AM
Ali Kh
Ali Kh - avatar