Q_24694879: Redirect after 10 sec with http-refresh

This example show how you can redirect after 10 seconds using the meta refresh http-equivalent. Click on the link to see an empty page that refreshes after 10 seconds and shows google.com.

This page will remain online for future reference. The original question can be viewed at Experts-Exchange, but requires (free) membership. More information about me, about how this site is maintained and about how to use these pages for yourself, check out the opening page.

Click to see the demo

Use the following code:

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Refresh" content="5; url=http://www.google.com" />
<title>Some title here</title>
</head>
<body id="top">
   <p>redirecting in 5 seconds to google</p>
</body>	
</body>
</html>