The methods of the HTMLImageElement object are listed here. For a complete list of HTMLImageElement object members, see the HTMLImageElement Members topic.

Public Methods

public method AppendChild (inherited from Node) Adds the specified node to the end of the list of child nodes, of this node.
public method CloneNode (inherited from Node) Creates a duplicate of this node.
public method GetAttribute (inherited from Element) Returns the value for the attribute with the specified name.
public method GetAttributeNode (inherited from Element) Returns the Attribute with the specified name.
public method GetElementsByTagName (inherited from Element) Returns an NodeList containing a list of all descendant elements that match the specified name.
public method HasAttribute (inherited from Element) Determines whether the current node has an attribute with the specified name.
public method HasChildNodes (inherited from Node) Gets a value indicating whether this node has any child nodes.
public method InsertBefore (inherited from Node) Inserts the specified node immediately before the specified reference node.
public method Normalize (inherited from Node) Combines all adjacent text nodes in the full depth of the sub-tree underneath this node.
public method RemoveAttribute (inherited from Element) Removes an attribute by name.
public method RemoveAttributeNode (inherited from Element) Removes the specified Attribute.
public method RemoveChild (inherited from Node) Removes specified child node.
public method ReplaceChild (inherited from Node) Replaces the child node oldChild with newChild node.
public method SetAttribute (inherited from Element) Sets the value of the attribute with the specified name.
public method SetAttributeNode (inherited from Element) Adds the specified Attribute.

See Also

HTMLImageElement Object | DOM Namespace