Frames Assignment 2 - PowerPoint PPT Presentation

1 / 11
About This Presentation
Title:

Frames Assignment 2

Description:

SOLUTION. Question 1. Write the code to create the following frames page. ... Therefore you will use the ROWS attribute in your first FRAMESET tag. Question 1 ... – PowerPoint PPT presentation

Number of Views:34
Avg rating:3.0/5.0
Slides: 12
Provided by: DPC07641
Category:

less

Transcript and Presenter's Notes

Title: Frames Assignment 2


1
Frames Assignment 2
  • SOLUTION

2
Question 1
  • Write the code to create the following frames
    page.

page1.html 120 pixels
page3.html
page2.html 20
3
Question 1
  • Starting in the top left, is the first frame
    divided into rows or columns?
  • Does the first frame extend vertically?
  • Does the first frame extend horizontally?

4
Question 1
  • The first frame extends horizontally meaning that
    it is divided into ROWS first.
  • Therefore you will use the ROWS attribute in your
    first ltFRAMESETgt tag

5
Question 1
  • We will divide the page into two sections with
    the first ltFRAMESETgt tag

ltFRAMESET ROWS120, gt lt/FRAMESETgt
6
Question 1
  • Next we will add a ltFRAMEgt tag to specify the
    frame in the first row.

ltFRAMESET ROWS120, gt ltFRAME
SRCpage1.html NAMEtopgt lt/FRAMESETgt
7
Question 1
  • Now we will need to add another ltFRAMESETgt tag to
    divide the bottom row into two columns (COLS)

ltFRAMESET ROWS120, gt ltFRAME
SRCpage1.html NAMEtopgt ltFRAMESET COLS20,
gt lt/FRAMESETgt lt/FRAMESETgt
8
Question 1
  • Finally, we will add two ltFRAMEgt tags to specify
    the two frames in the 2nd row.

ltFRAMESET ROWS120, gt ltFRAME
SRCpage1.html NAMEtopgt ltFRAMESET COLS20,
gt ltFRAME SRCpage2.html NAMEsidegt
ltFRAME SRCpage3.html NAMEmaingt lt/FRAMESETgt lt
/FRAMESETgt
9
Question 2
ltFRAMESET ROWS120, 25,gt ltFRAME
SRCpage1.html NAMEtopgt ltFRAME
SRCpage2.html NAMEmiddlegt ltFRAME
SRCpage3.html NAMEbottomgt lt/FRAMESETgt
10
Question 3
ltFRAMESET ROWS64, , 64gt ltFRAME
SRCpage1.html NAMEtopgt ltFRAMESET COLS120,
gt ltFRAME SRCpage2.html NAMEsidegt
ltFRAME SRCpage3.html NAMEmaingt lt/FRAMESETgt
ltFRAME SRCpage4.html NAMEbottomgt lt/FRAMESE
Tgt
11
Question 4
ltFRAMESET COLS22, gt ltFRAME
SRCpage2.html NAMEsidegt ltFRAMESET
ROWS20, gt ltFRAME SRCpage1.html
NAMEtopgt ltFRAME SRCpage3.html
NAMEmaingt lt/FRAMESETgt lt/FRAMESETgt
Write a Comment
User Comments (0)
About PowerShow.com