The function of Hox genes was first demonstrated in plants in the latter part of the 19th century when mutations caused stamens to grow in the place of petals in some flowering plants observed by William Bateson. He described the phenomenon in his book Materials for the Study of Variation. "The case of the modification of the antenna of the insect into a foot, of the eye of a crustacean into an antenna, or a petal into a stamen, and the like, are examples of the same kind."
In the 1940s Edward Lewis was working with the biologist's favourite friend - the fruit fly Drosophila melanogaster - and he demonstrated that mutations in the Antennapedia hox gene causes legs to develop on the head of a fly in the place of the antenna.
That Hox genes are highly conserved across different animal species has been demonstrated by the fact that a fly can function normally with the homeotic selector protein of a chicken (Lutz, B et al (1996). Rescue of Drosophila labial null mutant by the chicken ortholog Hoxb-1 demonstrates that the function of Hox genes is phylogenetically conserved. Genes and Development 10: 176-184).
Hox genes are classified differently in different phyla; humans typically contain four clusters of Hox genes; Hox a, Hox b, Hox c, and Hox d.