×
   ❮     
HTML CSS MySql Javascript SQL PYTHON JAVA C++ C# BOOTSTRAP REACT XML NODEJS ANGULAR DJango Rust Android VUE
     ❯   

HTML Frames


What is Frames in HTML?

HTML frames are used to divide your browser window into multiple sections where each section can load a separate HTML document.

A collection of frames in the browser window is known as a frameset.

The window is divided into frames in a similar way the tables are organized: into rows and columns.

Note : Frame Not Supported in HTML5.


Disadvantages of Frames

Sometimes your page will be displayed differently on different computers due to different screen resolution.

Some smaller devices cannot cope with frames often because their screen is not big enough to be divided up.

Example

<!DOCTYPE html>
<html lang="en">
  <head>
    <title>Your Page Title</title>
  </head>
  <body>
    <frameset rows="20%,70%,10%">
      <frame name="top" src="/html/top_frame.htm" />
      <frame name="main" src="/html/main_frame.htm" />
      <frame name="bottom" src="/html/bottom_frame.htm" />
    </frameset>
  </body>
</html>
Try it Yourself »

Hey there! Let's go for Learn fasta then! It is more than just coding; it is to have the superpower that can solve any problem. Through simple and easy-to-grasp examples you will sail through the learning process. In addition, it is not just about coding– you will acquire competencies on how to solve complex problems, analyze data, and come up with efficient solutions. Shall we start this wonderful journey together! learnfasta.com terms of use, Copyright 2025 All Rights Reserved.