Water and electricity are a dangerous combination, so it's generally not safe to allow water to get inside an electric stove top. Electric stove tops have electrical components and wiring that can be damaged by water, potentially leading to electrical malfunctions, short circuits, and even the risk of electrical shock.
If water accidentally spills on the surface of the stove top while it's off, you should make sure to wipe it dry before turning the stove on. However, if water manages to get inside the stove through cracks or other openings, you should immediately turn off the power supply to the stove at the circuit breaker and avoid using it until a qualified technician can inspect and repair it.
Always prioritize safety and take necessary precautions to keep water away from electrical appliances to prevent accidents and damage.