For-profit institutions experienced a decline in enrollment while nonprofit institutions enroll more undergraduate and graduate online students.