#JavaScript [[DOMParser]]の`parseFromString`を使う。 ```js new DOMParser().parseFromString(htmlStr, "text/html") ```