Element: innerHTML property - Web APIs | MDN

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