Basically the 18k limit is for contributions to all 401k accounts combined, per year per person.
So as the previous posters implied, you choose between traditional 401k where you pay tax later but not now, and Roth 401k where you pay tax now but not later.