"semi-solid substance," 1899, as a chemical term, short for gelatin and perhaps influenced by jell. The invention of this word is credited to Scottish chemist Thomas Graham (1805-1869). Hair-styling sense is from 1958.