There should be background node if you edit the world material (has its own dropdown) rather than regular materials.
For which renderer? If you want black in Cycles, you only need to change the Ray Visibility under world settings tab. Eevee doesn’t respect this for whatever reason (shading has scene lights and scene world turned on), and you have to do it as mentioned above, except you don’t have to plug anything into the second slot.