DOMParser
Widely available since 2018-09-21
The DOMParser
API parses XML or HTML source code from a string into a DOM Document.
Learning resources on MDN
Browser support
- Chrome 31 Released on 2013-11-12
- Chrome Android 31 Released on 2013-11-14
- Edge 12 Released on 2015-07-29
- Firefox 12 Released on 2012-04-24
- Firefox for Android 14 Released on 2012-06-26
- Safari 9.1 Released on 2016-03-21
- Safari on iOS 9.3 Released on 2016-03-21
Specifications
- HTML (#the-domparser-interface), from HTML Workstream (WHATWG).
View web-platform-tests results for this feature - View the feature source file - Edit the feature - Report an issue about this feature