Medically speaking, those little white marks that sometimes appear as dots or lines on the fingernail are known as leukonychia. There are several possible causes for the discoloration, but the most common are mild trauma, a fungal infection, skin conditions, or nutritional deficiencies.