This interface specifies a label for a control-like element.
IHTMLLabelElement Methods
get_accessKey Retrieves the accelerator key for the element. Pressing CTRL+key selects this anchor element in the user's browser. get_htmlFor Retrieves which control-like element to assign the given label element to. This property corresponds to the FOR= attribute in HTML. put_accessKey Sets an accelerator key for the element. Pressing CTRL+key selects this anchor element in the user's browser. put_htmlFor Sets which control-like element to assign the given label element to. This property corresponds to the FOR= attribute in HTML.
Interface Information
Implementation System (Mshtml.dll) Inherits from IDispatch Header and IDL files Mshtml.h, Mshtml.idl Minimum availability Internet Explorer 4.0 Minimum operating systems Windows 95, Windows NT 4.0
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
Remarks
Labels cannot be nested.