In Cuba during the 19th century it became known as habanera – the dance of Havana . The name, derived from the city of Havana, Cuba, was coined when European sailors introduced the dance to their home countries, where it became popular with composers, particularly in France and Spain.