# Get Content

{% hint style="info" %}
**Block Information**

Available in: Page Flow

Toolbox Category: Page Content

Block Type: [Output](https://docs.zingy.ai/app-editor/block-anatomy#output-block)

Output Type: [*text*](https://docs.zingy.ai/app-editor/page-flow/references/value-types)
{% endhint %}

**`Get Content`** is an [output block](https://docs.zingy.ai/app-editor/block-anatomy#output-block) that retrieves and outputs the content of any element on the page or form. The output is of type [*text*](https://docs.zingy.ai/app-editor/page-flow/references/value-types) and is compatible with [Value Parameters](https://docs.zingy.ai/app-editor/block-anatomy#value-parameters) of type [*text*](https://docs.zingy.ai/app-editor/page-flow/references/value-types) or of type [*any*](https://docs.zingy.ai/app-editor/page-flow/references/value-types).

{% hint style="success" %}
Refer to the [Get Content in Data Design](https://docs.zingy.ai/app-editor/page-flow/toolbox-blocks/get-content-in-data-design) block for dynamically generated content.
{% endhint %}

The block comes in two modes which are discussed below:

## Mode 1 <a href="#mode-1" id="mode-1"></a>

<div align="left"><figure><img src="https://3401585094-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmnBepgycwgisXr9ya1N4%2Fuploads%2FygaJgng3mIczUeKdbUwK%2Fimage.png?alt=media&#x26;token=1ea93733-af4d-4ba2-b97f-f1ff8f874dac" alt="" width="251"><figcaption><p>Get Content Mode 1</p></figcaption></figure></div>

The Mode 1 version of the Get Content block consists of the *Element* [selectable input](https://docs.zingy.ai/app-editor/block-anatomy#selectable-input) to choose the element you want to get the content of.

## Mode 2 <a href="#mode-2" id="mode-2"></a>

<div align="left"><figure><img src="https://3401585094-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmnBepgycwgisXr9ya1N4%2Fuploads%2FwxLcLO40tONPDIblL6Hv%2Fimage.png?alt=media&#x26;token=1e29c4e6-3b68-4c13-89c0-60709244eb0c" alt="" width="251"><figcaption><p>Get Content Mode 2</p></figcaption></figure></div>

The Mode 2 version of the Get Content block consists of the *Element* [value parameter](https://docs.zingy.ai/app-editor/block-anatomy#value-parameters) that accepts either a [*text*](https://docs.zingy.ai/app-editor/page-flow/references/value-types) value in the form of a [CSS Selector](https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Selectors) or an [*element*](https://docs.zingy.ai/app-editor/page-flow/references/value-types) value[.](https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Selectors) The Element block comes pre-attached for your convenience but can be removed and customized.
