# class HTMLIFrameElement

###

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

Inline subwindows. See the IFRAME element definition in HTML 4.0.

### methods

- HTMLIFrameElement ( )

  returns ctor

- HTMLIFrameElement (other)

  returns ctor

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

- HTMLIFrameElement (other)

  returns ctor

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

- HTMLIFrameElement (impl)

  returns ctor
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  impl | HTMLIFrameElementImpl |

- align ( )

  returns DOM.DOMString

  Aligns this object (vertically or horizontally) with respect to its surrounding text. See the align attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

- contentDocument ( )

  returns DOM.Document

  Introduced in DOM Level 2

  Returns the document this iframe 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.

- height ( )

  returns DOM.DOMString

  Frame height. See the height 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.

- scrolling ( )

  returns DOM.DOMString

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

- setAlign (a0)

  returns Nothing

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

  see align

- setFrameBorder (a0)

  returns Nothing

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

  see frameBorder

- setHeight (a0)

  returns Nothing

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

  see height

- 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

- setScrolling (a0)

  returns Nothing

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

  see scrolling

- setSrc (a0)

  returns Nothing

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

  see src

- setWidth (a0)

  returns Nothing

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

  see width

- src ( )

  returns DOM.DOMString

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

- width ( )

  returns DOM.DOMString

  Frame width. See the width attribute definition in HTML 4.0.