Your question is not so clear. It's not clear, what exactly you are trying to acheive.
Are you trying to develop just a regular website or a website where you can post your code?
Following are some guidelines to get started, from what I know about web programming -
1. You must know some - HTML (XHMTL), CSS, and Java. If you are really a beginner then I suggest you go to http://www.w3schools.com
, and learn about these. These are the stuffs that are delivered to the client machine.
On the client machine, bowser loads the HTML and renders your page.
Java is the part of your program that runs on the browser. Mostly, you will be writing java functions, that are either called by some other java functions or by the browser when some events occur on your page (e.g. click event...).
CSS is used to apply styles to your HTML elements. e.g. <div>, <p>, ... are the HTML elements and you use CSS to apply styles like color, backgroundcolor, font-size, etc. etc. to those elements.
2. What language are you planning to use for server-side programming? It can be PHP, J2EE, etc. These are the tools that are specially designed to ease your web programming tasks. You use one of these to write your program that runs on the server machine. If you know nothing about programming then these can be really hard to understand and learn. But if you have done some programming (like desktop application programming), then you should be good to get started. E.g. if you have done some Java then you can go with J2EE.
And following are some points to remember, that might help you while you are learning web programming (if you are really serious about it) -
1. In the context of web application, there are always two machines involved. Client and Server. It's good to know, what runs on the server and what on client.
2. Request, Response and Session. These are really important terms when we are talking about web applications. The more familiar you are with these terms the easier it will be for you to learn other advanced stuffs. These the very basic, but kind of like foundational stuffs, other advanced stuffs are build around them.
These are some basic and very general ideas about web programming. But if you keep these things in mind then it might keep you from being lost while you are learning.
Best of luck.
For others who are reading this, these came right off the top of my head, if you find any mistakes then please point them out and put your suggestions, it will helpful for me and everybody else trying to learn.