Home  >  Article  >  Web Front-end  >  Analysis of several commonly used redirection connection example codes in HTML

Analysis of several commonly used redirection connection example codes in HTML

高洛峰
高洛峰Original
2017-03-07 11:02:581429browse

I think everyone knows about redirection, especially in page jumps, which plays an extremely important role. Here are a few good common HTML redirection links. Friends who need them can refer to them

The code is as follows:

window.location.href="zcbfH.jsp";//在本框架中重定向 
onclick="top.mainFrame.location=&#39;<%=path %>/login.jsp&#39;";//从某个框架中重定向到mainFrame框架中 
onclick="top.window.location=&#39;<%=path %>/login.jsp&#39;"//从某个框架中重定向到整个页面中

For more code analysis of several commonly used redirect connection examples in HTML, please pay attention to the PHP Chinese website for related articles!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn