information:highlighting, structural:reformatting, quality:correction
Geography

Taipei City is located in the Taipei Basin in northern Taiwan. It is bordered by the Xindian River on the south and the Tamsui River on the west. The generally low-lying terrain of the central areas on the western side of the municipality slopes upward to the south and east and especially to the north, where it reaches the 1,120 m (3,670 ft) -tall Qixing Mountain, the highest (dormant) volcano in Taiwan in Yangmingshan National Park. The northern districts of Shilin and Beitou extend north of the Keelung River and are bordered by Yangmingshan National Park. The Taipei city limits cover an area of 271.7997 km (104.9425 sq mi), ranking sixteenth of twenty-five among all counties and cities in Taiwan.

Two peaks, Qixing Mountain and Mt. Datun, rise to the northeast of the city. Qixing Mountain is located on the Tatun Volcanic Group; its 1,120 m (3,670 ft) -high main peak renders it the tallest mountain at the rim of the Taipei Basin; 1,092 m (3,583 ft) -high Mt. Datun is a close runner up. These former volcanoes make up the western section of Yangmingshan National Park, extending from Mt. Datun northward to Mt. Caigongkeng (菜公坑山). Located on a broad saddle between two mountains, the area also contains the marshy Datun Pond.

To the southeast of the city lie the Songshan Hills and the Qingshui Ravine, which form a barrier of lush woods.