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
document.normalize()
Parameters
None |
Technical Details
Return Value: | No return value |
---|---|
DOM Version | Core Level 2 Document Object |
Related Pages
HTML DOM Reference: node.normalize()