A membrane keyboard has a rubber dome under each key, which is pressed down to complete a circuit. A mechanical keyboard has individual switches under each key that register key presses with greater accuracy and speed.