Rocker switch works the same way as a toggle switch, where there is a lever that can be pressed up and down. Lever of the rocker switches are usually called to rocker lever, shaped like an electric bell button.
Generally there are two numbers on the rocker lever, numbers 1 and 0. When the lever is pressed on number 1, indicating that the switch in the On position, and when the lever is pressed on number 0, indicating a switch in the Off position.
Examples of rocker switch as shown below
Slide switches are used for similar purposes to the use of toggle switches, but the slide switch is operated by using a sliding knob.
Examples of slide switches as shown in the picture below