append and prepend methods deal only with HTML/XML fragments