Element: innerHTML property - Web APIs | MDN

The innerHTML property of the Element interface gets or sets the HTML or XML markup contained within the element.