html <-- $root '-- body +-- h2 +-- a <-- $new_parent | '-- img <-- $img +-- img '-- img