Categories
CSS & HTML Tips

How to Create Blinking Text in HTML

Blinking texts are so 1999. Please by all means if you are still looking for the way to make text blink in HTML web pages, stop.

Otherwise, you may want to try these 2 outdated methods that only work partially across modern browsers, but not in IE:

The <blink> tag

<blink>I'm blinking!/<blink>

The blink text-decoration CSS rule property

The HTML:

<h1>Blinking texts are out</h1>

The CSS:

h1 {text-decoration:blink;}

By Yang Yang

Hello, I'm Yang. I build online businesses that please people. Want to join in and post some useful articles on Kavoir.com? Shoot me a message.

5 replies on “How to Create Blinking Text in HTML”

You may use a timer instead of using the tag.
I have tested this on IE7 and Firefox. Both browsers allow this. However Chrome doesn’t work properly.
Hope you got the answer….

function blinkIt() {
if (!document.all) return;
else {
for(i=0;i<document.all.tags('blink').length;i++){
s=document.all.tags('blink')[i];
s.style.visibility=(s.style.visibility=='visible') ?'hidden':'visible';
}
}
}

Your text

visit Assel Solutions

Comments are closed.