The command element provides a place to organize functionality used in more than one place in the interface -- from a context menu, a keyboard shortcut, and a regular menu, for example. The element is identified and shared by using its ID value and an interested element's (i.e., a menu that wants the command) observes attribute. It also typically calls a JavaScript command from its oncommand event handler.