The black wire will be your hot wire and your whites are neutral depending on your switch setup you can wire nut the blacks together with an extra piece of wire coming from the wire nut to connect the hot to the light as well as the same method with your white wires. The white wire is called the neutral wire.

What Do Solid Striped Lines On A Wire Indicate Electrical
Which wire is hot black or white. The neutral wire can also be gray. A single pole single throw switch such as a light switch. In other jurisdictions only a few conductor colors are so codified. It provides the return path for the current provided by the hot wire. Place the prong of the multimeters black wire on the bare metal on the end of a white wire then read the meter. The neutral wire is connected to an earth ground.
The smaller prong is hot and the larger one is neutral. The hot wire in a 120 volt residential ac circuit usually is coated with black insulation while the return or neutral wire is white. The black wire is the hot wire which provides a 120 vac current source. Power flows from the box to the outlet through the black wire and back to the box through the white one. Typically this is indicated with a band of black or red electrical tape but other colors may be used wrapped around the wires insulation. Neutral common or return.
The black wire is hot. The white wire goes by many names that all mean the same thing. In that case local custom dictates the. Step 5 repeat the test on the other black wire to test if its hot. White wires with black or red tape. In alternating current the black wire is hot the white wire is neutral and green or bare wire is ground.
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. Wiring for ac and dc power distribution branch circuits are color coded for identification of individual wires. The reason ungrounded plugs such as a toaster have one prong larger than the other is to ensure the hot wire is tapped correctly. If you dont the black wire isnt hot. If you get a reading the black wire is hot. In some jurisdictions all wire colors are specified in legal documents.