Alleles are passed from parent to offspring and are either dominant or recessive. Dominant alleles are always expressed with a capital letter, for example D. Recessive alleles are always expressed with a lower case letter, for example d.
Remember we are talking about genotypes, or the actual genetic makeup of an individual and which alleles they inherited. When we talk about the trait this is the phenotype or appearance of certain genetically determined traits. The alleles an individual inherits for a specific trait determines the phenotype.