HTML Frames is a system in HTML to divide the view-space of browser in many parts. Divisions can be made only either row-wise or column-wise. The tag used for this, is: <frameset>. It is a container tag.
We use attributes rows or cols to determine the proportion of division. Consider the syntax below:
Here in this code we see that two divisions are made based on rows. Now in these rows, two pages (page1.html & page2.html) can run at the same time.
Example:
Output:
We can create further frames inside of a particular division. That way we get in to the deeper and more complex divisions. Consider the diagram below:.
Example:
Output: