# Custom HTML, JS, CSS, and Iframes

## Custom Components

You can add custom HTML components, Javascript, and iframes directly to your form. After selecting a [container](/platform/build-forms/elements/basic/container.md), you can configure its iframe URL or add custom code to embed. Both iframe URLs and custom code support dynamic values via [double-curly brace field syntax](/platform/build-forms/logic/display-dynamic-text.md).

To add custom CSS to specific elements, you can query them by their IDs and apply custom CSS to the retrieved elements.

<figure><img src="/files/hSKBHVei6QIKw6lbiCy4" alt="" width="358"><figcaption></figcaption></figure>

## Form Head Code

If you want to add HTML or JS header code to your form, you can do so in your form settings under the **Form Properties** tab.

<figure><img src="/files/7ML05BNafIbUCnhvsTQk" alt="" width="375"><figcaption></figcaption></figure>

## Form CSS

To apply CSS classes to your overall form, you can add the CSS within the **Form Properties** tab.

<figure><img src="/files/GNzfBN6sdSUig2nUzqIj" alt="" width="375"><figcaption></figcaption></figure>

## JSX Components

If you want to [add JSX components](/develop/react/api-guide/form/custom-jsx-components.md) to your embedded React form, you can do so from our [React SDK](https://docs.feathery.io/develop/react/api-guide/form/custom-jsx-components).


---

# 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.feathery.io/platform/build-forms/elements/custom-html-js-css-and-iframes.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.
