Frames

We have specified the 60 pixels on the top. Now, were going to work on the space below top frame ( * ). Because we will split this section into 2 parts, we put the <FRAMESET> tag again here. Look at the third mark [], <FRAMESET COLS="160,*" border=no frameborder=0 framespacing=0>, you 'll see that the same rule was applied. I specified the width of the left frame to 160 pixels and left the space on the right unspecified ( * ). There are two columns in this row. You need to specify the files for both sections. We are using <FRAME> again here.

<FRAME NAME="left" SRC="framelf.html" SCROLLING="AUTO" NORESIZE>
<FRAME NAME="main" SRC="right_frame.html" SCROLLING="AUTO" NORESIZE>

This is not a new case. The left frame and the right frame are specified using the same rule as we previously assign a file for upper frame. Don't forget to close FRAMESET tag with </FRAMESET>.

If you don't specify scrolling and resize value, the defaults (scrollable and resizable) will take place.

OK, now the tag <noframes> is an alternative for people who use browsers that don't support frame. Browsers that support frames will not read anything inside this tag. This tag can be inside or outside <frameset> and </frameset>. If you want to set BODY attribute such as a background color, you should put <body> tag inside <noframe> tag.

How do I specify frame targets?
Here is HTML code from my left frame.

<a HREF="begin.html" TARGET="_top">The easiest HTML guide for beginners</a>

Look at target="_top", this is the way you send the page to another frame. For example, if you want a click on the left to bring a new page into the right frame, you have to specify target="main". (Absolutely, you first have to give the name to frame on the right as described earlier.)

You also can use the predefined targets as we'

©2008 WOWhostingCatalog.com. All Right Reserved. Privacy