HTML frame and inline frame __html

Source: Internet
Author: User

Before learning this section often heard that the word framework, only know that there is this thing, do not know what it means, today to share the understanding of the framework of HTML, the content is not necessarily more, and so later learned more knowledge to share.

1. What is HTML frame

The place to note is that I'm talking about HTML frameworks, not the more complex web frameworks, because it's beginner, and from the simplest, my framework here refers to a tool or template that lets the same browser display more than one page. The framework is divided into vertical frame, horizontal frame, mixed frame, not adjustable width frame (mainly through the Noresize property control), through the framework, you can divide a page into several different regions.

2. What is an HTML inline frame

The HTML inline frame is designed to display the page in the Web page, highlighting the inline word, that is, in a Web page, we can control how much of the box in the page to display another page, and through the CSS to control it.

The difference and usage of the 3.HTML frame and the HTML inline frame (HTML frame as frame, inline with HTML inline frame)

Difference: The frame's label is <frameset></frameset>, a pair of tags, and the <body> tag is not available at the same time, unless the browser does not support the frame, when you want to add <noframes> tags, To add text inside, you need to write in the <body> tag, such as

<noframes>
<body> Your browser is unable to process the frame. </body>
</noframes>

This only deals with surprises and generally supports the framework, while inline frames can be placed in <body>, labeled <iframe></iframe>

<body>

<iframe src= "/example/html/demo_iframe.html" width= "height=" ></iframe>

<p> Some older browsers do not support inline frames. </p>
<p> If it is not supported, the IFRAME is not visible. </p>

</body>

This is mainly the difference in usage, in fact, after the understanding will find that the difference is very large, just because in the study of two points of knowledge together, may cause an illusion, there is more knowledge about them, I will add next time.

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.