HTML DOM normalize() Method
Definition and Usage
The normalize() method removes empty Text nodes, and joins adjacent Text nodes.
Browser Support
Method | |||||
---|---|---|---|---|---|
normalize() | Yes | Yes | Yes | Yes | Yes |
Syntax
node.normalize()
Parameters
None |
Technical Details
Return Value: | No return value |
---|---|
DOM Version | Core Level 2 Node Object |
Related Pages
HTML DOM Reference: document.normalize()