Convert HTML into string