Selenium

I've seen various different periodic tables that call selenium a nonmetal and a semimetal. Which one is correct?