# 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](/features/events.md), e.g. *Load* (page) or *Click* (button) to which a [*SetValue* ](/actions/set-value.md)action can be added.
2. Add a [SetValue](/actions/set-value.md) action to assign the value from the query to the Label's *Text* property.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.stadium.software/controls/label.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
