Oppenheimer Film Discussion for Philosophy and Film
Html frames
1. HTML FRAMES
BY
Hafiz Muhammad Arslan Elahi
03325172005
2. Quiz
• Write a code for the following output
– Table border “1”, background color “#c9c9c9”
– Font color “blue”, cell spacing “”2px”
A B C D E F G
A B C D
A B C D E
A B C D E
A B C D E
A
3. Definition
• Frame is a container window that can
display a web page
• Many web pages can display
• Break the page into different sections
– Title
– Navigational
– Contents
– Footer
4. Advantages
• Keep one part static and change other
parts
• Multiple pages in the same browser
• Reduce load on the server
– All pages not reloaded
5. Disadvantages
• Difficult to print the content of all frames as
compared to a normal web page
• Most browsers do no allow to bookmark
an individual frame page.
6. Tags
<frameset>
•Define the style and no. of frames
•Nested <frameset> also allowed
Attributes Description
Rows Pixel, %age, * indicate remaining
space
Cols As above
Border Width of border
Framespacing Space b/w the frames
7. Tags contd…
<frame>
•Nested in frameset tag
Attributes Description
SRC Page displayed in the frame
Marginheight Space to be left at the top and left side of
frame
Marginwidth Space to be left along the sides of frames
Name Name of frame
Noresize Frame un-sizeable
Scrolling Yes, no , auto
Vertical , horizontal scrollbars
Border Width of frames
8. Tags contd….
• Target Frame
Value Description
_parent Page loaded containing the
current frame
_top Load into the whole browser
window
_blank New browser window
_self Loaded in the same window
Default target