The first thing you have to learn, is HTML, which is the standard markup language for creating web pages.
The next step is to learn CSS, to set the layout of your web page with beautiful colors, fonts, and much more.
After studying HTML and CSS, you should learn JavaScript to create dynamic and interactive web pages for your users.