The advantages and disadvantages of IFRAME

Source: Internet
Author: User




HTML Framework OverviewA browser form can be displayed by a combination of several pages. We can use the framework to do the work (frames). (The framework can divide an HTML document into multiple pages.) frames page uses a form of a combination of tables, can be divided into several lines and series.

Advantages of the framework

Overloading a page without overloading the entire page requires only one frame page in the page to be overloaded (reducing the transmission of data and speeding up the download of the page)
The technology is easy to grasp, easy to use, many users, can be mainly used in the search engine does not need to find the page
Easy to make navigation bar
Disadvantages of the framework (the disadvantage of the IFRAME is similar to frame)
will produce a lot of pages, not easy to manage
Not easy to print (currently can only achieve the sub-frame page printing, can not achieve frameset printing)
The browser's Back button is invalid (only for the forward and backward of the page where the current cursor is located, unable to frameset the entire page forward and backward)
Code is complex, can not be indexed by some search engines (frame structure) can not set a title for each page (title), worse, some search engines on the frame structure of the page is not handled correctly, will affect the ranking of search results)
Most small mobile devices (PDA phones) do not fully display the frame
Multi-frame pages increase HTTP requests from the server
Due to many of the above shortcomings, therefore does not conform to the standard web design concept, has been abandoned by the standard web design, the current HTML5 no longer support this label
Disadvantages of IFrame1. The biggest disadvantage of using frame structure in Web page is that the "spider" Program of search engine can't interpret this kind of page. When a "spider" Program encounters a webpage that consists of several frames, they see only the frame and cannot find the link, so they think the site is a dead site and soon turn around and leave. It's a disaster for a website.

If you want to sell a product, you need a customer, and if you want a customer, you first have to get people to visit your site, and to do that, you have to turn to the search engine. You spend a lot of time, energy, and money opening an online store, but deliberately not allowing search engines to retrieve you, it's like opening a retail store, but all the windows are painted black, and no sign is hanging.

2, frame structure sometimes confusing people, especially in a few frames appear up and down, left and right scroll bar. In addition to crowding out a very limited amount of page space, these scrollbars distract visitors. Visitors who encounter this kind of website will often turn away immediately. They will think that since your homepage is so confusing, the rest of the site may not be worth browsing.

3, link navigation problems. When using a frame structure, you must ensure that all navigation links are set correctly, as otherwise, it will cause great inconvenience to the visitor. For example, a linked page appears in the navigation frame, in which case the visitor is trapped, because at this point he has no other place to go.


The advantages and disadvantages of IFRAME

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.