I want to insert some unknown HTML (contentToInsert) and remove it later at some point. If I use insertAdjacentHTML, I cannot later say because this does not have id or classname. I cannot wrap it like this (so I have reference to it later): Basically I want to remove it later at some point but dont know how to select