| [ Web Proxy ] |
| Viewing: https://developer.mozilla.org/zh-TW/docs/Web/API/DOMParser | [Back] [Original] |
Get to know MDN better
This feature is well established and works across many devices and browser versions. Its been available across browsers since 20157.
DOMParser XML HTML DOM Document
DOM XML HTML XMLSerializer
HTML Element.innerHTML outerHTML DOM HTML DOM DOM HTML
XMLHttpRequest URL XML HTML response Document
DOMParser() DOMParser
DOMParser.parseFromString() XMLSVG HTML
| Specification |
|---|
| HTML # dom-parsing-and-serialization |
This page was last modified on 2025527 by MDN contributors.
DOMParserAbortControllerAbortSignalAbstractRangeAttrCDATASectionCharacterDataCommentCustomEventDOMErrorDOMExceptionDOMImplementationDOMTokenListDocumentDocumentFragmentDocumentTypeElementEventEventTargetHTMLCollectionMutationObserverMutationRecordNamedNodeMapNodeNodeIteratorNodeListProcessingInstructionQuotaExceededErrorRangeShadowRootStaticRangeTextTreeWalkerXMLDocumentXPathEvaluatorXPathExpressionXPathResultXSLTProcessorYour blueprint for a better internet.
Portions of this content are 19982026 by individual mozilla.org contributors. Content available under a Creative Commons license.
| Web Proxy Viewer | New URL | Original Page |