not less valid, but theres def a stigma that comes with online classes/GED's. youre regarded by both employeres and colleges as less motivated compared to normal graduates. with colleges, youll have to overcome an extra obstacle by proving yourself with your essay and act/SAT scores. with employers, they might not even ask you in for an interview if they see you just have you GED and a pretty average college record (depending on the job of course)
it also depends on how many online classes your taking. like if your only taking online classes and basically being homeschooled, it probably doesnt look as good. but if youre taking like two online classes and theyre AP or college level classes like perry said, that looks better.