HTML Frames

Computer Education, Training & Tutorial Resources - ComputerEducationWorld.com
Home » Free Computer Training and Courses » HTML for Beginners »

<FRAMESET> creates a “table of documents” in which each rectangle (called a “frame”) in the table holds a separate document. In its simplest use, <FRAMESET ...> states how many columns and/or rows will be in the “table”. You must use either the COLS or the ROWS attributes or both. For example, this code creates a set of frames that is two columns wide and two rows deep:

<HTML>
<HEAD>
<TITLE>A Basic Example of Frames</TITLE>
</HEAD>

<FRAMESET ROWS=”75%, *” COLS=”*, 40%”>
     <FRAME src=”framea.html” mce_src=”framea.html”>
     <FRAME src=”frameb.html” mce_src=”frameb.html”>
     <FRAME src=”framec.html” mce_src=”framec.html”>
     <FRAME src=”framed.html” mce_src=”framed.html”>
</FRAMESET>

</HTML>

<FRAMESET> itself only define how many rows and columns of frames there will be  defines what files will actual go into those frames.

<frameset> can be nested within another <FRAMESET> to create a “table within a table”.

<HTML>
<HEAD>
<TITLE>Great Recipes</TITLE>
</HEAD>

<FRAMESET ROWS=”15%,*”>
     <FRAME src=”text.html” mce_src=”text.html” NAME=TITLE SCROLLING=NO>

     <FRAMESET COLS=”20%,*”>
          <FRAME src=”recipesidebar.html” mce_src=”recipesidebar.html” NAME=SIDEBAR>
          <FRAME src=”recipes.html” mce_src=”recipes.html” NAME=RECIPES>
     </FRAMESET>
</FRAMESET>

</HTML>
 


• • •
 



captcha PHP Script Free PHP captcha script free php
Website Design by WebWalas.com