This is quite similar to an expression that assigns a new value to the innerHTML property of an Element object. In this case, the new HTML leaves the existing HTML intact.
The relative positions where the adjacent HTML can be introduced determine where the new HTML is to be inserted. The following relative positions can be specified:
You cannot call this method while the document is loading.
MSIE version 4 for Macintosh does not support this as widely as the Windows version or later versions of MSIE for Macintosh.