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.
If no element was parsable, the return is null.
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. If no element was parsable, the return is
null.