# class HTMLFrameElement

###

Module | khtml
Namespace | DOM
Class | HTMLFrameElement
Inherits | DOM::HTMLElement

Create a frame. See the FRAME element definition in HTML 4.0.

### methods

- HTMLFrameElement ( )

  returns ctor

- HTMLFrameElement (other)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  other | DOM.HTMLFrameElement |

- HTMLFrameElement (other)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  other | DOM.Node |

- HTMLFrameElement (impl)

  returns ctor
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  impl | HTMLFrameElementImpl |

- contentDocument ( )

  returns DOM.Document

  Introduced in DOM Level 2

  Returns the document this frame contains, if there is any and it is available, a Null document otherwise. The attribute is read-only.

  Returns The content Document if available.

- frameBorder ( )

  returns DOM.DOMString

  Request frame borders. See the frameborder attribute definition in HTML 4.0.

- longDesc ( )

  returns DOM.DOMString

  URI designating a long description of this image or frame. See the longdesc attribute definition in HTML 4.0.

- marginHeight ( )

  returns DOM.DOMString

  Frame margin height, in pixels. See the marginheight attribute definition in HTML 4.0.

- marginWidth ( )

  returns DOM.DOMString

  Frame margin width, in pixels. See the marginwidth attribute definition in HTML 4.0.

- name ( )

  returns DOM.DOMString

  The frame name (object of the target attribute). See the name attribute definition in HTML 4.0.

- noResize ( )

  returns bool

  When true, forbid user from resizing frame. See the noresize attribute definition in HTML 4.0.

- scrolling ( )

  returns DOM.DOMString

  Specify whether or not the frame should have scrollbars. See the scrolling attribute definition in HTML 4.0.

- setFrameBorder (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see frameBorder

- setLongDesc (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see longDesc

- setMarginHeight (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see marginHeight

- setMarginWidth (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see marginWidth

- setName (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see name

- setNoResize (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | bool |

  see noResize

- setScrolling (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see scrolling

- setSrc (a0)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | DOM.DOMString |

  see src

- src ( )

  returns DOM.DOMString

  A URI designating the initial frame contents. See the src attribute definition in HTML 4.0.