Article Source: http://blog.sina.com.cn/s/blog_6f6d07f80100oqlt.html (this article from this blog)
When we browse the Web, we often see a navigation bar, and when you click on the item on the navigation bar, the page changes to display in the display area. First prepare a main interface file main.htm, divide it into two areas index and content.<HTML><Framesetcols= "120,*"><Framename= "Index"src= "Index.htm" /><Framename= "Content"src= "Frame_a.htm" /></Frameset></HTML>where the index area link index.htm file, mainly some linked items, the content area is responsible for displaying the corresponding link file, the initial display link is frame_a.htm.
Name= "Index" is the attribute that identifies the index area, and name= "content" is the attribute that identifies the content area. So how do I export the links in index.htm to the content area? Here you need to set the target property in the link. The code is as follows:<HTML><Head></Head><Body> <ahref= "Frame_a.htm"Target= "Content">Frame_a</a> <ahref= "Frame_b.htm"Target= "Content">Frame_b</a> <ahref= "Frame_c.htm"Target= "Content">Frame_c</a></Body></HTML>
Posted as follows:
Article Source: http://blog.sina.com.cn/s/blog_6f6d07f80100oqlt.html (this article from this blog)
HTML navigation frame (using frame)