U.S. stocks extended gains on Monday, boosted by economic data and a deal to bail out Greece, while the technology-heavy Nasdaq rose more than 1 percent.

Apple Inc rose 2.1 percent to $266.45 after it said it sold 1 million iPads in the product's first 28 days on the market. Also lifting the tech sector, the PHLX semiconductor index <.SOXX> added 2.3 percent.

The Dow Jones industrial average <.DJI> added 96.21 points, or 0.87 percent, to 11,104.82. The Standard & Poor's 500 Index <.SPX> gained 9.75 points, or 0.82 percent, to 1,196.44. The Nasdaq Composite Index <.IXIC> rose 27.43 points, or 1.11 percent, to 2,488.62.