I want to write simple web browser but i don't know how to do that . I think i must send to server some code and they send me back a html code .Am i right? If yes then what code i must send?
Never mind actually connecting to a server just yet, theres libraries that do that for you that are within easy reach.
Have you considered how you are going to render the actual web pages?
Start off with an engine that renders HTML pages first, then you have a way of testing this actual request when you get a response.
Also, consider the size if the project that you are undertaking, you have to cater for EVERY HTML element and attribute, EVERY CSS style, Javascript... the list goes on and on....