Oops, we forgot something. If you caught the problem back when you were making the directory page... good for you! So open up directory.html and add the necessary targets.
<html> <head> <title>Practice Page- Directory</title> </head> <body> <h3>Directory</h3> <p><a href="home.html" target="MAIN-WINDOW">Home</a></p> <p>Go <a href="here.html" target="MAIN-WINDOW">here</a><br> or <a href="there.html" target="MAIN-WINDOW">there</a></p> <p>or visit<br> <a href="http://www.yahoo.com/" target="_top">Yahoo</a><br> <a href="http://www.google.com/" target="_top">Google</a></p> </body> </html>
Now try your Master Page.
Works pretty good, doesn't it! Now just for giggles, let's add a link from your home page to me at htmliseasy.com. Open up home.html and plug it in. Make sure you add the proper target because although I really like you, I don't want to show up in your frame.
<html> <head> <title>A Practice Page- Home</title> </head> <body> <h1 align="center">You are home.</h1> <p>Welcome to my homepage! This page should be attractive and easy to navigate because my teacher Joe, besides being VERY handsome, has taught me the right way to build Frames!</p> <p align="center">Enjoy your stay!</p> <p>Visit Joe at <a href="http://www.htmliseasy.com/" target="_top">HTMLisEasy.com</a>.</p> </body> </html>
View the finished product.
FAQ: How can I change 2 (or more) frames with one click?
A: You can do this, and there are two ways to accomplish it. Both are explained in detail here.
|Lessons: Intro 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19|
|Frames Templates HTML 4.0 Reference Barebones HTML Guide|