Frame

To display multiple web pages in the same window you can use frames. Each frame can contain only one page.

The HTML frameset Element

The frameset element holds two or more frame elements. Each frame element holds a separate web page.

The frameset uses rows or cols attribute to specify the number of rows or columns that the frame will contain. The height of the rows or the width of columns will be supplied as the values of rows or cols attributes.

Some browsers do not support frame and you need to use <noframes> tag to contain the content of the web page that you want the users to see.

Example:

<html>

<head>

<title>Two columns frame</title>

</head>

<frameset cols="80%,20%">

<frame src="anchor-link.html">

<frame src="Table.html">

</frameset>

<noframes>

The users with the browsers that don’t support frames can see this content.

</noframes>

</html>

 



Comments

Name:
Comment:
Enter the text:
CAPTCHA image
HTML Comment Box is loading comments...



This website intents to provide free and high quality tutorials, examples, exercises and solutions, questions and answers of programming and scripting languages:
C, C++, C#, Java, VB.NET, Python, VBA,PHP & Mysql, SQL, JSP, ASP.NET,HTML, CSS, JQuery, JavaScript and other applications such as MS Excel, MS Access, and MS Word. However, we don't guarantee all things of the web are accurate. If you find any error, please report it then we will take actions to correct it as soon as possible.