Search This Blog

reload web page every a few seconds

  • Method 1: html meta element
    <head>
    <meta http-equiv="refresh" content="10"/>
    </head>
    
  • Method 2: Use javascript(setTimeout(), window.location.reload()):
    <html>
    <body onload="setTimeout(function () { window.location.reload(1); }, 10000);">
    </body>
    </html>
    

No comments:

Post a Comment