Unit 4 - Exercises
Unit 4 - Exercises
Exercise
A. True or False
1. True
2. False
3. True
4. True
5. True
1. src
2. bordercolor
3. <frameset>
4. noresize
5. <frame>
1. Cols: Specifies the number and size of columns in a frameset. Its value
can be a specific percentage of the web page or in pixels. The default value is
100% (1 column).
Rows: Specifies the number and size of rows in a frameset. Its value can be
a specific percentage of the web page or in pixels. The default value is 100%
(1 row).
2. Border: Specifies the thickness of the frame borders in pixels for all the
frames in the outermost frameset. The default value is 5 pixels. It can be used
only for the outermost frameset.
3. 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. Its value
can be either Yes or No.
Frames allow you to divide the web page into several independent parts or
panes. The frames work as independent windows allowing multiple views at
one time. They allow one part of the web page to remain static while allowing
other parts to change.
· 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.
· Scrolling: Specifies the scroll information for the frame. It can have a
value Yes, No or Auto. Yes means scrollbars are displayed. No means
scrollbars are never available and Auto means provides scrolling if
necessary. Auto is the default value.
Creating one frame within another frame is known as a nested frame set. This
is done by using the nested frameset tags in the main window. One of the
most popular uses for frames is nesting the frameset tags to design a
complete website with the homepage on the left frame and the content,
selected from the list in the homepage, on the right frame. An example is
shown below of how to create a complete web page.