The number of electrons present in the outermost shell of an atom is called valence electrons.
Elements with their atomic number, electronic configuration and number of valence electrons are given below:
ElementsAtomic numberElectronic configurationNumber of valence electronsHydrogen1(1)1Helium2(2)2Carbon6(2,4)4Oxygen8(2,6)6