X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

HTML DOM normalize() Method

Document Object Reference Document Object

Example

normalize a document:

document.normalize();

Try it yourself »


Definition and Usage

The normalize() method removes empty Text nodes, and joins adjacent Text nodes.


Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The normalize() method is supported in all major browsers.


Syntax

node.normalize()

Parameters

None.

Return Value

No return value.

Technical Details

DOM Version Core Level 2 Node Object


Document Object Reference Document Object


Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates FREE Website Templates Free HTML Templates

SHARE THIS PAGE

facebook