HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

label

Description

The label element for HTML represents a caption in a user interface.

Syntax

HTML

<label attribute-name="attribute-value"></label>

Attributes

Global

NameValueDescription
forIDREFIdentifies a form control for which the label is a caption
formIDREFIdentifies a form with which to associate the element

CSS

label
{
    cursor: default;
}

Examples

1 · for

2 · form

3 · CSS