label

Name

label -- Simple text display element and label for a control element

Additional Attributes

control, for, accesskey, crop, value

Description

This text element can just display text in the UI. Unlike the description element, the text will not wrap. If you use it with a control element (the association occurs through the for attribute, the value of which must match the element's id) such as a textbox, the focus moves to the control element when the label is clicked.

See Also

caption, description