Blinking text in HTML

Manish Goyal

Manish Goyal

@manish-r2Hoep Oct 15, 2024
I am facing problem in displaying blinking text in HTML.I know we have to use

tag <Blink> For this.But it is not working on Internet Explorer but it is working

on Mozilla.I have also tried it by using CSS ie

h1.para
{text-decoration:blink;}

but this is also not possible on Internet Explorer.Guys Please help me

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • vik001ind

    vik001ind

    @vik001ind-rOaCSy Jan 19, 2010

    Which version of IE are you using? Make sure it support that html version capabilities that you require.
  • Manish Goyal

    Manish Goyal

    @manish-r2Hoep Jan 19, 2010

    I am using IE 4 .I have tested it on Mozilla and Netscape it is not working only in internet

    explorer.
  • gaurav.bhorkar

    gaurav.bhorkar

    @gauravbhorkar-Pf9kZD Jan 19, 2010

    goyal420
    I am facing problem in displaying blinking text in HTML.I know we have to use

    tag <Blink> For this.But it is not working on Internet Explorer but it is working

    on Mozilla.I have also tried it by using CSS ie

    h1.para
    {text-decoration:blink;}

    but this is also not possible on Internet Explorer.Guys Please help me
    In C we use a timer and a loop to Blink text.
    Going by the same logic, maybe you can implement using Java Script.

    I guess IE doesn't support <blink>.

    PS: I don't know JS.
  • Manish Goyal

    Manish Goyal

    @manish-r2Hoep Jan 19, 2010

    Thanks Gaurav for giving me a clue.For you guys you can use this now enjoy blinking text in your website with no tension of Internet Explorer😉

    <html>
    <head>
    <script type="text/javascript">
    function change_header()
    {
    document.getElementById("myHeader").innerHTML=" ";
    setTimeout("change()",1000);
    }
    function change()
    {
    document.getElementById("myHeader").innerHTML="heLLO";
    setTimeout("change_header()",1000);
    }
    </script>
    </head>
    
    <body onload="change_header()">
    <h1 id="myHeader"></h1>
    </body>
    
    </html>
  • gaurav.bhorkar

    gaurav.bhorkar

    @gauravbhorkar-Pf9kZD Jan 19, 2010

    goyal420
    Thanks Gaurav for giving me a clue.For you guys you can use this now enjoy blinking text in your website with no tension of Internet Explorer😉

    <html>
    <head>
    <script type="text/javascript">
    function change_header()
    {
    document.getElementById("myHeader").innerHTML=" ";
    setTimeout("change()",1000);
    }
    function change()
    {
    document.getElementById("myHeader").innerHTML="heLLO";
    setTimeout("change_header()",1000);
    }
    </script>
    </head>
    
    <body onload="change_header()">
    <h1 id="myHeader"></h1>
    </body>
    
    </html>
    Thats working perfectly, buddy!
  • Manish Goyal

    Manish Goyal

    @manish-r2Hoep Jan 19, 2010

    But still confused why internet explorer does not support this <Blink>tag
    as these blinking text are famous in 90's
  • vik001ind

    vik001ind

    @vik001ind-rOaCSy Jan 19, 2010

    IE 4 is very outdated, IE 8 is recently launched. Most probably, IE 4 uses a older version of html that don't support those things. You might be using updated firefox, coz it updated automatically.
  • gaurav.bhorkar

    gaurav.bhorkar

    @gauravbhorkar-Pf9kZD Jan 19, 2010

    Even the latest version of IE doesn't support the <blink> tag.

    The reason may be that <blink> is not standard.

    Even Google Chrome doesn't support it.