Although buttons are about 5,000 years old, functional buttons with buttonholes for fastening clothes only appeared in the 13th century. For millennia, they had only been used ornamentally, or as seals.