You will create a standard TCP listener socket and configure it accordingly.
When a browser attempts to navigate to the IP address and port, the browser sends a HTTP 1.1 GET request. Your java program must interpret the request string and respond accordingly. Your response must contain a properly formatted HTTP 1.1 response followed immediately with the HTML.
EDIT: In your comments above, in the GET request you see the / is the path of the file you wish to locate. For example, by default the browser sends just a / so you should respond with the contents of index.htm file because index.htm should be the index right? So code it that way!
If it is a requirement (lol) you will make the TCP socket on a finite number of threads (so you should create a custom class for this) so multiple browsers can access your server at the same time.
Happy coding
Here is a link to help you figure out HTTP requests