Please visit our sponsors !
The <frame> tag
Definition and Usage
Defines a sub window (a frame).
Tips and Notes
Note: Do not use the body element on a page
containing frames. The frames wont work if you do that.
Note: The end tag is forbidden.
Examples
This code: |
Produces this output: |
<a href="planets.htm" target="_blank">View this page for the result</a>
The source code in "planets.htm":
<frameset cols = "25%, 25%,*">
<frame src ="venus.htm">
<frame src ="sun.htm">
<frame src ="mercur.htm">
</frameset>
|
View this page for the result |
Optional Attributes
Attributes: |
Values: |
Description: |
longdesc |
url |
A link to a long description of the frame. Use it for browsers that do
not support frames |
marginheight |
pixels |
The vertical margins in a frame |
marginwidth |
pixels |
The horizontal margins in a frame |
frameborder |
0
1 |
Sets whether or not to display a border for the frame |
noresize |
true
false |
Whether the user can or can not resize the frame |
scrolling |
yes
no
auto |
Sets whether the frame can be scrolled |
name |
frame_name |
The name of the frame |
src |
file_name |
What file to put in the frame |
Standard Attributes
For a full description, go to Standard
Attributes.
Jump to: Top of Page
or HOME or
Printer friendly page
Search W3Schools:
What Others Say About Us
Does the world know about us? Check out these places:
Dogpile
Alta Vista
MSN
Google
Excite
Lycos
Yahoo
Ask Jeeves
We Help You For Free. You Can Help Us!
W3Schools is for training only. We do not warrant its correctness or its fitness for use.
The risk of using it remains entirely with the user. While using this site, you agree to have read and accepted our
terms of use and
privacy policy.
Copyright 1999-2002 by Refsnes Data. All Rights Reserved
|