Yes, because your LED is connected between +5V and the output pin.
When the pin is HIGH, no current (very little) can flow because the pin is at the same (very nearly) potential as the supply
Yes, because your LED is connected between +5V and the output pin.
When the pin is HIGH, no current (very little) can flow because the pin is at the same (very nearly) potential as the supply