<meta http-equiv=“refresh“ content=“5;url=http://example.com/“ />
Let’s break this down. It looks just like a normal meta tag but it has an interesting attribute called http-equiv. This allows the page to communicate back and forth with the server by simulating an HTTP response header. The HTTP stands for Hyper-Text Transfer Protocol and equiv is short for equivalent. The type of http-equiv header we are creating is going to be “refresh” which means the page will be reloaded.
The content attribute has two values, the first one is how long it’s going to wait to run the page refresh and the second part is what page it will go to. Let’s do another example, if I wanted the page that was loaded to go to Google after 10 seconds it would look like this:
<meta http-equiv=“refresh“ content=“10;url=https://google.com/“ />