HTML element: <frame>
Considerations
Although the <frame> element is supported by the BlackBerry® Browser, this is mainly to support content designed for desktop browsers. You should not include frames in content designed for the BlackBerry device.
Attributes
Attribute |
Value(s) |
Description |
Availability |
|---|---|---|---|
frameborder |
1 0 |
This attribute specifies whether or not a border is displayed around the frame. The default value is 1, which indicates that a border will be displayed. |
4.6 or later |
longdesc |
URI |
This attribute specifies a URL where the content of the frame is described. |
4.6 or later |
marginheight |
pixels |
This attribute defines the top and bottom margins for the frame. The value must be greater than 0. |
4.6 or later |
marginwidth |
pixels |
This attribute defines the left and right margins of the frames. The value must be greater than 0. |
4.6 or later |
name |
text |
This attribute defines a unique name, used to identify the frame as the target of links or in scripts. |
4.2 or later |
noresize |
— |
When set, this attribute indicates that the user cannot resize the frame. |
4.6 or later |
scrolling |
yes no auto |
This attribute defines the scrolling behavior. The default value is auto, which indicates that scrolling is provided when necessary. |
4.6 or later |
src |
URI |
This attribute defines the URL of the source content for the frame. |
4.2 or later |
Common attributes
The <frame> element supports the class, id, style, and title attributes.
For more information, see Common attributes.