Moseley gave the Modern Periodic Law which states that: Physical and chemical properties of the elements are the periodic function of their atomic numbers.
Atomic mass of an element is due to the mass of protons and neutrons present in the nucleus of its atom.