HTML DOM Document normalize()
Definition and Usage
The normalize()
method removes empty text nodes, and joins adjacent text nodes.
See Also:
Syntax
document.normalize()
Parameters
NONE |
Return Value
NONE |
Browser Support
document.normalize()
is a DOM Level 2 (2001) feature.
It is fully supported in all browsers:
Chrome | IE | Edge | Firefox | Safari | Opera |
Yes | 9-11 | Yes | Yes | Yes | Yes |