本文介绍了从HTML页面重定向的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有可能建立一个基本的HTML页面以便在重载时重定向到另一个页面?
解决方案是否有可能建立一个基本的HTML页面以便在重载时重定向到另一个页面?
解决方案尝试使用:
< meta http-equiv =refreshcontent =0; url = http://example.com// >
注意:将它放在头部。
另外,对于旧版本的浏览器,如果您添加快速链接以防万一刷新不正确:
< p>< a href =http://example.com/>重定向< / a>< / p> $ b
/ p>
这仍然允许您通过额外的点击来到达目的地。
Is it possible to set up a basic HTML page to redirect to another page on load?
解决方案 Try using:
<meta http-equiv="refresh" content="0; url=http://example.com/" />
Note: Place it in the head section.
Additionally for older browsers if you add a quick link in case it doesn't refresh correctly:
<p><a href="http://example.com/">Redirect</a></p>
Will appear as
This will still allow you to get to where you're going with an additional click.
这篇关于从HTML页面重定向的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
05-27 09:46