Considering that you don't want any graphical interface, but simply try to interrogate an http server and get the answer first of all you have to learn the http protocol
RFC2616[
^] and try to issue a 'GET' to retrieve the an answer. You can use what you learned on sockets to build the interrogation.
Then if you want to go alittle bit forward and try to graphically show some pages there are many samples on the net coded in whatever language you likHere you can try
This article in C++[
^].