Auto Refresh Webpage after every x Second or Minute using Meta Tag?

Auto Refresh Webpage using HTML Meta Tag

If you have a use-case where you want to refresh a webpage on the client browser every x seconds or minute, you can make use of the meta tag in the head section with attributes http-equiv="refresh" and content with a value of the interval in which the page should be refreshed in seconds.

Example: Refresh Page every 5 minutes
<meta http-equiv="refresh" content="300">

Note: Make sure to add the meta tag in the head section of the HTML page.


Have Questions? Post them here!

Top Hashtags: