Share via


LABEL HTML Element

The LABEL element specifies a label for another element on the page. This is an inline element, requires a closing tag, and cannot be nested.

Attribute Value Description
CLASS   Associates the element with a CSS style.
FOR   Sets or retrieves the object to which the given label object is assigned.
ID   Uniquely identifies the element within a document.
STYLE   Provides the definition of the CSS styles used for this element.

Requirements

Smartphone: Windows Mobile 2003 and later
OS Versions: Windows CE 3.0 and later

Last updated on Friday, April 22, 2005

© 2005 Microsoft Corporation. All rights reserved.

Send feedback on this topic to the authors.