Return only the selected part of html