China said there was "no room" for compromise or concessions over the issue of Taiwan, following a comment by US president Joe Biden that America was committed to defending the island if it was attacked.

Foreign ministry spokesperson Wang Wenbin reasserted China's longstanding claim that the island was its territory at a daily briefing after Mr Biden made his comment on Thursday at a forum hosted by CNN.

China has recently upped its threat to bring Taiwan under its control by force if necessary by flying warplanes near the island and rehearsing beach landings.

"When it comes to issues related to China's sovereignty and territorial integrity and other core interests, there is no room for China to compromise or make concessions, and no-one should underestimate the strong determination, firm will and strong ability of the Chinese people to defend national sovereignty and territorial integrity," Mr Wang said.

"Taiwan is an inalienable part of China's territory. The Taiwan issue is purely an internal affair of China that allows no foreign intervention," he added.

Mr Biden's comments were viewed as stretching the "strategic ambiguity" Washington has maintained over how it would respond to an assault on the self-governing island republic.

The US should "be cautious with its words and actions on the Taiwan issue, and not send any wrong signals to the separatist forces of Taiwan independence, so as not to seriously damage China-US relations and peace and stability in the Taiwan Strait," Mr Wang said.

In his comments, Mr Biden said the US did not want a new Cold War but expressed concern about whether China was "going to engage in activities that will put them in a position where they may make a serious mistake".

"I just want to make China understand that we are not going to step back, we are not going to change any of our views," the US president said.

Asked whether the US would come to Taiwan's defence if it were attacked, he replied: "Yes, we have a commitment to do that."

In Taipei, a spokesperson for independence-minded President Tsai Ing-wen said the US had shown its support for Taiwan through concrete actions and the island's 23 million citizens would not surrender to pressure or act rashly.

"Taiwan will demonstrate our firm determination to defend ourselves and continue to work with countries with similar values to make a positive contribution toward the Taiwan Strait and Indo-Pacific region's peace and stability," spokesperson Chang Tun-han said.

China and Taiwan split during a civil war in 1949. The US cut formal diplomatic relations with Taipei in 1979 in order to recognise Beijing. The US does not openly contest China's claim to Taiwan, but is committed by law to ensure the island can defend itself and to treat all threats towards it as matters of "grave concern".

Under President Xi Jinping, who is also Communist Party leader and head of the armed forces, China has been stepping up military, diplomatic and economic pressure on Taiwan. Over its National Day weekend at the beginning of the month, China sent a record 149 military aircraft southwest of Taiwan in strike group formations, prompting Taiwan to scramble aircraft and activate its air defence missile systems.

China has also recently held beach-landing exercises on its side of the roughly 100-mile-wide (160km) Taiwan Strait that, like the aircraft incursions, it described as a warning to the Taiwanese administration.

The US has reinforced its support for Taiwan with military sales. State department spokesman Ned Price said this month that American support for Taiwan was "rock solid".

The US had "also been very clear that we are committed to deepening our ties with Taiwan", Mr Price added.

Speaking on Wednesday, Mr Biden's pick for ambassador to Beijing, Nicholas Burns, told politicians considering his nomination that Americans should "have confidence in our strength" when dealing with the rise of China, a nation he said the US and its allies could manage.

Mr Burns echoed the Biden administration's stand on co-operating with China where possible but condemning many of its actions, including its policies toward Taiwan and the semi-autonomous territory of Hong Kong, where it has virtually eliminated dissident voices through stiff legislation and arrests.