HTML Frames
Frames are used to display many several webpages on a single browser window.It is used to divide the screen in more than one part and dispay various webpages on the same window.
HTML Frameset Element
The frameset is used to group a collection of windows together, sometimes horizontally (using the rows attribute), sometimes vertically (using the cols attribute), or even a combination of horizontal and vertical arrangements. Each child window inside the frameset is defined by the frame element.
<html> <frameset rows="30%,60%,30%"> <frame src="http://programmingbulls.com/html-basics.htm"/> <frame src="http://programmingbulls.com/html-styles"/> <frame src="http://programmingbulls.com/html-how-create-webpage"/> </frameset> </html>
The browser window is divided into three:
HTML < Frame> Tag
The < frame> tag in HTML is set for one particular window of the frame.
In the above example 1st window occupies 30% width of the browser
window,2nd window is set for 40% and third again for 30% of the browser space.
We can also divide the browser space into rows and columns simultaneously.
<html> <frameset rows="50%,50%"> <frame src="http://programmingbulls.com/html-introduction"/> <frameset cols="60%,40%"> <frame src="http://programmingbulls.com/html-external-links-0"/> <frame src="http://programmingbulls.com/html-meta-tags"/> </frameset> </html>
