A label is a
graphical control element
A graphical widget (also graphical control element or control) in a graphical user interface is an element of interaction, such as a button or a scroll bar. Controls are software components that a computer user interacts with through direct ...
which displays text on a form. It is usually a static control; having no interactivity. A label is generally used to identify a nearby
text box or other
widget. Some labels can respond to events such as
mouse clicks, allowing the text of the label to be copied, but this is not standard user-interface practice. Labels usually cannot be given the
focus.
There is also a similar control known as a
link label
The anchor text, link label or link text is the visible, clickable text in an HTML hyperlink. The term "anchor" was used in older versions of the HTML specification for what is currently referred to as the ''a element'', or . The HTML specifica ...
. Unlike a standard label, a link label looks and acts like a
hyperlink
In computing, a hyperlink, or simply a link, is a digital reference to data that the user can follow or be guided by clicking or tapping. A hyperlink points to a whole document or to a specific element within a document. Hypertext is text wit ...
, and can be selected and activated.
[ ] This control may have features such as changing colour when clicked or hovered over.
References
Graphical control elements
{{GUI-stub