Can someone explain to me what this code does and what situations it needs to used?

Sujatha Gopal

There are at least two situations where we need to refresh the page using Meta tag :

  • Refresh of same page.
    Example : Update of Cricket Score Card
  • Redirecting to some other page automatically
    • After saving user Registeration details redirecting the user to home page automatically.
    • The same can be done after sending a greeting card.

Http-equiv=refresh indicates that the page is to refreshed auotmatically
content=0 the time interval in milliseconds to refesh the page
url indicates which page should be displayed automatically after the specified time interval in content attribute.