DOM.HTMLBodyElement

KDE 4.7 PyKDE API Reference

- KDE's Python API

# HTMLBodyElement Class Reference

`from PyKDE4.khtml import *`

Inherits: DOM.HTMLElement → DOM.Element → DOM.Node
Namespace: DOM

## Detailed Description

The HTML document body. This element is always present in the DOM API, even if the tags are not present in the source document. See the <a href="http://www.w3.org/TR/REC-html40/struct/global.html#edef-BODY"> BODY element definition in HTML 4.0.

## Methods
| __init__ (self)
| __init__ (self, DOM.HTMLBodyElement other)
| __init__ (self, DOM.Node other)
DOM.DOMString | aLink (self)
DOM.DOMString | background (self)
DOM.DOMString | bgColor (self)
DOM.DOMString | link (self)
| setALink (self, DOM.DOMString a0)
| setBackground (self, DOM.DOMString a0)
| setBgColor (self, DOM.DOMString a0)
| setLink (self, DOM.DOMString a0)
| setText (self, DOM.DOMString a0)
| setVLink (self, DOM.DOMString a0)
DOM.DOMString | text (self)
DOM.DOMString | vLink (self)

## Method Documentation

__init__ | ( |  | self ) |

__init__ | ( | self, |
|  | DOM.HTMLBodyElement | other
| ) |  |  |

__init__ | ( | self, |
|  | DOM.Node | other
| ) |  |  |

DOM.DOMString aLink | ( |  | self ) |

Color of active links (after mouse-button down, but before mouse-button up). See the <a href="http://www.w3.org/TR/REC-html40/struct/global.html#adef-alink"> alink attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

DOM.DOMString background | ( |  | self ) |

URI of the background texture tile image. See the <a href="http://www.w3.org/TR/REC-html40/struct/global.html#adef-background"> background attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

DOM.DOMString bgColor | ( |  | self ) |

Document background color. See the <a href="http://www.w3.org/TR/REC-html40/present/graphics.html#adef-bgcolor"> bgcolor attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

DOM.DOMString link | ( |  | self ) |

Color of links that are not active and unvisited. See the <a href="http://www.w3.org/TR/REC-html40/struct/global.html#adef-link"> link attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

setALink | ( | self, |
|  | DOM.DOMString | a0
| ) |  |  |

see aLink

setBackground | ( | self, |
|  | DOM.DOMString | a0
| ) |  |  |

see background

setBgColor | ( | self, |
|  | DOM.DOMString | a0
| ) |  |  |

see bgColor

setLink | ( | self, |
|  | DOM.DOMString | a0
| ) |  |  |

see link

setText | ( | self, |
|  | DOM.DOMString | a0
| ) |  |  |

see text

setVLink | ( | self, |
|  | DOM.DOMString | a0
| ) |  |  |

see vLink

DOM.DOMString text | ( |  | self ) |

Document text color. See the <a href="http://www.w3.org/TR/REC-html40/struct/global.html#adef-text"> text attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

DOM.DOMString vLink | ( |  | self ) |

Color of links that have been visited by the user. See the <a href="http://www.w3.org/TR/REC-html40/struct/global.html#adef-vlink"> vlink attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.