i. Across a period:
a. As we move across a period from left to right in the periodic table, the effective nuclear charge increases steadily.
b. Hence, due to the increase in effective nuclear charge, the tendency to attract shared electron pair in a covalent bond increases i.e., electronegativity increases from left to right across a period.
e. g. Li < Be < B < C < N < O
ii. Down a group:
a. As we move down the group from top to bottom in the periodic table, the size of the valence shell goes on increasing.
b. However, the effective nuclear charge decreases as the shielding effect of the core electrons increases due to the increase in the size of the atoms.
c. Thus, the tendency to attract shared electron pair in a covalent bond decreases, decreasing the electronegativity down the group.
e.g. F > Cl > Br > I > At.