first across a period, elements become less metallic.
electronegativity is the tendency of an element to attract towards itself a shared pair of electron across a covalent bond. across a period, electronegativity increases. therefore, non metals are more electronegative. In fact, this is because, in the same period, non metals have larger proton numbers(i.e. positive charge), they will have the tendency to attract the negative electrons.
ionization energy is the loss of an electron from an atom to form a positive ion. energy is required to remove that electron, because the nucleus is attracting it.
across a period, ionisation energy increases, more energy is required. This is because, across the period, the proton number increases, the nucleus becomes more positive, and attracts that electron to be removed to a larger extent.
this is why non metals, which are found at the end of a period, do not lose electrons, but instead accept electrons. To accept electrons requires less energy for non metals. Metals can lose electrons since they have low ionisation energy.
hope i helped you....
now think of wat happens down a group, where metallic character increases.