## Node.NodeValue property

Returns or sets the value of the current node.

```csharp
public virtual string NodeValue { get; set; }
```

### Property Value

A string containing the value of the current node, if any. For the document itself, `NodeValue` returns null. For text, comment, and CDATA nodes, `NodeValue` returns the content of the node. For attribute nodes, the value of the attribute is returned.

## Remarks

Reference:

[DOM Standard](https://dom.spec.whatwg.org/#dom-node-nodevalue).

### See Also

* class [Node](../)
* namespace [Aspose.Html.Dom](../../../aspose.html.dom/)
* assembly [Aspose.HTML](../../../)
