HTML DOM normalizeDocument() method
Example
Normalize an entity document:
document.normalizeDocument();
Definition and Usage
The normalizeDocument() method can remove empty text nodes and merge adjacent nodes.
Currently no major browser supports the normalizeDocument() method, but a similar method can be used normalize() method.
Browser support





Currently no major browser supports the normalizeDocument() method
Syntax
document.normalizeDocument()
Parameters
None.
Return Value
No value is returned.
Technical Details
| DOM version | Core Level 3 |
|---|
Document Object