# <cfscript>

Encloses a code segment containing cfscript.

This tag **must** have a body.

```
<cfscript
    language=string
><!--- body ---></cfscript>
```

# Attributes

| Attribute | Type | Required | Description | Default |
|-----------|------|----------|-------------|---------|
| language | string | No |  |  |

# Examples

### Simple example

```cfml
 saveTest = queryNew("id,Need","integer,varchar",
      {"id":1,"Need":"Save Water Safe Tree"});
  writeDump(saveTest);
```








# Categories

[Core CFML Language](../../categories/core.md)

# See Also

[Script Templates (.cfs)](../../recipes/script-templates.md), [Tag Islands](../../recipes/tag-islands.md), [Tag Syntax](../../recipes/tag-syntax.md)