The nonmetals, as s class of elements contains both solids and gases at room temperature.
Some gases classed as nonmetals are : hydrogen, helium, oxygen, nitrogen, fluorine, neon, or radon and many others. An example of a solid that is a nonmetal is sulfur.