Join us online - 19th of November
Save your spot
For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Variable Document

Document: {
    prototype: Document;
    parseHTMLUnsafe(html: string): Document;
    new (): Document;
}

Type Declaration

  • prototype: Document
  • parseHTMLUnsafe: function
    • The parseHTMLUnsafe() static method of the Document object is used to parse HTML input, optionally filtering unwanted HTML elements and attributes, in order to create a new Document instance.

      MDN Reference

      Parameters

      • html: string

      Returns Document

Was this helpful?