
The Complete Idiot's HTML Tag Reference
| Index
| Previous Tag: <FORM>
| Next Tag: <FRAMESET>
|
<FRAME>
Creates a frame (i.e., a screen area that includes a separate page and that takes up some or all of the browser window) within a frameset.
Support:
-
Notes:
- One or more of these tags must be placed within a <FRAMESET> structure.
- This tag requires the </FRAME> end tag.
Attributes:
- APPLICATION
= "Yes/No"
Determines whether the content of the frame is an HTML Application.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
5.0 and later |
Not supported |
Notes:
- BORDERCOLOR
= "Color value"
The color of the frame border.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
4.0 and later |
3.0 and later |
Notes:
- CLASS
= "Text"
The style sheet class used by the tag.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
4.0 and later |
Not supported |
Notes:
-
You can specify two or more classes; be sure to separate each class name with a space.
- FRAMEBORDER
= "Yes/No"
Determines whether the frame border is displayed.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
3.0 and later |
3.0 and later |
Notes:
-
Versions of Netscape prior to 4.5 only understood either FRAMEBORDER=1 (show borders) or FRAMEBORDER=0 (don't show borders). To support these older versions, use two FRAMEBORDER attributes (e.g., FRAMEBORDER="NO" FRAMEBORDER=0.
- ID
= "Text"
An alphanumeric string that uniquely identifies the tag.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
4.0 and later |
Not supported |
Notes:
-
Although you can use letters and numbers for the ID, the first character must be a letter.
- LANG
= "Text"
The language used by the tag's attribute values and text content.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
Not supported |
4.0 and later |
Not supported |
- LONGDESC
= "Text"
The URL of a page that has a long description of the frame's contents.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
Not supported |
Not supported |
- MARGINHEIGHT
= Positive integer
The amount of space, in pixels, between the top and bottom of the frame page and the top and bottom edges of the frame.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
3.0 and later |
2.0 and later |
- MARGINWIDTH
= Positive integer
The amount of space, in pixels, between the left and right sides of the frame page and the left and right edges of the frame.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
3.0 and later |
2.0 and later |
- NAME
= "Text"
The name of the frame.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
3.0 and later |
2.0 and later |
Notes:
-
The NAME attribute is what you reference when you use the TARGET attribute inside the <A> tag. This means that the linked page loads inside the named frame.
- NORESIZE
Determines whether the user is able to change the size of the frame by dragging its borders
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
3.0 and later |
2.0 and later |
- SCROLLING
= "Yes/No"
Determines whether scroll bars appears inside the frame.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
3.0 and later |
2.0 and later |
Notes:
-
You can also set this attribute to "AUTO" (this is the default value) to let the browser decide whether scroll bars are necessary.
- SRC
= "Text"
The URL of the page that will appear inside the frame.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
3.0 and later |
2.0 and later |
- STYLE
= "Text"
The style or styles to use with the tag.
-
Support:
-
HTML Standard | Internet Explorer | Netscape Navigator |
4.0 and later |
4.0 and later |
Not supported |
Notes:
-
If you enter multiple style properties, separate each one with a semi-colon (;).
Example:
<FRAMESET ROWS="25%,75%">
<FRAME SRC="1.htm" NAME="Upper">
<FRAME SRC="2.htm" NAME="Lower">
</FRAMESET>
How It Looks:
- Follow this link to see the above example in action.
| Index
| Previous Tag: <FORM>
| Next Tag: <FRAMESET>
|
|