Stocks closed little changed Tuesday with the Dow Jones industrial average setting a record for a second day and the Standard & Poor's 500 index slipping from its record.

At the close on Wall Street, the Dow was up 13.5 points, about 0.07 percent, at 18,312.3. The Standard & Poor's 500 slipped 1.4 points, about 0.06 percent, to 2,127.8. The Nasdaq composite dropped 8.4 points, about 0.2 percent, to 5,070.

advertisement | advertise on newsday

As the markets closed, the benchmark U.S. crude was trading around $58.08 a barrel, down $2.13, on the New York Mercantile Exchange.

Walmart Stores Inc. slumped 4.4 percent after quarterly results missed estimates, while Urban Outfitters Inc. tumbled 15 percent after profit and sales were short of analysts' projections. Energy shares slid with oil prices. Yahoo! Inc. fell 7.6 percent, leading technology shares lower.

A report from the U.S. Commerce Department released Tuesday showed new residential construction surged in April to the highest level since November 2007, while more permits, a proxy for future construction, were issued than at any time since June 2008.