Online learning is a popular option among traditional colleges and it is the foundation of for-profit schools.