webpage_II.ppt by zhangsshaohui123

VIEWS: 0 PAGES: 10

									Creating a frameset

Hypertext markup language
      Web learning resources
• There are many learning resources on
  hands-on computer skill
• One of them is here:
  http://hotwired.lycos.com/webmonkey/kids/
  lessons/index.html
               Picnic analogy
• A picnic plate to hold
  three different kind of
  contents
• Thus one need to have
  4 files to create a
  frameset with three
  frames
                     4 files
• Base file:
  picnicplate.html
• Three frames are
  chicken.html,
  pastasalad.html,
  jellocubes.html
     Base file: picnicplate.html
<html>
<frameset cols="66%,34%">
<frame src="chicken.html" name="chicken">
<frameset rows="100,*">
<frame src="pastasalad.html" name="pastasalad">
<frame src="jellocubes.html" name="jellocubes">
</frameset>
</frameset>
</html>
            Base file creation
•   Use notepad
•   Copy and paste
•   Save as picnicplate.html
•   Make sure that the extension should be html
    because notepad default extension is txt
             Chicken.html
• Use netscape composer to create a file
  called chicken.html
• To make sure that you can recognize this
  type “chicken file”
           Pastasalad.html
• Save as the way you just create your
  chicken.html
• Make sure that you type something to
  recognize the file
            Jellocubes.html
• Use composer to create this file
• Also type something to mark this file
           Test the frameset
• Now go to the drive that you store
  picnicplate.html and then bring it up to the
  screen.

								
To top