The Left 4 Dead demo was distributed through Steam.
Install the Steam client from store.steampowered.com, then search the store for Left 4 Dead. When a demo is available it appears as a separate download entry on the game's store page, distinct from the full title.
One caveat: demo availability comes and goes. Valve has rotated demos in and out of the store over the years, so if there is no demo listed, the full game is frequently discounted in seasonal sales — often for less than the price of a new retail release.