A hammer-on is a playing technique performed by sharply bringing a fretting-hand finger down on to the fingerboard behind a fret, causing a note to sound. This technique is the opposite of the pull-off.
A rapid series of alternating hammer-ons and pull-offs between a single pair of notes is called a trill.