Introduction
Text
Formatting
Links
Lists
Images
Tables
Frames
Introduction to Frames
Frameset
Frame Tag
Linking with Frames
Example
Forms
Conclusion


Introduction to Frames
Have you ever had one of those plastic dividers? They are sectioned off to hold different items, such as one for pencils, one for paperclips, and so on. The idea of sectioning off a page is similar to this analogy. The frames for HTML sections off each separate HTML page within one frame page. Here is an example:

Frame Example

Using this example you would have three sections representing 3 different pages (a.html, b.html, and c.html). The Frame.html page will only include the frame tags, and references for all 3 pages, it will also set aside space for each page to your specifications allowing you to view all pages at once. Now all you need to do is know how many pages you want and the layout.

There is one tag I will mention here in the introduction of frame section it is the <NOFRAMES>...</NOFRAMES> tag. This tag is used for browsers that do not support frames. Without this tag if one of your users views your site with a browser that does not support frames he/she will come upon an empty site. So that is why you would want to either include a message for the user here or the html code for a page without frames, make sure to include the <BODY> tags.

<NOFRAMES>
<BODY>
<B>Welcome to my website please click <A HREF="http://www.pepmint.com">here</A> to enter</B>
</BODY>
</NOFRAMES>


back  next

© Copyright 2000-2002 by Pepmint.com. All Rights Reserved

Search Pepmint.com

home :: tutorial :: portfolio :: links :: hammies :: guestbook :: contact