Online learning, or virtual classes offered over the internet, is contrasted with traditional courses taken in a brick-and-mortar school building. It is the newest development in distance education that began in the mid-1990s with the spread of the internet and the World Wide Web.