Cloud Training (Online)




How to Refresh Webpage every few Mins using HTML Meta Tag ?

One of the common ways to refresh webpage every few mins is by using JavaScript or HTML Meta tag.

For example , assume that you want to refresh the webpage every 1 minute . You can place the metatag in the head tag with the attributes http-equiv=”refresh” and the content attribute to 60.

How to Refresh Webpage every few Mins using HTML Meta Tag ?

<html>
  <head>

    <meta http-equiv="refresh" content="60">

  </head>

  <body>

  </body>

</html>

Note that the meta tag for refreshing the webpage is a deprecated feature as per w3c standards but the solution works on most of the Web Browsers.

Senthil Kumar B
Senthil Kumar is a former Microsoft MVP (Most Valuable Professional). He is a Co-Author of the book "Windows 10 Development Recipes using JavaScript and CSS" for Apress Publication. He is a technical presenter, blogger, mentor and a Geek.  Senthil is a regular speaker is various local user groups. He has presented at conferences like Great Indian Developer Summit (GIDS) & Microsoft DevCamps. You can reach out to him via his Twitter handle @isenthil.