Click to return to the Reusing Browser Technology home page    
IHTMLIsIndexElement::get_...     IHTMLLabelElement::get_ac...     Interfaces and Scripting ...    
Web Workshop  |  Reusing Browser Technology

IHTMLLabelElement Interface


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.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.