HTML DOM normalizeDocument () method
Examples
An entity document specification:
document.normalizeDocument();
Definition and Usage
normalizeDocument () method can remove empty text nodes, and merge adjacent nodes.
There is no major browsers support normalizeDocument () method, but you can use a similar method normalize () method.
Browser Support
Currently there is no way the major browsers support normalizeDocument ()
grammar
document.normalizeDocument()
parameter
None.
return value
No return value.
technical details
DOM version | Core Level 3 |
---|