Packagedom.html
Classpublic class HTMLAnchorElement
InheritanceHTMLAnchorElement Inheritance HTMLElement Inheritance Element Inheritance Node Inheritance Object

The anchor element.



Public Properties
 PropertyDefined By
   accessKey : DOMString
A single character access key to give access to the form control.
HTMLAnchorElement
 InheritedDOM 1 Core attributes : NamedNodeMap
[read-only] Returns an unordered collection of Attr nodes.
Node
 InheritedNon-Standard baseName : DOMString
[read-only] Returns the base name for the name qualified with the namespace.
Node
 InheritedDOM 3 Core baseURI : DOMString
[read-only] The absolute base URI of this node or null if the implementation wasn't able to obtain an absolute URI.
Node
 Inherited baseURIObject : nsIURI
[read-only] Non-Standard | FireFox 3+ Returns the nsIURI object representing the element's URI.
Element
   charset : DOMString
The character encoding of the linked resource.
HTMLAnchorElement
 InheritedElement Traversal childElementCount : Number
[read-only] Returns the current number of element nodes that are children of this element.
Element
 InheritedDOM 1 Core childNodes : NodeList
[read-only] Returns an ordered collection of node objects that are children of the current element.
Node
 Inherited children : NodeList
[read-only] ? | FireFox 3.5+ Returns a collection of child elements of the given element.
Element
 Inherited className : DOMString
The class attribute of the element.
HTMLElement
 InheritedDOM 3 Core clientHeight : Number
[read-only] Returns the inner height of an element in pixels, including padding but not the horizontal scrollbar height, border, or margin.
Element
 InheritedDOM 3 Core clientLeft : Number
[read-only] The width of the left border of an element in pixels.
Element
 InheritedDOM 3 Core clientTop : Number
[read-only] The width of the top border of an element in pixels.
Element
 InheritedDOM 3 Core clientWidth : Number
[read-only] Returns the inner width of an element in pixels.
Element
   coords : DOMString
Comma-separated list of lengths, defining an active region geometry.
HTMLAnchorElement
 InheritedNon-Standard dataType : *
Specifies the data type for this node.
Node
 InheritedNon-Standard definition : Node
[read-only] Returns the definition of the node in the document type definition (DTD) or schema.
Node
 Inherited dir : DOMString
The dir attribute gets or sets the text writing directionality of the content of the current element.
HTMLElement
 InheritedDOM 1 Core firstChild : Node
[read-only] Returns the node's first child in the tree, or null if the node is childless.
Node
 InheritedElement Traversal firstElementChild : Element
[read-only] Returns the first child element node of this element.
Element
   href : DOMString
The absolute URI of the linked resource.
HTMLAnchorElement
   hreflang : DOMString
Language code of the linked resource.
HTMLAnchorElement
 Inherited id : DOMString
Gets or sets the element's identifier.
HTMLElement
 Inherited innerHTML : DOMString
DOM Level 0 | NS\FireFox\IE4+ Sets or gets all of the markup and content within a given element.
Element
 Inherited lang : DOMString
This property gets or sets the base language of an element's attribute values and text content.
HTMLElement
 InheritedDOM 1 Core lastChild : Node
[read-only] Returns the last child of a node.
Node
 InheritedElement Traversal lastElementChild : Element
[read-only] Returns the last child element node of this element.
Element
 InheritedDOM 2 Core localName : DOMString
[read-only] Returns the local part of the qualified name of this node.
Node
   name : DOMString
Anchor name.
HTMLAnchorElement
 InheritedDOM 2 Core namespaceURI : DOMString
[read-only] The namespace URI of the node, or null if it is unspecified (read-only).
Node
 InheritedElement Traversal nextElementSibling : Element
[read-only] Returns the next sibling element node of this element.
Element
 InheritedDOM 1 Core nextSibling : Node
[read-only] Returns the node immediately following the specified one in its parent's childNodes list, or null if the specified node is the last node in that list.
Node
 InheritedDOM 1 Core nodeName : DOMString
[read-only] Returns the name of the current node as a string.
Node
 InheritedNon-Standard nodePrincipal : nsIPrincipal
[read-only] Returns the nsIPrincipal object representing current security context of the node.
Node
 InheritedDOM 1 Core nodeType : Number
[read-only] Returns an integer code representing the type of the node.
Node
 InheritedNon-Standard nodeTypedValue : *
Contains the node value expressed in its defined data type.
Node
 InheritedNon-Standard nodeTypeString : DOMString
[read-only] Returns the node type in string form.
Node
 InheritedDOM 1 Core nodeValue : DOMString
Returns or sets the value of the current node.
Node
 InheritedDOM 3 Core offsetHeight : Number
[read-only] Height of an element relative to the element's offsetParent.
Element
 InheritedDOM 3 Core offsetLeft : Number
[read-only] Returns the number of pixels that the upper left corner of the current element is offset to the left within the offsetParent node.
Element
 InheritedDOM 3 Core offsetParent : Element
[read-only] The element from which all offset calculations are currently computed.
Element
 InheritedDOM 3 Core offsetTop : Number
[read-only] Returns the distance of the current element relative to the top of the offsetParent node.
Element
 InheritedDOM 3 Core offsetWidth : Number
[read-only] The width of an element, relative to the layout.
Element
   onblur : Function
The onblur event occurs when an element loses focus either by the pointing device or by tabbing navigation.
HTMLAnchorElement
 Inherited onclick : Function
a pointer button was clicked
HTMLElement
 Inherited oncopy : Function
Non-Standard | Firefox 3+ This event is sent when the user attempts to copy text.
HTMLElement
 Inherited oncut : Function
Non-Standard | Firefox 3+ This event is sent when the user attempts to cut text.
HTMLElement
 Inherited ondblclick : Function
a pointer button was double clicked
HTMLElement
   onfocus : Function
The onfocus event occurs when an element receives focus either by the pointing device or by tabbing navigation.
HTMLAnchorElement
 Inherited onkeydown : Function
a key was pressed down
HTMLElement
 Inherited onkeypress : Function
a key was pressed and released
HTMLElement
 Inherited onkeyup : Function
a key was released
HTMLElement
 Inherited onmousedown : Function
a pointer button was pressed down
HTMLElement
 Inherited onmousemove : Function
a pointer was moved within
HTMLElement
 Inherited onmouseout : Function
a pointer was moved away
HTMLElement
 Inherited onmouseover : Function
a pointer was moved onto
HTMLElement
 Inherited onmouseup : Function
a pointer button was released
HTMLElement
 Inherited onpaste : Function
Non-Standard | Firefox 3+ This event is sent when the user attempts to paste text.
HTMLElement
 InheritedDOM 1 Core ownerDocument : Document
[read-only] The Document object associated with this node.
Node
 InheritedDOM 1 Core parentNode : Node
[read-only] Returns the parent of the specified node in the DOM tree.
Node
 InheritedNon-Standard parsed : Boolean
[read-only] Indicates the parsed status of the node and child nodes.
Node
 InheritedDOM 2 Core prefix : DOMString
Returns the namespace prefix of the specified node, or null if no prefix is specified.
Node
 InheritedElement Traversal previousElementSibling : Element
[read-only] Returns the previous sibling element node of this element.
Element
 InheritedDOM 1 Core previousSibling : Node
[read-only] Returns the node immediately preceding the specified one in its parent's childNodes list, null if the specified node is the first in that list.
Node
   rel : DOMString
Forward link type.
HTMLAnchorElement
   rev : DOMString
Reverse link type.
HTMLAnchorElement
 Inherited schemeTypeInfo : TypeInfo
[read-only] DOM Level 3 | None The type information associated with this element.
Element
 InheritedDOM 3 Core scrollHeight : Number
[read-only] Height of the scroll view of an element; it includes the element padding but not its margin.
Element
 InheritedDOM 3 Core scrollLeft : Number
Gets or sets the number of pixels that an element's content is scrolled to the left.
Element
 InheritedDOM 3 Core scrollTop : Number
Gets or sets the number of pixels that the content of an element is scrolled upward.
Element
 InheritedDOM 3 Core scrollWidth : Number
[read-only] Returns either the width in pixels of the content of an element or the width of the element itself, whichever is greater.
Element
   shape : DOMString
The shape of the active area.
HTMLAnchorElement
 InheritedNon-Standard specified : Boolean
[read-only] Indicates whether the node (usually an attribute) is explicitly specified or derived from a default value in the document type definition (DTD) or schema.
Node
 Inherited style : CSSStyleDeclaration
[read-only] Returns an object that represents the element's style attribute.
HTMLElement
   tabIndex : DOMString
Index that represents the element's position in the tabbing order.
HTMLAnchorElement
 InheritedDOM 2 Core tagName : DOMString
[read-only] The name of the element.
Element
   target : DOMString
Frame to render the resource in.
HTMLAnchorElement
 InheritedNon-Standard text : DOMString
Represents the text content of the node or the concatenated text representing the node and its descendants.
Node
 InheritedDOM 3 Core textContent : DOMString
Gets or sets the text content of a node and its descendants.
Node
 Inherited title : DOMString
Establishes the text to be displayed in a 'tool tip' popup when the mouse is over the displayed node.
HTMLElement
   type : DOMString
Advisory content type.
HTMLAnchorElement
 InheritedNon-Standard xml : DOMString
[read-only] Contains the XML representation of the node and all its descendants.
Node
Public Methods
 MethodDefined By
 Inherited
Non-Standard addBehavior(url:DOMString):Number
Attaches a behavior to the element.
Element
 Inherited
DOM 2 Events addEventListener(type:DOMString, listener:EventListener, useCapture:Boolean):void
Associates a function with a particular event and binds the event to the current node.
Node
 Inherited
DOM 3 Events addEventListenerNS(namespaceURI:DOMString, type:DOMString, listener:EventListener, useCapture:Boolean):void
Registers an event listener, depending on the useCapture parameter, on the capture phase of the DOM event flow or its target and bubbling phases.
Node
 Inherited
DOM 1 Core appendChild(element:Node):Node
Adds a node to the end of the list of children of a specified parent node.
Node
 Inherited
Non-Standard applyElement(element:Object, where:DOMString = outside):Object
Makes the element either a child or parent of another element.
Element
 Inherited
Non-Standard attachEvent(type:DOMString, listener:Function):Boolean
Binds the specified function to an event, so that the function gets called whenever the event fires on the object.
Element
  
 blur():void
Removes keyboard focus from this element.
HTMLAnchorElement
 Inherited
Non-Standard clearAttributes():void
Removes all attributes and values from the object.
Element
 Inherited
DOM 1 Core cloneNode(cloneChildren:Boolean):Node
Returns a duplicate of the current node.
Node
 Inherited
DOM 3 Core compareDocumentPosition(other:Node):Number
Compares the position of the current node against another node in any other document.
Node
 Inherited
Non-Standard componentFromPoint(x:Number, y:Number):DOMString
Returns the component located at the specified coordinates via certain events.
Element
 Inherited
Non-Standard contains(element:Object):Boolean
Checks whether the given element is contained within the object.
Element
 Inherited
Creates a controlRange collection of nontext elements.
Element
 Inherited
Non-Standard detachEvent(type:DOMString, listener:Function):void
Unbinds the specified function from the event, so that the function stops receiving notifications when the event fires.
Element
 Inherited
DOM 2 Events dispatchEvent(evt:Event):Boolean
Dispatches an event to fire on a node artificially.
Node
 Inherited
Non-Standard doScroll(scrollAction:DOMString = scrollbarDown):void
Simulates a click on a scroll-bar component.
Element
 Inherited
Non-Standard dragDrop():Boolean
Initiates a drag event.
Element
 Inherited
Non-Standard fireEvent(type:DOMString, event:Object = null):Boolean
Fires a specified event on the object.
Element
  
 focus():void
Gives keyboard focus to this element.
HTMLAnchorElement
 Inherited
Non-Standard getAdjacentText(where:DOMString):DOMString
Returns the adjacent text string.
Element
 Inherited
DOM 1 Core getAttribute(name:DOMString):Object
Returns the value of the named attribute on the specified element.
Element
 Inherited
DOM 2 Core getAttributeNode(name:DOMString):Attr
Returns the Attr node for the attribute with the given name.
Element
 Inherited
DOM 2 Core getAttributeNodeNS(nameSpace:DOMString, name:DOMString):Attr
Returns the Attr node for the attribute with the given namespace and name.
Element
 Inherited
DOM 2 Core getAttributeNS(nameSpace:DOMString, name:DOMString):DOMString
Returns the string value of the attribute with the specified namespace and name.
Element
 Inherited
Retrieves an object that specifies the bounds of a collection of TextRectangle objects.
Element
 Inherited
Retrieves a collection of rectangles that describes the layout of the contents of an object or range within the client.
Element
 Inherited
Returns a set of elements with the given class name.
Element
 Inherited
Retrieves a collection of objects based on the specified element name.
Element
 Inherited
DOM 2 Core getElementsByTagNameNS(nameSpace:DOMString, localName:DOMString):NodeList
Returns a list of elements with the given tag name belonging to the given namespace.
Element
 Inherited
Non-Standard getExpression(propertyName:DOMString):*
Retrieves the expression for the given property.
Element
 Inherited
DOM 3 Core getFeature(feature:DOMString, version:DOMString):DOMObject
This method returns a specialized object which implements the specialized APIs of the specified feature and version, as specified in DOM Features.
Node
 Inherited
Retrieves the object associated to a key on a this node.
Node
 Inherited
DOM 2 Core hasAttribute(name:DOMString):Boolean
DOM Level 2 | NS\FireFox Determines whether an attribute with the specified name exists.
Element
 Inherited
DOM 2 Core hasAttributeNS(nameSpace:DOMString, name:DOMString):Boolean
Returns a boolean value indicating whether the current element has the specified attribute.
Element
 Inherited
DOM 2 Core hasAttributes():Boolean
Returns a boolean value of true or false, indicating if the current element has any attributes or not.
Node
 Inherited
DOM 1 Core hasChildNodes():Boolean
Returns a value that indicates whether the object has children.
Node
 Inherited
Non-Standard insertAdjacentElement(where:DOMString, element:Element):Element
Inserts an element at the specified location.
Element
 Inherited
Non-Standard insertAdjacentHTML(where:DOMString, text:DOMString):void
Inserts the given HTML text into the element at the location.
Element
 Inherited
Non-Standard insertAdjacentText(where:DOMString, text:DOMString):void
Inserts the given text into the element at the specified location.
Element
 Inherited
DOM 1 Core insertBefore(newNode:Node, childNode:Node):Node
Inserts the specified node before a reference element as a child of the current node.
Node
 Inherited
DOM 3 Core isDefaultNamespace(namespaceURI:DOMString):Boolean
Returns true if the namespace is the default namespace on the given node or false if not.
Node
 Inherited
DOM 3 Core isEqualNode(arg:Node):Boolean
Tests whether two nodes are equal.
Node
 Inherited
DOM 3 Core isSameNode(other:Node):Boolean
Returns whether this node is the same node as the given one.
Node
 Inherited
DOM 2 Core isSupported(feature:DOMString, version:DOMString):Boolean
Tests whether the DOM implementation implements a specific feature and that feature is supported by this node.
Node
 Inherited
Takes a prefix and returns the namespaceURI associated with it on the given node if found (and null if not).
Node
 Inherited
DOM 3 Core lookupPrefix(namespaceURI:DOMString):DOMString
Returns the prefix for a given namespaceURI if present, and null if not.
Node
 Inherited
Non-Standard mergeAttributes(source:Element, preserve:Boolean = true):void
Copies all read/write attributes to the specified element.
Element
 Inherited
DOM 1 Core normalize():void
Puts the specified node and all of its subtree into a "normalized" form.
Node
 Inherited
Selectors API querySelector(selectors:DOMString):Element
Returns the first element that is a descendent of the element on which it is invoked that matches the specified group of selectors.
Element
 Inherited
Selectors API querySelectorAll(selectors:DOMString):NodeList
Returns a list of all elements descended from the element on which it is invoked that match the specified group of selectors.
Element
 Inherited
Non-Standard releaseCapture():void
Removes mouse capture from the object in the current document.
Element
 Inherited
DOM 1 Core removeAttribute(name:DOMString):void
Removes an attribute from the specified element.
Element
 Inherited
DOM 1 Core removeAttributeNode(name:Attr):Attr
Removes an attribute object from the object.
Element
 Inherited
DOM 2 Core removeAttributeNS(nameSpace:DOMString, name:DOMString):void
Removes the specified attribute from an element.
Element
 Inherited
Non-Standard removeBehavior(id:Number):Boolean
Detaches a behavior from the element.
Element
 Inherited
DOM 1 Core removeChild(node:Node):Node
Removes a child node from the object.
Node
 Inherited
DOM 2 Events removeEventListener(type:DOMString, listener:EventListener, useCapture:Boolean):void
Removes an event listener.
Node
 Inherited
DOM 3 Events removeEventListenerNS(namespaceURI:DOMString, type:DOMString, listener:EventListener, useCapture:Boolean):void
Removes an event listener.
Node
 Inherited
Non-Standard removeExpression(propertyName:DOMString):Boolean
Removes the expression from the specified property.
Element
 Inherited
Non-Standard removeNode(removeChildren:Boolean = false):Node
Removes the object from the document hierarchy.
Element
 Inherited
Non-Standard replaceAdjacentText(where:DOMString, replaceText:DOMString):DOMString
Replaces the text adjacent to the element.
Element
 Inherited
DOM 1 Core replaceChild(newNode:Node, childNode:Node):Node
Replaces an existing child element with a new child element.
Node
 Inherited
Non-Standard replaceNode(newNode:Node):Node
Replaces the object with another element.
Element
 Inherited
DOM 0 scrollIntoView(alignToTop:Boolean = true):void
Causes the object to scroll into view, aligning it either at the top or bottom of the window.
Element
 Inherited
Non-Standard selectNodes(queryString:DOMString):NodeList
Applies the specified pattern-matching operation to this node's context and returns the list of matching nodes as IXMLDOMNodeList.
Node
 Inherited
Non-Standard selectSingleNode(queryString:DOMString):Node
Applies the specified pattern-matching operation to this node's context and returns the first matching node.
Node
 Inherited
Non-Standard setActive():void
Sets the object as active without setting focus to the object.
Element
 Inherited
DOM 1 Core setAttribute(name:DOMString, value:Number, caseSensitive:*):void
Sets the value of the specified attribute.
Element
 Inherited
DOM 1 Core setAttributeNode(attrNode:Attr):Attr
Sets an attribute object node as part of the object.
Element
 Inherited
DOM 2 Core setAttributeNodeNS(attrNode:Attr):void
Adds a new attribute node with the specified namespace and name.
Element
 Inherited
DOM 2 Core setAttributeNS(nameSpace:DOMString, name:DOMString, value:*):void
Adds a new attribute or changes the value of an attribute with the given namespace and name.
Element
 Inherited
Non-Standard setCapture(containerCapture:Boolean = true):void
Sets the mouse capture to the object that belongs to the current document.
Element
 Inherited
Non-Standard setExpression(propertyName:DOMString, expression:DOMString, language:DOMString):void
Sets an expression for the specified object.
Element
 Inherited
DOM 3 Core setIdAttribute(name:DOMString, isId:Boolean):void
If the parameter isId is true, this method declares the specified attribute to be a user-determined ID attribute.
Element
 Inherited
DOM 3 Core setIdAttributeNode(idAttr:Attr, isId:Boolean):void
If the parameter isId is true, this method declares the specified attribute to be a user-determined ID attribute.
Element
 Inherited
DOM 3 Core setIdAttributeNS(nameSpaceURI:DOMString, name:DOMString, isId:Boolean):void
If the parameter isId is true, this method declares the specified attribute to be a user-determined ID attribute.
Element
 Inherited
Associate an object to a key on this node.
Node
 Inherited
Non-Standard swapNode(node:Node):Node
Exchanges the location of two objects in the document hierarchy.
Element
 Inherited
Non-Standard transformNode(styleSheet:Node):DOMString
Processes this node and its children using the supplied Extensible Stylesheet Language Transformations (XSLT) style sheet and returns the resulting transformation.
Node
 Inherited
Non-Standard transformNodeToObject(styleSheet:Node, outputObject:*):void
Processes this node and its children using the supplied Extensible Stylesheet Language Transformations (XSLT) style sheet and returns the resulting transformation.
Node
Events
 Event Summary Defined By
 InheritedLoading of a resource has been aborted.Element
 InheritedAn event target loses focus.Element
 InheritedA control loses the input focus and its value has been modified since gaining focus.Element
 InheritedA pointing device button is clicked over an element.Element
 InheritedA pointing device button is clicked twice over an element.Element
 InheritedRefer to Activation requests and behavior.Element
 InheritedOccurs after the namespaceURI and/or the nodeName of a Attr node have been modified (e.g., the attribute was renamed using Document.renameNode()).Element
 InheritedOccurs after Attr.value has been modified and after an Attr node has been added to or removed from an Element.Element
 InheritedGecko-Specific Fired on a Window object when a document's DOM content is finished loading, but unlike "load", does not wait until all images are loaded.Element
 InheritedOccurs after the namespaceURI and/or the nodeName of an Element node have been modified (e.g., the element was renamed using Document.renameNode()).Element
 InheritedAn event target receives focus.Element
 InheritedAn event target loses focus.Element
 InheritedGecko-Specific Same as DOMContentLoaded, but also fired for enclosed frames.Element
 InheritedGecko-Specific UndocumentedElement
 InheritedGecko-Specific UndocumentedElement
 InheritedGecko-Specific UndocumentedElement
 InheritedGecko-Specific UndocumentedElement
 InheritedGecko-Specific The DOMMouseScroll event is sent when the mouse wheel is moved.Element
 InheritedA node has been added as a child of another node or, in case of Attr nodes, has been added to an Element.Element
 InheritedA node has been inserted into a document, either through direct insertion of the node or insertion of a subtree in which it is contained; Attr nodes are considered part of an Element's subtree.Element
 InheritedA node is being removed from its parent node or, in case of Attr nodes, removed from its ownerElement.Element
 InheritedA node is being removed from a document, either through direct removal of the node or removal of a subtree in which it is contained; Attr nodes are considered part of an Element's subtree.Element
 InheritedThis is a general event for notification of all changes to the document.Element
 InheritedGecko-Specific UndocumentedElement
 InheritedGecko-Specific UndocumentedElement
 InheritedGecko-Specific Fired when the window is about to be closed by window.close().Element
 InheritedA resource failed to load, or has been loaded but cannot be interpreted according to its semantics such as an invalid image, a script execution error, or non-well-formed XML.Element
 InheritedAn event target receives focus.Element
 InheritedGecko-Specific UndocumentedElement
 InheritedA key is pressed down.Element
 InheritedA key is released.Element
 InheritedThe DOM Implementation finishes loading the resource (such as the document) and any dependent resources (such as images, style sheets, or scripts).Element
 InheritedA pointing device button is pressed over an element.Element
 InheritedA pointing device is moved while it is over an element.Element
 InheritedA mouse wheel has been rotated.Element
 InheritedA pointing device is moved away from an element.Element
 InheritedA pointing device is moved onto an element.Element
 InheritedA pointing device button is released over an element.Element
 InheritedA mouse wheel has been rotated around the y-axis.Element
 InheritedGecko-Specific | Firefox 3.5+ The MozAfterPaint event is fired whenever content is repainted.Element
 InheritedGecko-Specific | Firefox 3.5+ Regular mouse wheels can only scroll with a per-line resolution.Element
 InheritedGecko-Specific UndocumentedElement
 InheritedGecko-Specific UndocumentedElement
 InheritedA form, such as a [HTML 4.01] or [XHTML 1.0] form, is reset.Element
 InheritedA document view or an element has been resized.Element
 InheritedA document view or an element has been scrolled.Element
 InheritedA user selects some text.Element
 InheritedA form, such as a [HTML 4.01] or [XHTML 1.0] form, is submitted.Element
 InheritedOne or more characters have been entered.Element
 InheritedThe DOM implementation removes from the environment the resource (such as the document) or any dependent resources (such as images, style sheets, scripts).Element
 InheritedGecko-Specific UndocumentedElement
 InheritedGecko-Specific UndocumentedElement
Public Constants
 ConstantDefined By
 InheritedDOM 1 Core ATTRIBUTE_NODE : Number = 2
[static] The node is an Attr.
Node
 InheritedDOM 1 Core CDATA_SECTION_NODE : Number = 4
[static] The node is a CDATASection.
Node
 InheritedDOM 1 Core COMMENT_NODE : Number = 8
[static] The node is a Comment.
Node
 InheritedDOM 1 Core DOCUMENT_FRAGMENT_NODE : Number = 11
[static] The node is a DocumentFragment.
Node
 InheritedDOM 1 Core DOCUMENT_NODE : Number = 9
[static] The node is a Document.
Node
 InheritedDOM 3 Core DOCUMENT_POSITION_CONTAINED_BY : Number = 16
[static] The node is contained by the reference node.
Node
 InheritedDOM 3 Core DOCUMENT_POSITION_CONTAINS : Number = 8
[static] The node contains the reference node.
Node
 InheritedDOM 3 Core DOCUMENT_POSITION_DISCONNECTED : Number = 1
[static] The two nodes are disconnected.
Node
 InheritedDOM 3 Core DOCUMENT_POSITION_FOLLOWING : Number = 4
[static] The node follows the reference node.
Node
 InheritedDOM 3 Core DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC : Number = 32
[static] The determination of preceding versus following is implementation-specific.
Node
 InheritedDOM 3 Core DOCUMENT_POSITION_PRECEDING : Number = 2
[static] The second node precedes the reference node.
Node
 InheritedDOM 1 Core DOCUMENT_TYPE_NODE : Number = 10
[static] The node is a DocumentType.
Node
 InheritedDOM 1 Core ELEMENT_NODE : Number = 1
[static] The node is an Element.
Node
 InheritedDOM 1 Core ENTITY_NODE : Number = 6
[static] The node is an Entity.
Node
 InheritedDOM 1 Core ENTITY_REFERENCE_NODE : Number = 5
[static] The node is an EntityReference.
Node
 InheritedDOM 1 Core NOTATION_NODE : Number = 12
[static] The node is a Notation.
Node
 InheritedDOM 1 Core PROCESSING_INSTRUCTION_NODE : Number = 7
[static] The node is a ProcessingInstruction.
Node
 InheritedDOM 1 Core TEXT_NODE : Number = 3
[static] The node is a Text node.
Node
Property Detail
accessKeyproperty
accessKey:DOMString

A single character access key to give access to the form control.


Implementation
    public function get accessKey():DOMString
    public function set accessKey(value:DOMString):void
charsetproperty 
charset:DOMString

The character encoding of the linked resource.


Implementation
    public function get charset():DOMString
    public function set charset(value:DOMString):void
coordsproperty 
coords:DOMString

Comma-separated list of lengths, defining an active region geometry.

This attribute specifies the position and shape on the screen. The number and order of values depends on the shape being defined. Possible combinations:

Shape

Values

rectleft-x, top-y, right-x, bottom-y.
circlecenter-x, center-y, radius. Note: When the radius value is a percentage value, user agents should calculate the final radius value based on the associated object's width and height. The radius should be the smaller value of the two.
polyx1, y1, x2, y2, ..., xN, yN. The first x and y coordinate pair and the last should be the same to close the polygon. When these coordinate values are not the same, user agents should infer an additional coordinate pair to close the polygon.

Coordinates are relative to the top, left corner of the object. All values are lengths. All values are separated by commas.


Implementation
    public function get coords():DOMString
    public function set coords(value:DOMString):void
hrefproperty 
href:DOMString

The absolute URI of the linked resource.


Implementation
    public function get href():DOMString
    public function set href(value:DOMString):void
hreflangproperty 
hreflang:DOMString

Language code of the linked resource.


Implementation
    public function get hreflang():DOMString
    public function set hreflang(value:DOMString):void
nameproperty 
name:DOMString

Anchor name.


Implementation
    public function get name():DOMString
    public function set name(value:DOMString):void
onblurproperty 
onblur:Function

The onblur event occurs when an element loses focus either by the pointing device or by tabbing navigation.


Implementation
    public function get onblur():Function
    public function set onblur(value:Function):void
onfocusproperty 
onfocus:Function

The onfocus event occurs when an element receives focus either by the pointing device or by tabbing navigation.


Implementation
    public function get onfocus():Function
    public function set onfocus(value:Function):void
relproperty 
rel:DOMString

Forward link type.


Implementation
    public function get rel():DOMString
    public function set rel(value:DOMString):void
revproperty 
rev:DOMString

Reverse link type.


Implementation
    public function get rev():DOMString
    public function set rev(value:DOMString):void
shapeproperty 
shape:DOMString

The shape of the active area. The coordinates are given by coords.

Possible values can be:


Implementation
    public function get shape():DOMString
    public function set shape(value:DOMString):void
tabIndexproperty 
tabIndex:DOMString

Index that represents the element's position in the tabbing order.


Implementation
    public function get tabIndex():DOMString
    public function set tabIndex(value:DOMString):void
targetproperty 
target:DOMString

Frame to render the resource in.


Implementation
    public function get target():DOMString
    public function set target(value:DOMString):void
typeproperty 
type:DOMString

Advisory content type.

This attribute gives an advisory hint as to the content type of the content available at the link target address. It allows user agents to opt to use a fallback mechanism rather than fetch the content if they are advised that they will get content in a content type they do not support.

Authors who use this attribute take responsibility to manage the risk that it may become inconsistent with the content available at the link target address.


Implementation
    public function get type():DOMString
    public function set type(value:DOMString):void
Method Detail
blur()method
public function blur():void

Removes keyboard focus from this element.

focus()method 
public function focus():void

Gives keyboard focus to this element.