meta refresh code example
Example 1: html meta redirect
<meta http-equiv="refresh" content="3; URL=http://www.example.com/">
Example 2: meta refresh
<meta http-equiv="refresh" content="30">
Example 3: meta refresh
Place inside the <head> element to :
refresh page after 5 seconds:
<meta http-equiv="refresh" content="5">
Redirect to https://yourdomain.com/ after 5 seconds:
<meta http-equiv="refresh" content="5; url=https://yourdoamin.com/">
Redirect to https://yourdomain.com/ immediately:
<meta http-equiv="refresh" content="0; url=https://yourdomain.com/">
Example 4: meta refresh url
<meta http-equiv="refresh" content="0;URL='https://example.com/'">
Example 5: reload tab using meta
<meta http-equiv="refresh" content="5">