How to avoid getting slapped with last-second fees when renting on vacation

Have you ever found a great deal on a hotel room or vacation rental only to have fees and taxes drive up the price right at the end of checkout? There are ways to avoid or lower those fees, or at least be aware when they might hit.