In my opinion, it depends a lot on the age of the students, for elementary students, it must be more important having presential classes, not only for understanding subjects but knowing about how to socialize and the environment around them, unlike college students who have a pretty established lifestyle and learning methods, online is more comfortable and open up a diversity of opportunities.
The only disadvantage is that it is harder to acquire practical knowledge where are needed very specific spaces or tools.