The Nasdaq composite index closed at a record Wednesday, after the biggest drop for U.S. stocks in three weeks, as technology shares rebounded and investors watched for progress in talks on Greece.

advertisement | advertise on newsday

At the close on Wall Street, The Nasdaq was up 73.8 points, about 1.5 percent, at 5,106.59, topping its previous closing record set on April 24, as semiconductors jumped the most in two months and Apple rallied. The Standard & Poor's 500 index gained 19.3 points, nearly 1 percent, to 2,123.5, nearly erasing the losses from the previous day. The Dow Jones industrial average closed up 129.5 points, about 0.7 percent, at nearly 18,163.

As the markets closed, the price of benchmark U.S. crude was down about 42 cents at $57.61 per barrel on the New York Mercantile Exchange.