insertAdjacentHtml method

Parses text as an HTML fragment and inserts it into the DOM at the specified location.

void insertAdjacentHtml(
String where,
String html,
{NodeValidator validator,
NodeTreeSanitizer treeSanitizer}
)

Parses text as an HTML fragment and inserts it into the DOM at the specified location.

The where parameter indicates where to insert the HTML fragment:

See also: