Milia are firm, white, superficial keratin cysts, whereas Fordyce spots are smaller, yellowish papules representing ectopic sebaceous glands.
These are benign sweat duct tumors, typically skin-colored or slightly yellowish, flat-topped papules found around the eyes, a different location and origin.
A small flat wart is a rough-surfaced papule caused by HPV, unlike the smooth, yellowish papules of Fordyce spots.