Home  >  Article  >  Web Front-end  >  How to redirect connections in html

How to redirect connections in html

php中世界最好的语言
php中世界最好的语言Original
2018-02-07 09:38:403503browse

This time I will show you how to redirect html connections and what are the precautions for html redirect connections. The following is a practical case, let’s take a look.

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;"//从某个框架中重定向到整个页面中

I believe you have mastered the method after reading these cases. For more exciting information, please pay attention to the php Chinese website

Other related articles!

Related reading:

The element margin-top in the div tagInvalid solution

How to modify the default of the form Submission method

#How to realize mobile adaptive web page size

What are the methods to prohibit page caching

The above is the detailed content of How to redirect connections in html. For more information, please follow other related articles on the PHP Chinese website!

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