The photo shows them taped together but it is unknown whether or not they are a connection between the black and the white wires have you taken the black electrical tape off to see if the wires have been stripped of insulation and connected together or if the insulation was left on and they were just taped together. A black connected to a group of whites is not normal and probably should be connected to the other blacks.
Electrical Basics Wiring A Basic Single Pole Light Switch
Black and white wires connected together. After modifying the receptacle to split the outlets make the following wire connections. It is normal to have a white connected to a group of blacks if a switch loop is used. Its possible to link two red wires together or a red wire to a black wire. A black pigtail is hot a white pigtail is neutral and a green or bare copper. Like black wires they can also be used in some types of switch legs. Blue and yellow electrical wires.
In 220 volt circuits red wires are the secondary live wires. Normally the pigtail will be a wire with the same color coding as the circuit wires. The two white wires are connected together in the back of the box. Attach the black wire to the outlet you want to always be on usually the top one and the red wire to the switched outlet. The two black wires are the ones that get attached to the switch. Crimp the bare ground wires together with a.
In addition red wires are used to connect hardwired smoke detectors to the homes power system. Connect the white wire to either of the chrome screws remember they are still joined and the ground wire to the green ground screw. With a switch you interrupt the hot black wire and tie it to the. You need to determine which set of wires goes to the switch. It is part of a switch loop. Favorite answer yes its ok that you have a white and black tied together but the white wire should be marked as black or hot.
A single black and white connected together is normal. These are the neutrals from the supply to the light fixture. Splice the white wires together by twisting the ends together clockwise using pliers. To connect the receptacle with pigtails each of the black white and ground wires in the two cables in the box are joined together with a short length of wire called a pigtail. Screw on a wire cap to hold them together and insulate the ends.