HTML Module Communication

Source: Internet
Author: User

Frame and body can only have one
<frameset cols Rows >

</frameset>
Frame has two properties used to set the proportions of the sub-frame

The inline frame can only be written inside the body because frame
When you set the frame, it is set by the properties of two rows and columns
Use <frame> to represent a frame body

The inline framework itself is a framework that cannot be nested in <frameset>

<iframe></iframe>

The most important attribute Src adds something to the frame

Alignment Property Align

Linkages between frameworks and frameworks

Make a navigation page
One of the frames to do the navigation
Another frame to do content display


Which means at least three HTML files are required
The first one is the frames page
The second is a navigation hyperlink page
The third one is the content page


The following is an implementation
1. Frame HTML
<title> Frames </title>
<frameset rows= "200,*" > Page one of them is. Set 200 pixels
<frame src= "navigation. html" name= "naving" > First frame Place navigation page
<frame src= "contents. html" name= "content" > the second set of initialization content
</frameset>
2. Content
<title> content </title>
<body>
Links between <p></body>
3. Navigation
<title> Navigation page </title>
<body>
<a href= "content. html" target= "content" > Content 1</a> by setting the target to determine which frame of the hyperlink to put in love
<a href = "content. html" target= "content" > Content 2</a>
</body>




HTML Module Communication

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.