# HTML

Rarely, we may want to get the content of an element as html.

{% code title="HTML" %}

```markup
<div class="parent">
  <div class="blue">Blue Text</div>
</div>

```

{% endcode %}

{% code title="Config" %}

```javascript
{
    "parentHTML": {
        "selector": ".parent",
        "html": true
    } 
}

// or use this shortcut

{
    "parentHTML": ".parent | html"
}
```

{% endcode %}

{% code title="Output" %}

```javascript
{
    "parentHTML": "<div class=\"blue\">Blue Text</div>" 
}
```

{% endcode %}
