Share via


FRAME HTML Element

The FRAME element specifies an individual frame within a FRAMESET. This is a block element and does not require a closing tag.

Note   The FRAME element is not supported for Windows Mobile-based Smartphones.

Attributes

Attribute Value Description
CLASS   Associates the element with a CSS style.
Note   Not supported for Windows Mobile-based Smartphones.
ID   Uniquely identifies the element within a document.
Note   Not supported for Windows Mobile-based Smartphones.
MARGINHEIGHT 1...#

6 (default)

Specifies the top and bottom margins of the contents for the frame.
MARGINWIDTH 1...#

6 (default)

Specifies the left and right margins of the contents for the frame.
NAME String Specifies the name of the frame.
SCROLLING Auto (default) Specifies whether or not the user can scroll the frame. The browser determines whether scroll bars are needed.
SCROLLING Yes Frame can be scrolled.
SCROLLING No Frame cannot scroll.
SRC URL Specifies the URL to be loaded in the frame.
STYLE   Provides the definition of the CSS styles used for this element.
Note   Not supported for Windows Mobile-based Smartphones.

Requirements

Smartphone Platforms: None
OS Versions: Windows CE 3.0 and later

Last updated on Friday, April 22, 2005

© 2005 Microsoft Corporation. All rights reserved.

Send feedback on this topic to the authors.