Switch to full style
HTML code examples
Post a reply

redirect webpage using meta tag

Sat Feb 18, 2012 11:33 pm

Following example is a common for redirecting your current page using the meta tag , in this case you specify the URL of the target and the number of second to wait before the redirection.

Code:


<html>
<
head>
<
title>Redirect to a new page using meta tag</title>
<
meta http-equiv="Refresh" content="10;url=http://www.codemiles.com">
</
head>

<
body>
<
p>
   Sorry the page requested is not found ,you will be redirected to
   the codemiles community 
<a href="http://www.codemiles.com" > here</a>
    after 10 seconds.
   
</p>

</
body>
</
html>
 




Post a reply
  Related Posts  to : redirect webpage using meta tag
 Using two different fonts in the same webpage     -  
 Automatic change to webpage background image     -  
 help in meta tags     -  
 Author information using meta tag     -  
 How meta tags can be written in HTML     -  
 usage of the meta tag for content encoding     -  
 keywords and description of HTML page using meta tag     -  
 Redirect to a URL     -  
 How do you 301 redirect a dynamic URL?     -  
 redirect after countdown     -  

Topic Tags

HTML Meta