# Label

A Stadium label control renders as a standard \<span /> tag. Custom font styles are placed in a style attribute in the span tag (inline). Such custom font styles will always override your stylesheet. You can change the label text by assigning a new value to the label in a script.

***

{% embed url="<https://www.youtube.com/embed/0N6GINyqkjQ?autoplay=1&rel=0&vq=1080>" %}
*Add a Label*
{% endembed %}

***

### Properties

1. **Text**

   The text to be shown in the label.
2. **Visible**

   Set to False if you don't want this control to render on the page and be visible to the user.

***

### Assigning data to a Label

Example:

To display a Label containing a specific value retrieved by a SQL query:

1. Use an appropriate [Event](https://docs.stadium.software/features/events), e.g. *Load* (page) or *Click* (button) to which a [*SetValue* ](https://docs.stadium.software/actions/set-value)action can be added.
2. Add a [SetValue](https://docs.stadium.software/actions/set-value) action to assign the value from the query to the Label's *Text* property.
