Check out the htmlget.d
sample that comes with your D compiler. You can see it online here.
You can find detailed documentation for the relevant standard library functions on the D website.
However, if you only need to access HTTP, it would be much simpler to use std.net.curl:
import std.net.curl;
string html = get("dlang.org");