Id should be unique. That is, an id should apply to only one elementwithin a page. Lots of elements can share the same "name" however.This is why the DOM gives you "getElementById(SomeId)" to return asingle element, and "getElementsByName(SomeName)" to return acollection of elements.