deactivate onclick event div code example Example: disable onclick pointer-events: none; cursor: default;