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

Pocket PC: Windows Mobile 2003 and later
OS Versions: Windows CE 3.0 and later

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.