render html and svg with width and height