DNA hairpin binding
Binding to a DNA region containing a hairpin. A hairpin structure forms when a DNA strand folds back on itself and intrachain base pairing occurs between inverted repeat sequences.
GO:0032448 · molecular function · an activity a gene product carries out, not a process it takes part in