Frames in HTML

Introduction to frames, a bit of history and their uses.

One of the most modern features of HTML are the frames, which were added to both Netscape Navigator and Internet Explorer, starting with their 2.0 versions. The frames -which mean frames in Spanish- are a way of dividing the page into different spaces, independent of each other, so that in each space a different page is placed that is coded in a different HTML file.

At first they were created as proprietary Netscape browser tags and quickly the power of the resource made the use of frames spread throughout the web. It wouldn’t take long for Internet Explorer to include them, so that such a popular novelty from its competitor wouldn’t miss it. Finally, in response to the popularity of frames among developers, the HTML 4.0 standard included these tags among the allowed ones.

The frames, as we said, allow us to split the browser window into different areas. Each of these areas are independent and must be coded with independent HTML files. As a result, each frame contains the specific properties that we indicate in the HTML code to present in that space. Likewise, and since each frame is independent, they will have their own scroll bars, horizontal and vertical, separately.

There are many pages on the web that contain frames and surely we have all had the opportunity to know some. They are usually used to place a navigation bar in one part of the window, which is generally fixed and allows access to any area of ​​the web page. One of the main advantages of programming with frames derives from the independence of the different frames, since we can navigate through the contents of our website with the navigation bar always visible, and without having to reload on each of the pages. that we are visiting

See also  How to interpret line breaks as BR in HTML?

An example of the areas that can be built in a frame construction can be seen in the images below.

For those who have not had the opportunity to learn about frames and how they work, we offer .

For people who want to learn about frames we recommend reading the following articles from and .

Loading Facebook Comments ...
Loading Disqus Comments ...