Title: Frames Assignment 2
1Frames Assignment 2
2Question 1
- Write the code to create the following frames
page.
page1.html 120 pixels
page3.html
page2.html 20
3Question 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?
4Question 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
5Question 1
- We will divide the page into two sections with
the first ltFRAMESETgt tag
ltFRAMESET ROWS120, gt lt/FRAMESETgt
6Question 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
7Question 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
8Question 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
9Question 2
ltFRAMESET ROWS120, 25,gt ltFRAME
SRCpage1.html NAMEtopgt ltFRAME
SRCpage2.html NAMEmiddlegt ltFRAME
SRCpage3.html NAMEbottomgt lt/FRAMESETgt
10Question 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
11Question 4
ltFRAMESET COLS22, gt ltFRAME
SRCpage2.html NAMEsidegt ltFRAMESET
ROWS20, gt ltFRAME SRCpage1.html
NAMEtopgt ltFRAME SRCpage3.html
NAMEmaingt lt/FRAMESETgt lt/FRAMESETgt