To name ionic compounds, the name of the metal is written followed by the nonmetal with the suffix -ide. For transition metals, the oxidation state of the metal ion is indicated in Roman numerals in parentheses. To name compounds containing polyatomic ions, the name of the metal is written followed by the name of the polyatomic ion. For covalent compounds, the least electronegative element is named first along with a prefix to indicate the number of atoms, then the most electronegative element followed by a suffix of -ide and a prefix to indicate its number of atoms.