President Barack Obama was speaking to students in Shanghai
US President Barack Obama has told China that individual rights and freedoms should be available to all.
He told an audience of Chinese students that certain freedoms were universal - and not just limited to Americans.
Speaking at a question-and-answer session in Shanghai, Mr Obama added that China and the US were not predestined to be adversaries.
Later, he met Chinese President Hu Jintao for dinner in Beijing ahead of a summit on Tuesday.
Mr Obama's visit has received minimal coverage in the Chinese media, with his arrival in Beijing mentioned in a report 25 minutes into state TV's evening news programme.
The Shanghai meeting was not mentioned in the bulletin, although it was carried live on local Shanghai TV and streamed on two national internet portals.
Freedom of expression
In his speech at the Shanghai Science and Technology Museum, the US president praised China's efforts in lifting millions of people out of poverty, saying it was "unparalleled" in human history.
Chris Hogg, BBC News, Shanghai
The president was cautious and careful in his town hall meeting. He praised his hosts but, using the language of diplomacy, he also talked about rights and freedom.
The US ambassador to China read out an internet user's question about freedom of expression on the internet. The president's response? The US and China have "different traditions".
On the streets of the city we found many who were happy he was here. "His visit shows that China's influence is increasing," one woman told me. "The distance between our countries is getting shortened."
But the BBC's Michael Bristow in Beijing says Mr Obama also made comments that his hosts would have been less pleased to hear.
"We do not seek to impose any system of government on any other nation, but we also don't believe that the principles we stand for are unique to our nation," he said.
"These freedoms of expression and worship, of access to information and political participation - we believe are universal rights."
China is an authoritarian country in which there are no elections for the country's national leaders.
Media outlets and the internet are heavily censored, and those who speak out against the government are often imprisoned.
Mr Obama added: "They should be available to all people, including ethnic and religious minorities, whether they are in the United States, China or any nation."
No one can abuse China or treat China differently because our country has its dignity
After his main speech, he addressed the issue again in a question and answer session with Chinese students - many of whom spoke English.
Mr Obama said freedom of information - including open access to the internet - was important.
"That makes our democracy stronger because it forces me to hear opinions that I don't want to hear - it forces me to examine what I'm doing," he said.
He said the internet was a powerful tool to mobilise people and had helped him win the presidency last year.
The US president said there was no reason that the United States and China - a "majestic" country - should not co-operate.
"We have known setbacks and challenges over the last 30 years. Our relationship has not been without disagreement and difficulty. But the notion that we must be adversaries is not predestined," he said.
OBAMA ASIA TOUR
1. Friday 13: Arrived in Japan
2. Saturday 14: Joined Apec summit in Singapore
3. Sunday 15: Had talks with Russia's President Medvedev before leaving for China
4. Tuesday 17: Summit in Beijing with Chinese President Hu Jintao
This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.