prints selected part of html