37-HTML Frames

0
347

HTML Frames allow the users to display multiple pages inside the browser window at a time. Typically, frames have menu in one frame, and content in another frame. For instance, when you click a link on the menu, that link will be then displayed in the content page.

 

Example:

 

<html> 
<body>
    <frameset cols="40%,*">
      <frame src="menus.html">
      <frame src="contents.html">
    </frameset>
  </body>
</html>

 

Another example:

<html>
  <body>
    <frameset rows="30%,*">
      <frame src="titles.html">
      <frameset cols="40%,*">
        <frame src="menus.html">
        <frame src="contents.html">
      </frameset>
    </frameset>
  </body>
</html>
Facebook Comments
(Visited 68 times, 1 visits today)

LEAVE A REPLY

Please enter your comment!
Please enter your name here