Label (HTML element)

From Wiki @ Karl Jones dot com
Jump to: navigation, search

In HTML the label element represents a caption for an item in a user interface.

Description

A label element can be associated with a control either by placing the control element inside the label element, or by using the for attribute.

Such a control is called the labeled control of the label element.

One input can be associated with multiple labels.

See also

External links