How to make a text blink in HTML? | SoloLearn: Learn to code for FREE!


How to make a text blink in HTML?

7/12/2020 8:57:29 AM

Elvita Pinto

5 Answers

New Answer


Don't! Just please don't! Well, not unless your intention is to give your website all the class of a cheap strip club.


Martin Taylor That's ... definitely a unique comparison, to say the least. Lol.


I'm pretty sure there used to be a blink tag in html. But Martin Taylor is right, just don't.


You can use css animation like opacity:0 at 0% and opacity:1 at 100%


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