Hello,
If I understand what you are saying, you have written the program that will respond to HTTP requests by serving the requested content. However, the output looks much as it would if you went to a command prompt and typed
telnet google.com 80
GET /
That is, a text stream that is exactly the same as the HTML page that is being served.
Guess what--that is exactly what a web server is supposed to do! If your goal was to create a web server, you can stop now.
It sounds like you actually want to write a web browser--a program that will request HTML documents from your web server, and render them as Firefox or Internet Explorer would. Is this what you are looking to do?
If so, that is really quite an undertaking--it will involve sending requests to your web server, parsing through the text stream you receive from it, and rendering the text accordingly.
Big undertaking. Really big.