Working with Frames in HTML  

Frames are used to give your pages a cleaner look and make them easier to navigate. To design a frame you need to learn only two major frame tags: <FRAMESET> and <FRAME>.

0 3449 Technology | Html
Wed Dec 26 , 2018

<FRAME> tag is used for placing an HTML file in the frame created. We have to tell the browser what to put in each frame.

<FRAMESET> is a container tag which has opening <tag> and a closing <tag>. <FRAMESET> tag does all the dividing of the page into different windows. It also has attributes(ROWS,COLS) that specify how to divide them up.

<FRAME> tag has no delimiter to terminate it. Everything is in its attributes.

Syntax


<frameset>
<frame src="URL">
</frameset>


Example


<html>
<head>
<title>My Frame Page - The Master Page</title>
</head>
<frameset cols="35%,30%,35%">
<frame src="https://www.conceitcode.com/forum/article/html/working-with-frames-in-html">
<frame src="https://www.conceitcode.com/forum/latest-article">
<frame src="https://www.conceitcode.com">
</frameset>
</html>



Subscribe & Get Regular Updates On Your E-mail