The floor of the carpal tunnel is formed of bones called the carpal bones and the roof consists of a thick ligament.