---
title: CharacterData.data
slug: Web/API/CharacterData/data
tags:
  - API
  - DOM
  - Method
  - Node
  - Reference
  - CharacterData
browser-compat: api.CharacterData.data
---
{{APIRef("DOM")}}

The `data` property of the {{domxref("CharacterData")}}
interface returns or sets the value of the current `CharacterData`
Node's data.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
