Etymology
Today it means: A string that fastens a hat on the wearer's head. Full definition →
From hat + string.
Etymology from Wiktionary, CC BY-SA 4.0.