Esteban Acosta Villafa�e wrote:
> 
> Hola a todos!,
>         Escribo por que necesito saber si existe algun tipo de codigo o
> etiqueta HTML que me permita redireccionar de una pagina a otra como esas
> que dicen aguarde 5 segundos para que se cargue la pagina, aunque confieso


The Meta Refresh
How to redirect your viewers automatically
If your page has moved, or you have a need to redirect your visitors
automatically, you can use a meta refresh to send them the page of your
choice. Be careful when using this, though, especially on your main
page. Some search engines are trained to look for a meta refresh that
leads from a page stuffed with keywords to the real page, redirecting
the user so quickly that they never see the keyword-loaded page. Thus,
if you refresh too quickly (in some cases anything less than 10 seconds
is too quickly) you stand the chance of having the page pulled from the
listings. Of course, if it is not your main page, you probably won't
need to worry about that. 

So, how is it done? Well, here is the code that will do it: 

<HTML> 
<HEAD> 
<META HTTP-EQUIV="refresh"
content="2;URL=http://www.yoursite.com/newpage.htm"> 
<TITLE>Page has moved</TITLE> 
</HEAD> 
<BODY> 
whatever you want to write 
</BODY> 
</HTML> 

Notice that the refresh tag comes before your title tag. The content=" "
command does two things. It tells the browser how many seconds to wait
before executing the refresh, and then what url it should be redirected
to. Be careful when you write this....the quote marks are around the
entire content=" " command, not around the number of seconds or url
individually. They are separated by a single semicolon (;). 



-- 
Saludos

Julio C�sar G�zquez

Responder a