Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IHTMLAreaElement interface

Specifies the shape of a hot spot in a client-side image map.

Members

The IHTMLAreaElement interface inherits from the IDispatch interface. IHTMLAreaElement also has these types of members:

Methods

The IHTMLAreaElement interface has these methods.

MethodDescription
blur

Causes the element to lose focus and fires the HTMLFrameSiteEvents::onblur event.

focus

Causes the element to receive the focus and executes the code specified by the HTMLFrameSiteEvents::onfocus event.

 

Properties

The IHTMLAreaElement interface has these properties.

PropertyDescription

alt

Sets or retrieves a text alternative to the graphic.

coords

Sets or retrieves the coordinates of the object.

hash

Sets or retrieves the subsection of the IHTMLAreaElement::href property that follows the number sign (#).

host

Sets or retrieves the IHTMLAreaElement::hostname and IHTMLAreaElement::port number of the location or URL.

hostname

Sets or retrieves the host name part of the location or URL.

href

Sets or retrieves a destination URL or an anchor point.

noHref

Sets or gets whether clicks in this region cause action.

onblur

Sets or retrieves a pointer to the event handler function associated with the HTMLFrameSiteEvents::onblur event.

onfocus

Sets or retrieves a pointer to the event handler function associated with the HTMLFrameSiteEvents::onfocus event.

pathname

Sets or retrieves the file name or path specified by the object.

port

Sets or retrieves the port number associated with a URL.

protocol

Sets or retrieves the protocol portion of a URL.

search

Sets or retrieves the substring of the IHTMLLocation::href property that follows the question mark.

shape

Sets or retrieves the shape of the object.

tabIndex

Sets or retrieves the index that defines the tab order for the object.

target

Sets or retrieves the window or frame at which to target content.

 

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch

 

 

Community Additions

ADD
Show:
© 2015 Microsoft