Stocks are closing at all-time highs on Wall Street as the market resumed its climb after a holiday break.

The gains Tuesday were led by high-dividend companies like real estate and utility companies.

advertisement | advertise on newsday

Kraft Heinz fell 1.8 percent after withdrawing its offer to buy Unilever. Investors were hoping Kraft might buy another food or consumer products company.

J.M. Smucker gained 4.4 percent and Oreo maker Mondelez climbed 5.8 percent.

The Standard & Poor’s 500 index rose 14 points, or 0.6 percent, to 2,365.

The Dow Jones industrial average gained 118 points, or 0.6 percent, to 20,743. The Nasdaq composite rose 27 points, or 0.5 percent, to 5,865.

Bond prices fell. The yield on the 10-year Treasury note edged up to 2.43 percent