Skip Navigation.

NWE Help: Web: Authoring: Tips: Refresh

NWE Home :: Help :: Web :: Authoring :: HTML :: Tips

Sometimes you will want to make a page that redirects the user or refreshes itself. You can do this by adding a META tag in the HEAD of your document. Here's how:

The following will reload the current page every 15 seconds:

     <HEAD>
       <TITLE>A page i wannna to refresh</TITLE>
       <META HTTP-EQUIV="Refresh" CONTENT="15">
     </HEAD>

The following will load the URL specified in 20 seconds (Try it out):

     <HEAD>
       <TITLE>A page that forwards to another page</TITLE>
       <META HTTP-EQUIV="Refresh" CONTENT="20;URL=http://web.nwe.ufl.edu/">
     </HEAD>

(info from HTML: the definitive guide, 1st ed. pp 302-303)

Thanks to joe bess and Allan West for this tip.