Touch is longer and tap is quick click and release.
Try it here. You can use both mouse or finger.
- Touch/click on the left box and hold = than after 1 second release, it will count the touch
- Touch/click on the right box and hold = than after 1 second release, it will not count the touch (to make it count, you have to tap and release quickly)