Does "Han" in Chinese, Chinese characters and Hanfu refer to Han nationality or Han dynasty?

Zhihu netizen Arjuna's answer (makes sense, isn't there Chu Jianghan boundary in chess? )

Han is a river called Hanshui.

There is a city next to Hanshui called Hanzhong, which is the capital of charm.

Liu bang was once enfeoffed by Xiang Yu and was in charge of this place, known as Hanwang in history.

Liu bang later forced Xiang Yu to death and became the national leader, the country name Han.

Since then, China people have been called Han people.

Chinese in a narrow sense only refers to Chinese, while Chinese in a broad sense is the abbreviation of China language, including languages of various ethnic groups in China, such as Russian and Korean. Some universities have two majors, one is Korean in the Foreign Languages Department and the other is Korean in the Chinese Department.