Parse an HTML string, returning a processed HTMLElement or HTMLCollection.
A single HTMLElement is returned if the provided string contains only a single top-level element.
An HTMLCollection is returned if the provided string contains multiple top-level elements.
Parse an HTML string, returning a processed HTMLElement or HTMLCollection. A single HTMLElement is returned if the provided string contains only a single top-level element. An HTMLCollection is returned if the provided string contains multiple top-level elements.