The radial wave functions of the generalise dWoods–Saxon (GWS) potential within the two-body model of (Core + n) have been used to study the ground-state density distributions of protons, neutrons and matter and the associated root mean square (rms) radii of neutron-rich 14B, 22N, 23O and 24F halo nuclei. The calculated results show that the radial wave functions of the generalised Woods–Saxon potential within the two-body model succeed in reproducing neutron halo in these exotic nuclei. Elastic electron scattering form factors for these nuclei are studied by combining the charge density distributions with the plane-wave Born approximation (PWBA).