Does cordless kettle mean that the heating element is not in cotact with water?

No, the cordless kettle's name refers to the fact that the kettle itself is not tethered to a power cord while boiling water. The heating element is still in contact with the water inside the kettle and is what heats the water to boiling. When the water reaches the desired temperature, the kettle automatically switches off, preventing any unnecessary boiling or energy waste.