---
title: "Behavior"
description: "Learn about implementing behaviors on nodes and binding them to policies with our detailed guide. (Gitana 4.0)"
product: "Gitana"
version: "4.0"
url: "/documentation/gitana/4.0/engine/aspects/behavior"
---

# Behavior

QName: `f:behavior`

This feature indicates that a node provides the implementation of a behavior. This feature simply tags the node as a behavior implementation.  
  
The node must be a script or a rule.  
  
To bind a behavior to a policy on a content node or type, create an association that has the [f:behavior-binding](/documentation/gitana/4.0/engine/aspects/behavior-binding.md) feature and points to the behavior node. For more information, see [Rules](/documentation/gitana/4.0/engine/behaviors/rules.md) and [Node Policies](/documentation/gitana/4.0/engine/behaviors/policies/node.md).

## Configuration

This feature does not require configuration.

## Behavior Example

```
{
    "title": "My JavaScript file",
    "_features": {
        "f:behavior": {
        }
    }
}
```
