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.

Text editing tags

Basic Text Editing Tags


  1. <u>-used to underline the text.
  2. <b>-used for making the text bold.
  3. <i>-used to give italic effect to the text.
  4. <em>-used to emphasize a text.
  5. <sub>-used to convert a text to subscript.
  6. <sup>-used to convert a text to superscript.
  7. <strong>-used to make the effect of the text look strong.
  8. <small>-used to define small texts.