Learn them all! Get a good networking book, learn how the internet and web servers work, the learn about server side stuff through PHP. This will teach you a lot because you'll learn to set up and administer your own web server (on localhost). Then when you want to pretty your sites up, learn Javascript.
And if you don't know HTML and can't pick it up in 10 minutes, wtf are you doing on a C++ board?