Tech stocks drive stock market higher

The major U.S. stock market indexes posted gains Tuesday, boosted by the tech sector and erasing earlier losses.

The Dow Jones Industrial Average rose 113.99 points, or 0.44 percent, to 25,971.06. The S&P 500 climbed 10.76 points, closing at 2,887.89. The Nasdaq Composite was up 48.31 points, or 0.61 percent, at 7,972.47.

Tuesday’s afternoon advance was propelled by gains in Apple and Microsoft.

Ticker Security Last Change Change %
AAPL APPLE, INC. 156.81 -5.13 -3.17%
MSFT MICROSOFT CORP. 329.68 -8.23 -2.44%

Meanwhile, earlier pressure came following headlines that China will ask the World Trade Organization next week for permission to impose sanctions on the United States.

Ticker Security Last Change Change %
I:DJI DOW JONES AVERAGES 34899.34 -905.04 -2.53%
SP500 S&P 500 4594.62 -106.84 -2.27%
I:COMP NASDAQ COMPOSITE INDEX 15491.656804 -353.57 -2.23%

It is also the 17th anniversary of the 9/11 terror attacks.

Shares of airlines, home improvement centers and insurance companies were active as Hurricane Florence remains on track to make landfall near the Carolina coast later this week.

Commodities were mixed but oil was higher as Hurricane Florence moved toward the U.S. East Coast.

FOX Business' Ken Martin contributed to this article.