I agree that Python is a solid choice to get started, but I want to add something that often gets underestimated: choosing the language isn't enough, you need to understand clearly *what* you want to do with web development because the path changes quite a bit. If you want to do backend, Python with Django or Flask is perfect. If you want to do frontend, you'll end up having to learn JavaScript anyway, so maybe starting directly with that could make sense too. That said, if you want a less frustrating progression, Python is definitely more forgiving for people starting from scratch.
As for study method, forget about random YouTube tutorials with no logical thread. Find yourself a structured course (like the ones on Codecademy, freeCodeCamp or even Udemy if you pick one with good reviews) that guides you step by step from basic concepts to something concrete. What bugs me is when people start programming without doing exercises: you need to *write code*, not just watch. And make mistakes. A lot. It's the only way to actually understand what's happening.
Once you know the basics of Python (variables, loops, functions, maybe a bit of OOP), you can start getting your hands dirty with real stuff like a small web project. At that point you'll see if backend actually interests you or if you'd rather do something else. Anyway, don't expect to get good in a few months: programming is a skill you build over time, and in 2026 like it's been for the last 16 years, it's always been that way.