Etymology
Today it means: The space between the top of the contents of a container (such as a jar) and its seal (such as a lid). Full definition →
From head + space.
Etymology from Wiktionary, CC BY-SA 4.0.