asp.net.ph

Skip Navigation LinksHome > Abakada: Back to Basics > Authoring Your Web Pages > Frames and Framesets

Frames and Framesets

Previous: Using Tables   Next: Using Forms


Frames Layout

An HTML document that uses frames is called a frameset document, and is made up differently than a standard HTML document, which has one HEAD section and one BODY.

A frameset document has a HEAD, and a FRAMESET element in place of the BODY. The FRAMESET section defines how space in the main browser window is subdivided, along with the properties for each frame.

<html>
<head>
   <title>A simple frameset document</title>
</head>

<frameset>
   ... frame definitions ...
</frameset>

</html>

Also, the FRAMESET section can contain a NOFRAMES element to provide alternate content for browsers that do not support frames, or are configured not to display frames. If the browser can not display frames, it will render the contents of the NOFRAMES element.

<frameset>
   ... frame definitions ...
   <noframes>
      <p>This frameset document contains:
      <ul>
         ... a list of links ...
      </ul>
   </noframes>
</frameset>

More ...
Back to top


© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note