Yemen is a transcontinental country .
Although mainland Yemen is in the southern Arabian Peninsula and thus part of Asia , and its Hanish Islands and Perim in the Red Sea are associated with Asia , the archipelago of Socotra , which lies east of the horn of Somalia and is much closer to Africa than to Asia , is part of Africa ,