For HTTP, visit
RFC 2068, http 1.1 spec.
For HTML, visit
W3C, read the sections for HTML and XHTML.
For Socket, just take some Perl book, for example the black book, there are some good stuffs. The latest version of that black book has sections cover socket/http/html etc. That is a good
solution-driven book for newbies.