In H2 both atoms pull equally, so the shared pair sits in the middle and neither end is charged. In HF, fluorine (3.98) pulls much harder than hydrogen (2.20), so the pair spends more of its time near fluorine. Fluorine's end carries a partial negative charge, δ−, and hydrogen's end a partial positive charge, δ+. The charges are only partial, a fraction of an electron's charge, because the pair is still shared.
The electronegativity difference, Δχ, sets how polar the bond is. C–H (Δχ=0.35) is nearly nonpolar; N–H (0.84) and O–H (1.24) are clearly polar. H–F (1.78) lies just above the usual 1.7 cutoff, yet HF is a covalent molecule, which shows that the cutoffs of 0.4 and 1.7 are guides on a continuous scale, not walls. A polar bond is drawn as a dipole arrow pointing toward the δ− end, with a small cross on the δ+ end.
A polar bond is not an ionic bond, and polar bonds do not always make a polar molecule. In NaCl (Δχ=2.23) the electron is effectively transferred and the ions carry full charges; in HCl the electrons are only shifted. In CO2 each C=O bond is polar, but the two dipoles point in opposite directions along a straight line and cancel, so the molecule is nonpolar. Water's two O–H dipoles point partly the same way because the molecule is bent, so water is polar.
Think of it like this. A polar covalent bond is like two people sharing one blanket on a cold night when one of them keeps tugging it their way: both are still under it, but one side is better covered. The tugger ends up slightly better off (δ−), the other slightly short (δ+). If one person took the whole blanket, that would be an ionic bond.
Core idea. When two bonded atoms differ in electronegativity, the shared electrons shift toward the stronger puller and create partial charges; the size of the difference sets how polar the bond is, and the molecule's shape decides whether the bond dipoles add up or cancel.