Hi,
Looks like you are confusing a lot of things! Let's try to clarify things a bit...
HTML is a way to indicate the structure of your website. It tells you that the web site first starts with a header, then a menu, then content, etc. It contains the structure of your website, and the content. For example, the html of
http://glest.org/en/index.php contains "Glest is a free 3D real-time strategy game", among other things (images, other text, etc.)
Next, we use CSS to say how the structure is going to be displayed: "the header is this long, contains this border, and ...". When you have HTML+CSS, you can display pages. Those pages won't change, though. This forum is not only html+css, it also contains code to translate the posts into actual HTML.
JavaScript is another thing: it lets you modify the page once it has been displayed, get new information without refreshing the whole page, put nice animations, etc. Don't try to learn this before understand the basics.
And finally, Java has nothing to do with the above! It's a programming language that has nothing to do with the web, except that you can put actual Java application in web pages. You should not learn Java if you're trying to do some web programming.
Web programming as a whole refers to the programs displaying web pages representing some kind of content. You need more than HTML/CSS/JS to do this: you need something like PHP, or JEE. It's nearly another topic, which you shouldn't try to cover before understanding the HTML and CSS.