# Custom code

Broadcast includes a custom code block to help you build customized messages with HTML and inline styles. Build custom announcement messages and use targeting options to customize your promotions completely:

<figure><img src="/files/vdI1XKg8Y6c6k28CnqR8" alt=""><figcaption></figcaption></figure>

Example of custom code used in the above image:

{% code overflow="wrap" %}

```markup
<p>Custom code using <span style="color: orange; font-weight:900;" >HTML</span>. Build your own custom message block</p>
```

{% endcode %}

<table><thead><tr><th width="113.275146484375">Settings</th><th width="104.5338134765625" align="center">Type</th><th>Description</th></tr></thead><tbody><tr><td>Code</td><td align="center"><code>liquid</code></td><td>Write your own custom HTML or Liquid snippet.</td></tr></tbody></table>

Learn more about the target options in Broadcast:

{% embed url="<https://broadcast.presidiocreative.com/header/announcement-bar-settings/target-settings>" %}


---

# 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://broadcast.presidiocreative.com/header/announcement-bar-settings/custom-code.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.
