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;}

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

  1. 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.

Scroll to Top