Chemical elements lacking the typical metal properties are classed as nonmetals. A few elements, known as metalloids, sometimes behave like a metal and at other times like a nonmetal. Some examples of metalloids are as follows: carbon, phosphorus, silicon, and sulfur.