The frameset is primarily used to display multiple pages with the following requirements:
Look at the code:
<HTML> <Head> <title>HTML FRAMESET Test</title> </Head> <Framesetrows= "20%,*"> <Framesrc= "top.html"/> <Framesetcols= "30%,*"> <Framesrc= "a.html"/> <Framename= "Testframe"src= "b.html"/> </Frameset> </Frameset></HTML>
View Code
There are several properties to be reminded of:
1. Key, if you want to change the contents of another frame by hyperlink in a frame, you should
<a href= "target file path" target= "target frame name"></a>
2. For branches, disaggregated, full utilization of resources
<frameset row= "20%,*"></frameset> the rest is a wildcard * means yes.
3. If you do not want the frame to be dragged, you can use the Noresize property
<frameset row= "20%,*" >
<frame row= "20%,*" noresize></frameset>
</frameset>
4. If you do not want the scroll bar, set the scrolling property
<frameset row= "20%,*" >
<frame row= "20%,*" scrolling= "0"></frameset>
</frameset>
More information: http://www.w3school.com.cn/tags/tag_frameset.asp
Framset use of HTML