Knowledge Is Power

Riverside Military Academy                                     

 Computer Science with Major Salas

THE FRAME UP!

Ok, many of you have asked for for a quick guide to framing somebody (sorry, I couldn't help it) I mean framing a window without going to Lowe's, well here it is! 

Objectives - At the minimum you should:
1. Know how to set up the frames
2. Understand the attributes to frames
3. Create a HTML FRAME SET page that sets up a main page and a menu page with links using targeting attributes.

2 Pane R-Setup
   
   
<HTML><HEAD></HEAD>
<FRAMESET  ROWS="20%, 80%">
       <FRAME  NAME="top"        SRC="mywebdocument-01.html">
       <FRAME  NAME="bottom"  SRC="mywebdocument-02.html">
</FRAMESET>
</HTML>

 

3 Pane R-Setup
   
   
   
<HTML><HEAD></HEAD>
<FRAMESET  ROWS="15%, 70%, 15%">
       <FRAME  NAME="top"       SRC="mywebdocument-01.html">
       <FRAME  NAME="middle"  SRC="mywebdocument-02.html">
       <FRAME  NAME="bottom" SRC="mywebdocument-03.html">
</FRAMESET>
</HTML>

 

2 Pane C-Setup
     
<HTML><HEAD></HEAD>
<FRAMESET  COLS="20%, 80% ">
      <FRAME  NAME="left"   SRC="mywebdocument-01.html">
      <FRAME  NAME="right" SRC="mywebdocument-02.html">
</FRAMESET>
</HTML>

 

3 Pane C-Split-Setup
     
  
<HTML><HEAD></HEAD>
<FRAMESET  COLS="20%, * ">
      <FRAME  NAME="left"   SRC="mywebdocument-01.html">
                 <FRAMESET  ROWS="20%, 80%">
                        <FRAME  NAME="topright"       SRC="mywebdocument-02.html">
                        <FRAME  NAME="bottomright" SRC="mywebdocument-03.html">
                 </FRAMESET>
</FRAMESET>
</HTML>

 

4 Pane CR-Split Setup
     
     
<HTML><HEAD></HEAD>
<FRAMESET  COLS="20%, * ",  ROWS="20%, * ">
      <FRAME  NAME="topleft"        SRC="mywebdocument-01.html">
      <FRAME  NAME="topright"      SRC="mywebdocument-02.html">
      <FRAME  NAME="bottomleft"  SRC="mywebdocument-03.html">
      <FRAME  NAME="bottomright" SRC="mywebdocument-04.html">
</FRAMESET>
</HTML>

 

3 Pane R-Split Setup
  
     
<HTML><HEAD></HEAD>
<FRAMESET  ROWS="20%, * ">
      <FRAME  NAME="top"   SRC="mywebdocument-01.html">
                 <FRAMESET  COLS="20%, 80%">
                        <FRAME  NAME="bottomleft"    SRC="mywebdocument-02.html">
                        <FRAME  NAME="bottomright"  SRC="mywebdocument-03.html">
                 </FRAMESET>
</FRAMESET>
</HTML>

 

4 Pane R-Split Setup
  
        
<HTML><HEAD></HEAD>
<FRAMESET  ROWS="20%, * ">
      <FRAME  NAME="top"   SRC="mywebdocument-01.html">
                 <FRAMESET  COLS="15%, 70%, 15%">
                        <FRAME  NAME="bottomleft"       SRC="mywebdocument-02.html">
                        <FRAME  NAME="bottommiddle" SRC="mywebdocument-03.html">
                        <FRAME  NAME="bottomright"     SRC="mywebdocument-04.html">
                 </FRAMESET>
</FRAMESET>
</HTML>
ADD ONS: Addition attributes and options, for the <FRAME> html tag.

FRAMEBORDER="no"   The default is "yes" if this attribute isn't used.
SCROLLING="no"          The default is "yes" if this attribute isn't used.  Another option is:  "auto"
MARGINWIDTH="x"      Substitute x for a number in pixels. This attributes sets up left and right margins.
MARGINHEIGHT="x"     Substitute x for a number in pixels. This attributes sets up top and bottom margins.
NORESIZE                       This attribute is an empty tag. In other words it stands alone (no variable assigned.)

 

  RELATED TOPICS:  The TARGET attribute add-on to the <A> tag is used on links to direct where a web page should display. Note that the TARGET attribute in the sample below, the variable "bottom" is the NAME assigned to the FRAME.  

<A  HREF="myguidetohtml-001.html"  TARGET="bottom">Click here for the HTML Guide</A>

                                                Have a great day!

                           Major Salas

 

Return to Home  | Return to Teacher Selection Page |

E-Mail web page questions and comments to HSalas@cadet.com



"Knowledge Is Power."
© Copyright 2001, Major Hector Salas sm. All Rights Reserved. No portion of Major Salas' web pages 
may be reproduced, altered, or distributed without permission