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

Public Properties

public property Align Gets or sets the alignment of this object with respect to its surrounding text.
public property Alt Gets or sets the alternate text for user agents not rendering the normal content of this element.
public property Attributes (inherited from Node) Gets a collection containing the attributes of this node.
public property Border Gets or sets the width of the border around the image.
public property ChildNodes (inherited from Node) Gets all the child nodes of the node.
public property ClassName (inherited from HTMLElement) Gets or sets the class of the element.
public property Dir (inherited from HTMLElement) Gets or sets the base direction of directionally neutral text of the element.
public property FirstChild (inherited from Node) Gets the first child of the node.
public property Height Gets or sets the height of the image.
public property Hspace Gets or sets the amount of white space to be inserted to the left and right of the image.
public property Id (inherited from HTMLElement) Gets or sets the identifier of the element.
public property IsMap Gets or sets the a value indicating whether to use a server-side image map.
public property Lang (inherited from HTMLElement) Gets or sets the language of the element.
public property LastChild (inherited from Node) Gets the last child of the node.
public property LongDesc Gets or sets the link to a long description of the frame.
public property Name Gets or sets the image element.
public property NextSibling (inherited from Node) Gets the node immediately following this node.
public property NodeName (inherited from Node) Gets the qualified name of the node.
public property NodeType (inherited from Node) Gets the type of the current node.
public property NodeValue (inherited from Node) Gets or sets the value of the node.
public property OwnerDocument (inherited from Node) Gets the document to which this node belongs.
public property ParentNode (inherited from Node) Gets the parent of this node.
public property PreviousSibling (inherited from Node) Gets the node immediately preceding this node.
public property Src Gets or sets a URI designating the source of this image.
public property TagName (inherited from Element) Gets the tag name of the element.
public property Title (inherited from HTMLElement) Gets or sets the advisory title of the element.
public property UseMap Gets or sets the a value indicating whether to use a server-side image map.
public property Vspace Gets or sets the amount of white space to be inserted above and below the image.
public property Width Gets or sets the width of the image.

See Also

HTMLImageElement Object | DOM Namespace