Stocks rose on Friday, capping off a strong start to the new year, as Wall Street shook off jobs data that missed expectations.

The Dow Jones industrial average advanced 220.74 points to close at 25,295.87. The climbed 0.7 percent and finished at 2,743.15, with tech stocks rising 1.2 percent. The Nasdaq composite gained 0.8 percent to 7,136.56 as Alphabet and Amazon shares hit record highs. The major indexes also reached all-time highs.

The Dow and Nasdaq enjoyed their best start to a year since 2006, notching their biggest four-day gain to kick off a year since then.

"Valuations long term are stretched but people are looking past that because of the tax cuts," said John Serrapere, director of research at Arrow Funds. President Donald Trump signed a bill last month that slashed the corporate tax rate to 21 percent from 35 percent.

The U.S. economy added 148,000 jobs in December, according to the Labor Department. Economists polled by Reuters expected a gain of 190,000.

"I think the net-net effect in the market is neutral," said Randy Frederick, vice president of trading and derivatives at Charles Schwab. "Yes, the numbers were a bit disappointing, but not so much that they change Fed policy, for example."

"December and January are also notorious months for being off the mark," Frederick said.

U.S. stock index futures initially pared gains after the data were released, but quickly recovered. Dow futures briefly traded 100 points higher.

The report "keeps inflationary pressures at bay for now, and the Fed less pressured to move beyond the already discounted three rate hikes for 2018," said Quincy Krosby, chief market strategist at Prudential Financial.

Other data released Friday include the non-manufacturing ISM index, which fell to 55.9 in December from 57.4 in November. Factory orders, meanwhile, rose 1.3 percent in November, exceeding expectations.

U.S. equities kicked off 2018 with a bang. The Dow, S&P and Nasdaq rose 2.3 percent, 2.6 percent and 3.4 percent, respectively, this week. The S&P 500 and the Nasdaq also had their biggest weekly gains since December 2016.

They have also notched key milestones this week. The Dow closed above 25,000 for the first time on Thursday. It took the Dow just 23 trading days to rally from 24,000 to 25,000, marking the fastest 1,000 point move in the index's history. The move is also tied for the fastest ever in terms of calendar days at 35.

The S&P 500 and Nasdaq finished above 2,700 and 7,000, respectively, for the first time ever earlier in the week.

Overseas, international markets posted solid gains on the last trading day of the week, as investors shrugged off concerns surrounding geopolitical tensions between North Korea and the West, and focused on the positive momentum seen in markets.

Ths Stoxx 600, which tracks a wide swath of European stocks, rose 0.9 percent. In Asia, the Nikkei 225 jumped 0.9 percent, while the Shanghai composite gained 0.2 percent.

In corporate news, shares of Target and Lowe's rose 0.4 percent and 1.6 percent, respectively, after being upgraded at Barclays. Analysts cited a stimulus to retailers from the recent tax code overhaul and "improved flexibility to make necessary investments without negatively impacting EPS results."

Cisco shares climbed 1.4 percent, hitting their highest level in nearly 17 years, after Bank of America Merrill Lynch upgraded them to buy from neutral. "The company is in the early stages of a positive transition to software," analyst Tal Liani said. Liani also noted Cisco has strong free cash flow and a low valuation compared with its competitors.

Google-parent Alphabet rose 1.3 percent and hit a record high of $1,113.58. Amazon climbed 1.6 percent and reached an all-time high of $1,229.14.