The Frameset in HTML is mean for implementing multiple pages in a single window. Each frame in a HTML page presents a separate web documents. The frameset decides the number of column and rows in the frameset. For the implementation of frameset, we need to use columns and rows attribute.
Understand with Example
In this Tutorial, the code illustrates a html page with horizontal frameset. For this we create a html page, The page name entitled New Document with <body> tag NAME A is saved with .htm extension.
|<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<TITLE> New Document </TITLE>
Now paste the path of html code in url of your browser. The output of code is
Again create the HTML page with <body> tag NAME B is saved with .htm extension.
Paste the path of html code in your url and the output on browser is displayed as
Horizontal Frame set is used to set the horizontal subspaces in a frameset.
<frameset rows> :The attribute <frameset> is used to set the number of horizontal subspaces in a web page.
<frame src> :The attribute specify the location of html page from which file is taken.
The html code is saved with .html extension.
<frame src="NAMEa.htm" />
<frame src="NAMEb.htm" />
Place the path of html code in a url of your browser. The output code on the browser is displayed as-
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.