In electronics, a diode is a two-terminal electronic component that conducts primarily in one direction
All "light emitting diodes" have mark on them to indicate the poles.
On the leds with leads, longer one is positive.
Most of smd leds have visible marks, like this to show right direction.
