Question: what is inner and outer html?
Answer: innerHTML is a property of a DOM element that represents the HTML inside the element, i.e. between the opening and closing tags. ... outerHTML is similar to innerHTML, it is an element property that includes the opening an closing tags as well as the content.