An element is made up of only one kind of atom.
So H2 is the element. Why? because H2 is made up of only one kind of atom, hydrogen atoms.
- Just as a side note, compounds (made up of atoms from more than one element) are also considered pure substances.