# <cfassociate>

Allows subtag data to be saved with the base tag.

Applies only to custom tags.

This tag **cannot** have a body.
This tag is also supported within [<cfscript>](script.md)

```
<cfassociate
    baseTag=string
    dataCollection=string
>
```

# Attributes

| Attribute | Type | Required | Description | Default |
|-----------|------|----------|-------------|---------|
| baseTag | string | Yes | The name of the base tag. |  |
| dataCollection | string | No | The name of the structure in which the base tag stores subtag data. |  |

# Examples

*There are currently no examples for this tag.*






