HTML DOM normalize()Method
Definition and Usage
The normalize() method merges adjacent text nodes and removes empty text nodes.
Browser Support
![]()
![]()
![]()
![]()
![]()
All major browsers support the normalize() method
Syntax
node.normalize()
Parameters
None.
Return Value
No return value.
Technical Details
| DOM Version | Core Level 2 Node Object |
|---|
Other Extensions
Element Object