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

How to redirect connections in html

php中世界最好的语言
Release: 2018-02-07 09:38:40
Original
3689 people have browsed it

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

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template