With the Internet taking a larger role in the lives of people and companies every year, the incentives to become a web developer become even larger. Web developers usually make a good salary, get to work in relatively dynamic situations, sometimes are able to telecommute, and are part of a cutting-edge movement in technology. There are many different tools available for the aspiring web developer, and the route you take depends on your personal inclination and what path you want to pursue.
The most obvious route to take to become a web developer is to attend a traditional four-year university and get a major in computer science, with a focus on web development. Although many people choose this route, the fast-paced nature of the Internet can sometimes mean that the technologies you study will shift during the time you're in school, so your learning needs to continue even after graduation. Attending college for web development is often best for those who are pursuing a job with a large company that places an emphasis on formal education.
A secondary route to a web development career is to attend a vocational school that focuses on this field. Although often not as prestigious as attending a four-year university, vocational schools often allow students to focus exclusively on development, without having to fulfill any other requirements. This means that the number of hours you'll spend studying web development relative to the program length is much higher than at a university.
One of the most common routes to become a web developer is self-directed study. There are many resources available for those who want to study any aspect of web development, and large communities have grown up around supporting and tutoring those who want to join. While some of these online classrooms charge a fee for their services, the vast majority are free, supported exclusively by advertising or run by people who simply want to share their knowledge.