class js.html.FrameElement extends Element

Available on js

<frame> is an HTML element which defines a particular area in which another HTML document can be displayed. A frame should be used within a <frameset> .

Using the <frame> element is not encouraged because of certain disadvantages such as performance problems and lack of accessibility for users with screen readers. Instead of the <frame> element, <iframe>  may be preferred.



Documentation for this class was provided by MDN.

Instance Fields

var name:String

This attribute is used to labeling frames. Without labeling all links will open in the frame that they are in.

var scrolling:String

This attribute defines existence of scrollbar. If this attribute is not used, browser put a scrollbar when necessary. There are two choices; "yes" for showing a scrollbar even when it is not necessary and "no" for do not showing a scrollbar even when it is necessary.

var src:String

This attribute is specify document which will be displayed by frame.