HTML5 does not support two frameset solutions. html5 does not support frameset.
The solution is as follows:
First
Iframe is used, but currently there are fewer and fewer iframe users, and iframe is not compatible with different browsers. Some of my R & D staff said it seemed very troublesome to pass values between iframe windows.
Second
The onload method of jQuery is used to load pages. However, this method does not work when you jump to multiple pages and click back at the top of the browser. However, you can consider adding a return button.
Therefore, individuals prefer this method.
This is what I write.
$("#main").load("mainIndex.html",function(){ });
For pages, div + css can achieve frame Effect
<! Doctype html>
Summary
The above is all about this article. I hope this article will help you in your study or work. If you have any questions, please leave a message.