A Non-metal has property to accept electron easily and form Anion, this property is called electronegative character. Word Anion is used for negative ions because Negative ions move towards anode during electrolysis, so they are termed as anions. The number of negative charges on anion shows the excess number of electrons as compared to number of protons.
Trend of Electronegativity
Electronegative character increases across the period because atomic size decreases and nuclear charge density increases. It decreases down the group due to increasing atomic size. Halogens accept electrons easily due to their high electronegative character.