Refresh/ redirect the browser with html tag

Refresh the browser with a meta tag.

Place the below in <head> tag and the page will refresh every 3 seconds

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

The contentattribute defines how often in seconds you want to refresh. You can also do redirect to another site. The below will redirect to google.com in 3 seconds.

<meta http-equiv="refresh" content="3; url=https://google.com/">

Leave a Reply

Your email address will not be published. Required fields are marked *