Electronegativity is the tendency of atom in a compound to attract shared pair of electron towards itself.
In a period electronegativity increases from left to right and in a group electronegativity decreases from top to bottom.
The most electronegative element in the periodic table is F.