dom for svg and html