HTMLAnchorElement Class Reference
from PyKDE4.khtml import *
Inherits: DOM.HTMLElement → DOM.Element → DOM.Node
Namespace: DOM
Detailed Description
The anchor element. See the <a
href="http://www.w3.org/TR/REC-html40/struct/links.html#edef-A"> A
element definition  in HTML 4.0.
| 
 Methods | 
|  | __init__ (self) | 
|  | __init__ (self, DOM.HTMLAnchorElement other) | 
|  | __init__ (self, DOM.Node other) | 
|  | __init__ (self, HTMLAnchorElementImpl impl) | 
| DOM.DOMString | accessKey (self) | 
|  | blur (self) | 
| DOM.DOMString | charset (self) | 
| DOM.DOMString | coords (self) | 
|  | focus (self) | 
| DOM.DOMString | href (self) | 
| DOM.DOMString | hreflang (self) | 
| DOM.DOMString | name (self) | 
| DOM.DOMString | rel (self) | 
| DOM.DOMString | rev (self) | 
|  | setAccessKey (self, DOM.DOMString a0) | 
|  | setCharset (self, DOM.DOMString a0) | 
|  | setCoords (self, DOM.DOMString a0) | 
|  | setHref (self, DOM.DOMString a0) | 
|  | setHreflang (self, DOM.DOMString a0) | 
|  | setName (self, DOM.DOMString a0) | 
|  | setRel (self, DOM.DOMString a0) | 
|  | setRev (self, DOM.DOMString a0) | 
|  | setShape (self, DOM.DOMString a0) | 
|  | setTabIndex (self, long a0) | 
|  | setTarget (self, DOM.DOMString a0) | 
|  | setType (self, DOM.DOMString a0) | 
| DOM.DOMString | shape (self) | 
| long | tabIndex (self) | 
| DOM.DOMString | target (self) | 
| DOM.DOMString | type (self) | 
Method Documentation
| __init__ | ( | self, |  | 
|  |  | HTMLAnchorElementImpl | impl | 
|  | ) |  |  |  | 
 
 
A single character access key to give access to the form
control. See the <a
href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-accesskey">
accesskey attribute definition  in HTML 4.0.
 
Removes keyboard focus from this element.
- Returns:
- 
 
The character encoding of the linked resource. See the <a
href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-charset">
charset attribute definition  in HTML 4.0.
 
Comma-separated list of lengths, defining an active region
geometry. See also shape for the shape of the
region. See the <a
href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-coords">
coords attribute definition  in HTML 4.0.
 
Gives keyboard focus to this element.
- Returns:
- 
 
The URI of the linked resource. See the <a
href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-href">
href attribute definition  in HTML 4.0.
 
Language code of the linked resource. See the <a
href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-hreflang">
hreflang attribute definition  in HTML 4.0.
 
Anchor name. See the <a
href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-name-A">
name attribute definition  in HTML 4.0.
 
Forward link type. See the <a
href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-rel">
rel attribute definition  in HTML 4.0.
 
Reverse link type. See the <a
href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-rev">
rev attribute definition  in HTML 4.0.
 
| setTabIndex | ( | self, |  | 
|  |  | long | a0 | 
|  | ) |  |  |  | 
 
 
The shape of the active area. The coordinates are given by
coords . See the <a
href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-shape">
shape attribute definition  in HTML 4.0.
 
Index that represents the element's position in the tabbing
order. See the <a
href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-tabindex">
tabindex attribute definition  in HTML 4.0.
 
Frame to render the resource in. See the <a
href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-target">
target attribute definition  in HTML 4.0.
 
Advisory content type. See the <a
href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-type-A">
type attribute definition  in HTML 4.0.