X
HOME HTML5 CSS3 JAVASCRIPT SQL PHP5 JQUERY ANGULAR BOOTSTRAP3 XML MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

HTML DOM normalizeDocument() Method

Document Object Reference Document Object

Example

Normalize an entire document:

document.normalizeDocument();


Definition and Usage

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

This method is not supported in any browser, but should work similar to the normalize() method.


Browser Support

Method
normalizeDocument() Not supported Not supported Not supported Not supported Not supported


Syntax

document.normalizeDocument()

Parameters

None

Technical Details

Return Value: No return value
DOM Version Core Level 3 Document Object


Related Pages

HTML DOM Reference: document.normalize()

HTML DOM Reference: node.normalize()


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 HOSTING

UK Reseller Hosting

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE

facebook