Easy Tutorial
❮ Prop Style Flexgrow Prop Nav Geolocation ❯

HTML DOM normalize() Method

Document Object

Example

Normalize a document:


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

Parameters

None.

Return Value

No return value.

Technical Details

| DOM Version | Core Level 2 Node Object | | --- | --- |


Document Object

❮ Prop Style Flexgrow Prop Nav Geolocation ❯