Does the dad or the mom carry the height gene for a daughter?

Both contribute. The projected height of a female is the average of moms height+ dads height less 5 inches. Both contribute genetic material that influence the final height. Health, diet and activities also contribute to or detract from growth.