X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY ANGULAR BOOTSTRAP XML ASP.NET 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

Internet Explorer Firefox Opera Google Chrome Safari

The normalizeDocument() method is not supported in any of the major browsers.


Syntax

document.normalizeDocument()

Parameters

None.

Return Value

No return value.

Technical Details

DOM Version Core Level 3


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