Sunday, 11 May 2014

Frames

What are frames?

Frames in html basically means to divide a single browser window to two or more windows each displaying a single web page.

Points on frames

  1. If one have to display frames then body tag should not be used.
  2. To display frames frameset tags is used i.e.<frameset>
  3. With frameset tag there comes some attributes of <frameset> which are as follows:
  • src-gives the source address of the webpage to be displayed in a particular frame.
  • cols-used to divide a single window in columns.
  • rows-used to divide a single window into different rows.
  • name-helps to name a particular frame.
  • border-used to define  the border of the frames.
  • noresize-it allows to user to change the size of the frames through cursor and the parameters are: yes, no.
     4.  Parameters of <frameset rows> and <frameset cols> is defined in tems of % and *
          eg:
  • <frameset  rows="20%,60%,*">
  • <frameset cols="10%,80%,*">
    5. <noframe> tag is used for the browsers which don't support frames and in such browsers <body> tag            is also used.

No comments:

Post a Comment