--- layout: single elementName: label ---

# label

Defines a label for a form control.

Example: Copy


{% highlight html %}
{% endhighlight %}

Example: Copy

{% highlight html %}{% endhighlight %}

Example: Copy

Subscribe to the newsletter?

{% highlight html %}

Subscribe to the newsletter?

{% endhighlight %}

for

Defines which control the label is associated with.

"last_name"

Clicking the label will focus on the input with the id equal to last_name.

{% highlight html %}
{% endhighlight %}