Learning by doing is the best way when it comes to development. The holy trinity of web development is HTML, CSS and JavaScript. If you want to do something more advanced you could also use languages like Python or Ruby.
Do you have a project in mind? It’s much easier to get work done if you have a problem you want to solve.