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

+4

How to make a text blink in HTML?

7/12/2020 8:57:29 AM

Elvita Pinto

5 Answers

New Answer

+8

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

+7

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

+3

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

+1

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

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