HTML | Tags and Attributes [Frame] [Subdividing the frames]




Ü Subdividing the frames : Now, again consider the following part of the above input,
<FRAMESET ROWS="250,250,*">
      <FRAME NAME=”TOP”>
      <FRAME NAME=”Middle”>
      <FRAME NAME=”Bottom”>
</FRAMESET>
We have told that, each frame is a particular window to view a page. So we can also subdivide each frame. Consider the above input. We have fist of all divided the window into 3 rows and then gave them name.
We can use the <FRAMESET>….</FRAMESET> tags not using the <FRAME NAME=”..”> to subdivide the frame. Consider the following.
      <FRAMESET ROWS="250,250,*">
                  <FRAME NAME=”TOP”>
                              <FRAMESET>
                              </FRAMESET>
                  <FRAME NAME=”Bottom”>
</FRAMESET>
Thus by inserting the <FRAMESET>….</FRAMESET> at the place of <FRAME NAME=”.”> tag we can subdivide that particular frame. Now in the above given output, we will subdivide the middle frame into two columns.
Input :
<HTML><HEAD><TITLE>FRAMES</TITLE></HEAD>
<FRAMESET ROWS="250,250,*">
            <FRAME NAME="TOP ROW">
                  <FRAMESET COLS="250,*">
              <FRAME NAME="Middle1">
              <FRAME NAME="Middle2">
                  </FRAMESET>
            <FRAME NAME="Bottom ROW">
</FRAMESET>
<BODY></BODY></HTML>
Look, the bold portion of the above input is defining or naming the 2nd frame by subdividing it into two columns. Compare this input with the previous one to be clear.
Output :

Recommended Recommends

Comments

Contact Us

Loading...