Get to know MDN better
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
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.
This interface has no specific property and doesn't inherit any.
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.
| DOM # interface-domimplementation |
Enable JavaScript to view this browser compatibility table.
This page was last modified on Feb 20, 2023 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.