The HTML Code

.com

 

HTML frame

 

An HTML frame is a cool feature to use on a web site because it allows you to place a web site within your web page.  This feature can be an administrative nightmare if abused.  There are several HTML frame tags. If a frame has boarders that are visible to the user they can resize them, to prevent the user from resizing frames on your web page add “noresize” to the <frame> tag.   

A mixed frameset is another style that when used mixes vertical and horizontal frames on one page. You can use the source code below in your HTML editor but you will have to create the 3 .htm files on in your directory so the editor knows where to display the frame from.

 

<html> 

<frameset rows="50%,50%"> 

<frame src="file_1.htm"> 

<frameset cols="25%,75%">

<frame src="file_2.htm">

<frame src="file_3.htm">

</frameset> 

</frameset>

 </html>

 

The use of HTML frames is a tool and not something to use as the main layout of a web page.  An HTML navigation frame is another unique option that allows you to create two frames one with link text and the actual link will appear in the second frame window (target).   My favorite frame is the inline or <iframe>. HTML iframe tag allows you to place another webpage within a page and you can do everything within the frame window as if you were on the actual web page (similar to a shell).   The iframe HTML tag is:

 

<iframe src="default.htm"></iframe>

 

The webpage you want would replace the default.htm text. Once you play around with HTML frame tags you will find them very useful but be cautious not to over use them (it will be an administrative nightmare).

   

 

 

 HTML (home) | Sitemap | Contact us