In the late 16th or early 17th century Galileo is traditionally credited with a thermoscope, a glass bulb and tube in which the level of a liquid rose and fell as the air warmed or cooled.
It had no fixed scale, and sealed liquid thermometers with markings were developed in Florence in the 17th century.