VOOZH about

URL: https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation

⇱ DOMImplementation - Web APIs | MDN


DOMImplementation

The DOMImplementation interface represents an object providing methods which are not dependent on any particular document. Such an object is returned by the Document.implementation property.

Property

This interface has no specific property and doesn't inherit any.

Instance methods

No inherited method.

DOMImplementation.createDocument()

Creates and returns an XMLDocument.

DOMImplementation.createDocumentType()

Creates and returns a DocumentType.

DOMImplementation.createHTMLDocument()

Creates and returns an HTML Document.

DOMImplementation.hasFeature()

Returns a boolean value indicating if a given feature is supported or not. This function is unreliable and kept for compatibility purpose alone: except for SVG-related queries, it always returns true. Old browsers are very inconsistent in their behavior.

Specifications

Specification
DOM
# interface-domimplementation

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.