Frames

Up until now you have learned about non-framed HTML documents and have learned that your main page (whatever you wish to call it), must be named index.html so the remote server can establish it as the first page of your homepage. The best place to start is with the Documents page in this guide. It provides you with the opportunity to create a simple draft document without frames or borders.

Framed Documents

When working with framed documents however, your index files will be slightly different. Instead of one index.html, you will need to create three index files.

The first of these three documents is the frameset.html (frames index). This is quite different from simple index.html we learned about in that the findex.html for framed homepages serves only to instruct HTTP to establish framed areas for the documents. The findex.html contains framesets which establish the structure of your entire homepage. The findex.html is a hidden page, nobody but your remote web server can view this page.

The second index document you will be setting up is called cindex.html (contents index), which will establish the left border. This usually contains a "hotlinks" list of the documents in your homepage. This frame remains static on the left hand side of the homepage no matter which page is accessed.

The third index document, index.html , is used for all other documents appearing on the right side of the homepage. This is identical to the index.html used in non-framed pages - the first page of your homepage.

All three documents must carry the extension .html. Subsequent pages on your website may use the htm extension if you wish.


|Home| URLs| Themes| Content| Directories| Tags|
|Colors| Fonts| Images| Links| Lists| Borders| Tables|
|Documents| Exposure| Guestbook| Thank You E-Mail|
1