0% found this document useful (0 votes)
40 views2 pages

Unit 4 Exercise

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views2 pages

Unit 4 Exercise

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Unit – 4

Exercise

A. True or False?
1. True
2. False
3. True
4. True
5. True

B. Give one word for the following?


1. src
2. bordercolor
3. <FRAMESET>
4. Scrolling
5. <FRAME>

C. Explain the different between the following tag attributes.


1. Cols and Rows of the <FRAMESET> tag.
Cols specifies the number and size of columns in a frameset. Rows specifies the number and
size of rows in a frameset.

2. Border and border color of the <FRAMESET> tag.


. Bordercolor specifies the color of the border of the frame.

3. Src and Name of the <FRAME> Tag.


Src specifies the URL of the initial file to be displayed in the frame.

4. Margin height and margin width of the <FRAME> tag.


Marginheight specifies the space to be left between the frame’s contents at top and bottom
margins. Marginwidth specifies, in pixels, the space to be left between the frame’s contents
at its left and right margins.

D. Answer the following questions.


1. Why do you need to create frames in a HTML window?
It is because frames allow you to divide the eb page into several independent parts or
panes.

2. Discuss the <FRAMESET> tag and its attributes.


The <frameset> tag divides the web page into rectangular areas in a HTML document. Cols,
Rows, Border, Bordercolor & Frameborder are the attributes of <frameset> tag.
Cols specifies the number and size of columns in a frameset. Rows specifies the number and
size of rows in a frameset.
Border specifies the thickness of the frame borders in pixels for all the frames in the
outermost frameset. Bordercolor specifies the color of the border of the frame.
Frameborder specifies whether the border should be visible or not.

3. Discuss different attributes of the <Frame> tag.

. Src specifies the URL of the initial file to be displayed in the frame. Name assigns a name to the
frame that may be used as a target for links. Frameborder specifies whether the border should
be visible or not. Bordercolor specifies the color of the border of the frame. Scrolling specifies
the scroll information for the frame. Marginheight specifies, in pixels, the space to be left
between the frame’s contents at top and bottom margins. Marginwidth specifies, in pixels, the
space to be left between the frame’s contents at its left and right margins.

4. What is the nested frameset? Give an example.


Nested frameset creates one frame within another frame. The middle frame is divided into
two side-by-side frames.

You might also like