HTMLImageElement Class Reference
from PyKDE4.khtml import *
Inherits: DOM.HTMLElement → DOM.Element → DOM.Node
Namespace: DOM
Detailed Description
Embedded image. See the <a
href="http://www.w3.org/TR/REC-html40/struct/objects.html#edef-IMG">
IMG element definition in HTML 4.0.
Methods |
| | __init__ (self) |
| | __init__ (self, DOM.HTMLImageElement other) |
| | __init__ (self, DOM.Node other) |
| DOM.DOMString | align (self) |
| DOM.DOMString | alt (self) |
| long | border (self) |
| DOM.DOMString | getBorder (self) |
| long | height (self) |
| long | hspace (self) |
| bool | isMap (self) |
| DOM.DOMString | longDesc (self) |
| DOM.DOMString | name (self) |
| | setAlign (self, DOM.DOMString a0) |
| | setAlt (self, DOM.DOMString a0) |
| | setBorder (self, DOM.DOMString a0) |
| | setBorder (self, long a0) |
| | setHeight (self, long a0) |
| | setHspace (self, long a0) |
| | setIsMap (self, bool a0) |
| | setLongDesc (self, DOM.DOMString a0) |
| | setName (self, DOM.DOMString a0) |
| | setSrc (self, DOM.DOMString a0) |
| | setUseMap (self, DOM.DOMString a0) |
| | setVspace (self, long a0) |
| | setWidth (self, long a0) |
| DOM.DOMString | src (self) |
| DOM.DOMString | useMap (self) |
| long | vspace (self) |
| long | width (self) |
| long | x (self) |
| long | y (self) |
Method Documentation
Aligns this object (vertically or horizontally) with respect to
its surrounding text. See the <a
href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-align-IMG">
align attribute definition in HTML 4.0. This attribute is
deprecated in HTML 4.0.
Alternate text for user agents not rendering the normal content
of this element. See the <a
href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-alt">
alt attribute definition in HTML 4.0.
Width of border around image. See the <a
href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-border-IMG">
border attribute definition in HTML 4.0. This attribute is
deprecated in HTML 4.0.
Override height. See the <a
href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-height-IMG">
height attribute definition in HTML 4.0.
Horizontal space to the left and right of this image. See the
<a
href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-hspace">
hspace attribute definition in HTML 4.0. This attribute is
deprecated in HTML 4.0.
Use server-side image map. See the <a
href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-ismap">
ismap attribute definition in HTML 4.0.
URI designating a long description of this image or frame. See
the <a
href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-longdesc-IMG">
longdesc attribute definition in HTML 4.0.
The name of the element (for backwards compatibility).
| setBorder |
( |
self, |
|
|
|
long |
a0 |
|
) |
|
|
|
| setHeight |
( |
self, |
|
|
|
long |
a0 |
|
) |
|
|
|
| setHspace |
( |
self, |
|
|
|
long |
a0 |
|
) |
|
|
|
| setIsMap |
( |
self, |
|
|
|
bool |
a0 |
|
) |
|
|
|
| setVspace |
( |
self, |
|
|
|
long |
a0 |
|
) |
|
|
|
| setWidth |
( |
self, |
|
|
|
long |
a0 |
|
) |
|
|
|
URI designating the source of this image. See the <a
href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-src-IMG">
src attribute definition in HTML 4.0.
Use client-side image map. See the <a
href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-usemap">
usemap attribute definition in HTML 4.0.
Vertical space above and below this image. See the <a
href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-vspace">
vspace attribute definition in HTML 4.0. This attribute is
deprecated in HTML 4.0.
Override width. See the <a
href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-width-IMG">
width attribute definition in HTML 4.0.
Nonstandard extension to DOM.ImgElement