In X-linked inheritance, the gene for albinism is located on an X chromosome. Females have two X chromosomes, while males have one X chromosome and one Y chromosome. X-linked ocular albinism appears almost exclusively in males.