HTML navigation frame (using frame)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.