Home >Web Front-end >HTML Tutorial >How to redirect connections in html
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='<%=path %>/login.jsp'";//从某个框架中重定向到mainFrame框架中 onclick="top.window.location='<%=path %>/login.jsp'"//从某个框架中重定向到整个页面中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!