|
Free
computer Tutorials
|
![]() |
HOME
|
Stay at Home and Learn | |||||
|
Web Design Tutorials HTML Frames - Part Three |
||||||
|
Creating a Frames Document (continued)
In the last section, you created a frameset document that looked like this:
We'll continue the lesson by seeing how to add hyperlinks to the document. So:
<Frameset Cols = "25%,75%"> <Frame NAME = frame1 SRC ="C:\Frames\leftside.html"> </FRAMESET> Note that the Editor has inserted the absolute reference to your web pages - "C:\Frames\leftside.html">. If you're uploading to the internet, or sending work to be marked, you need to change this to a relative reference. The important attributes to note are the two NAME attributes - frame1 and frame2. We'll be using these in our targeting. But you can now save this frameset document by clicking on File > Save As. Call it frameset1.html. Click on View > View web page to see the results of your labour. You should have a frame document with two white pages in it. There should also be a grey bar running down the page, splitting your two frames into columns. If you've got this far, congratulations - you have now created a frames
page! All right, so your frames page doesn't actually do anything. But the hard work is over. Only the targeting is left to do. For that, remember what our two columns are called? You're going to need those two names. <-- Back One Page Move on to the Next Part --> <--Back to the Web Design Contents Page View all our Home Study Computer Courses
|