Instrumentation, measurement and control of bio process parameters ( Temperat...
Presentation1
1.
2. Frames divide a single browser window into multiple, independent regions, each of
which can display a different HTML document. You begin by created FRAMESET
document, which sets up the "layout" by establishing the number of frames, their
position and other characteristics.
This frameset document is structural only and does not contain any of the content
that will appear on the final web page. It does however, specify a URL reference for
each frame, which will be the HTML document, or "normal" web page that will be
displayed within it.
Hyperlinks in one frame can update the contents of another frame through the use
of the TARGET attribute.
3. The <frame> tag is not supported in HTML5.
The <frame> tag defines one particular window (frame) within a
<frameset>.
Each <frame> in a <frameset> can have different attributes, such
as border, scrolling, the ability to resize, etc.
4. Advantages of Frames
1. They allow parts of the screen to remain static while other parts
scroll. This can be useful for navigation menus or logos that you don't
want to scroll off the screen.
2. They can be handy when you want the user to be able to view a
number of images chosen from a long list. See example.
3. You can introduce material from different servers on the same page,
simply by assigning the appropriate URL's.
5. Disadvantages of Frames
1. Navigating through a framed site can be challenging for many users,
as the forward and back buttons do not work as expected.
2. Bookmarking a framed site is difficult, as only the top level
document is noted. Users have the ability to work around this by
opening the frame of interest in a new window and bookmarking it,
but they may not aware of that.
3. Since a framed page is loading more than one URL, it may load
more slowly, particularly if calling upon different servers.
6. <!DOCTYPE html>
<html>
<frameset cols="25%,*,25%">
<frame src="frame_a.htm">
<frame src="frame_b.htm">
<frame src="frame_c.htm">
</frameset>
</html>
Frame A
Note: The
frameset,
frame,
and no
frames
elements
are not
supporte
d in
HTML5.
Frame B Frame C
7. Attribute Value Description
Frame border 0
1
Not supported in HTML5.
Specifies whether or not to display a border around a
frame
longdesc URL Not supported in HTML5.
Specifies a page that contains a long description of the
content of a frame
marginheight pixels Not supported in HTML5.
Specifies the top and bottom margins of a frame
marginwidth pixels Not supported in HTML5.
Specifies the left and right margins of a frame
name text Not supported in HTML5.
Specifies the name of a frame
noresize noresi Not supported in HTML5.
Specifies that a frame is not resizable
scrolling yes
no
auto
Not supported in HTML5.
Specifies whether or not to display scrollbars in a frame
8. To use frames on a page we use <frameset> tag instead of
<body> tag. The <frameset> tag defines, how to divide the
window into frames. The rowsattribute of <frameset> tag defines
horizontal frames and cols attribute defines vertical frames. Each
frame is indicated by <frame> tag and it defines which HTML
document shall open into the frame.
9. Attribute & Description
Cols
Using a wildcard symbol. For example, to create three vertical frames, use cols = "10%, *, 10%".
In this case wildcard takes remainder of the window.
rows
This attribute works just like the cols attribute and takes the same values, but it is used to specify
the rows in the frameset. For example, to create two horizontal frames, use rows = "10%, 90%".
You can specify the height of each row in the same way as explained above for columns.
border
This attribute specifies the width of the border of each frame in pixels. For example, border =
"5". A value of zero means no border.
Frame border
This attribute specifies whether a three-dimensional border should be displayed between
frames. This attribute takes value either 1 (yes) or 0 (no). For example frameborder = "0"
specifies no border.
.