HTML5 inline framework iFrame, html5 inline iframe

Source: Internet
Author: User

HTML5 inline framework iFrame, html5 inline iframe

Currently, frame and frameset are rarely used and are out of date and replaced by div + CSS. Here is an example of the inline framework iFrame currently in use.

The so-called iFrame inline framework, in my understanding, is to nest a webpage inside the webpage, and can be nested at a level.

 

Example:

/*

The example consists of index.html and iframe1.html?iframe2.html=iframe3.html.

*/

First upload the image, followed by the complete code.

After clicking

The complete code is as follows:

Index.html

1 <! DOCTYPE html> 2 

Iframe1.html

 1 <!DOCTYPE html> 2 

Iframe2.html

 1 <!DOCTYPE html> 2 

Iframe3.html

 1 <!DOCTYPE html> 2 

It seems that mainstream websites do not adopt this layout, and the application scope is also relatively small.

 

Zhihu comments:

What are the advantages and disadvantages of Iframe? Which well-known websites in China still use Iframe? Why? Which of the original ones have been abandoned now? Why?

Related Article

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.