The white wire is always neutral and when the cable has only two conductors as most 120 volt cables do the hot wire is black. In the most basic 110 volt electrical setup youll find two wires.

Wiring A Control With 1 Black Wires One Yellow Wire And One White Wire Single Pole Application
Black and white wires. Typically this is indicated with a band of black or red electrical tape but other colors may be used wrapped around the wires insulation. According to standards in use since the mid 1900s a wire color code identifies the purpose of each wire in an electrical circuit. The neutral wire can also be gray. Switch says common wire. In oil burner relay switches you have a black and white wire. The ground wire is usually left bare but in some cases the ground wire color is green.
The orange is the motor the violet is the ignition etc. If there is a green wire its screwed into the junction box. White wires with black or red tape. Hot when a white wire is augmented with a red or black color marking this often indicates that it is being used as a hot wire rather than a neutral wire. The black wire is hot. When installing a.
You connect the black wires in the electrical box to the switch terminals and the white wires to each other. Red or orange can also be used as a second switched power wire in a 120 volt application. The white wire goes by many names that all mean the same thing. In that wiring scheme assume the black and re marked white wires are live. Neutral common or return. There are no color codes in his 77 years of wiring 200 year old houses.
The switch also has a green terminal for the ground wires which usually are bare. Sometimes youll find a white wire with a piece of black electrical tape wrapped around it. Is that white or black wire. Power flows from the box to the outlet through the black wire and back to the box through the white one. Stack exchange network consists of 177 qa communities including stack overflow the largest most trusted online community for developers to learn share their knowledge and build their careers.