The next part of defining your frameset is telling the frames what content to hold. You do this with the frame tag. In this you write what html page you want to put in the frame as the default, what to name the frame, and margin info (most folks will put 0 in this, to get tightly fitting frames. But of course, you may not always want size zero margins)

<frame src="URL" name="frame-name" marginwidth="X" marginheight="X">
<frame src="URL" name="framename" marginwidth="X" marginheight="X">

So, for that example I gave...

This person wrote the frameset of <frameset cols="100, *" >

they also wrote a html file they names navigate.html, and it looked like this

 

my life
my job
my dog
my mom

write me!

They also wrote a html file named main.html, and it looked like this

My first webpage

 

their frameset, with frames looked like this

<frameset cols="100, *" >
<frame src="navigate.html" name="nav" marginwidth="1" marginheight="1" scroll=auto noresize>
<frame src="main.html" name="main" marginwidth="1" marginheight="1" scroll=auto>
</frameset>

my life
my job
my dog
my mom

write me!

My first webpage

Click on me to see this actual frameset!

 

 


Next