#### PyKDE - Python Bindings for KDE

# class DOM.HTMLDocument

Table of contents
Modules
khtml Classes
All Classes

Module | khtml
Class | DOM.HTMLDocument
Inherits | DOM.Document

### methods

- HTMLDocument ()

  returns a HTMLDocument instance

- HTMLDocument (parent)

  returns a HTMLDocument instance

  Argument | Type | Default
  --- | --- | ---
  parent | KHTMLView |

- HTMLDocument (other)

  returns a HTMLDocument instance

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

- HTMLDocument (other)

  returns a HTMLDocument instance

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

- HTMLDocument (impl)

  Not Implemented

- URL ()

  returns (DOM.DOMString)

- all ()

  returns (DOM.HTMLCollection)

- anchors ()

  returns (DOM.HTMLCollection)

- applets ()

  returns (DOM.HTMLCollection)

- body ()

  returns (DOM.HTMLElement)

- close ()

  returns nothing

- completeURL (url)

  returns (DOM.DOMString)

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

- cookie ()

  returns (DOM.DOMString)

- domain ()

  returns (DOM.DOMString)

- forms ()

  returns (DOM.HTMLCollection)

- getElementsByName (elementName)

  returns (DOM.NodeList)

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

- images ()

  returns (DOM.HTMLCollection)

- lastModified ()

  returns (DOM.DOMString)

- layers ()

  returns (DOM.HTMLCollection)
  In versions KDE 3.3.2 and above only

- links ()

  returns (DOM.HTMLCollection)

- open ()

  returns nothing

- referrer ()

  returns (DOM.DOMString)

- setBody (a0)

  returns nothing

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

- setCookie (a0)

  returns nothing

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

- setTitle (a0)

  returns nothing

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

- title ()

  returns (DOM.DOMString)

- write (text)

  returns nothing

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

- writeln (text)

  returns nothing

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