II period elements have electronic configuration as 1s22s1-22p1-6
For ex
Li- 1s22s1
Be- 1s22s2
B- 1s22s22p1
Ne- 1s22s22p6
III period elements have electronic configuration as 1s22s22p63s1-23p1-6
For ex
Na- 1s22s22p63s1
Mg- 1s22s22p63s2
Al- 1s22s22p63s23p1
Ar- 1s22s22p63s23p6