Home >Web Front-end >HTML Tutorial >How to put frameset in body through iframe
Because frameset and body are at the same level, frameset cannot be placed in the body. Here is a good method to put frameset in the body. I hope it will be helpful to everyone.
Because the frameset and the body are at the same level, you cannot place the frameset in the body. You can first put an iframe in a page, and then direct it to a page. Put the frameset in this page
The code is as follows:
<body style="width:100%;height:100%;overflow: hidden;border:none;margin:0" > <iframe id="main_p_warp" src="<%=basePath%>pages/main.jsp" style="width:100%;height:100%" frameBorder="0"></iframe> </body>
For more related articles on how to put frameset in the body through iframe, please pay attention to the PHP Chinese website!