Frames: pros and cons

Frames separate the browser window into separate areas located next to each other. In each of these areas a separate web page is loaded. Since there are many conversations around the frames around the frames, below are the advantages and disadvantages of frames so that you can decide for yourself whether to use them on your site.

Advantages of frames

Simplicity

With the help of frames, the web page is delimited into two areas, which contain navigation on the site and its content. The frame mechanism allows you to open a document in one frame, by clicking on a link in a completely different frame. This separation of the web page into components is intuitively understandable and logically conditioned.

Rapidity

Layout without frames is characterized by placement on one page and navigation and content. This increases the volume of each page and in the amount can significantly affect the amount of information downloaded from the site. And since frames use the separation of information into parts, the pages with them will load faster.

Accomodation

Frames provide a unique opportunity - placing information exactly in the right place in the browser window. So, you can put a frame at the bottom of the browser and regardless of scrolling content, this area will not change its position.

Resizing Areas

You can change the size of frames "on the fly", which does not allow to make traditional HTML layout.

Loading

The web page loads only in the specified window, the rest remain unchanged. Using the JavaScript language, you can simultaneously load two or more pages into frames.

Disadvantages of frames

Navigation

The user often appears on the site, completely not imagining where he got, because he just clicked on the link received in the search engine. To the visitor of the site it was easier to understand where he is, for each page place the name of the site, the title of the page and navigation. Frames, as a rule, violate this principle, separating the title of the site from the content, and navigation from the content. Imagine that you found a suitable link in the search engine, click on it, and eventually opens a document with no name and navigation. To understand where we are or to look at other materials, we will have to edit the path in the address bar, which in any case causes inconvenience.

Poor indexing by search engines

Search engines do not work well with a frame structure, because there are no links to other documents on pages that contain content.

Internal pages can not be added to Favorites

Frames hide the address of the page on which the visitor is located, and always show only the site address. For this reason, the page you like can not be placed in the "Favorites" section of the browser.

Incompatibility with different browsers

Parameters of frames have the property to be displayed in different ways in different browsers. And the contradiction between them is so obvious that the same parameters are interpreted by browsers in their own way.

Unreality

A very strange flaw, which has nothing to do with the technical features of the site, but rather an ideological one. Sites with frames are considered unsolvable, and their authors immediately fall out of the category of professionals who never use frames in their work. The only exception is chats, where you can manage without frames, but with some clever methods, and using frames to create chats is easy enough.

Copyright © www.htmlbook.ru