This depends always on capabilities of each person since not everyone is skilled to get a work from home job. This is really ideal if we talk about comfort since we can enjoy our lives without getting stress on site ambiance. Also maybe there's no comparisson posted by OP but rather he might telling the convenience working at home compare if you work with what you said or inside a cubicle on office.
In salary terms we cannot deny the fact that working online gives higher compensation compare to offline works.
darn useless.This is why it would really be just that right that you should really be that prepared if ever you would really be making up some transition from offline to online things but you can really still able to engage up into something online without the need on quitting up your day job. As some sort of being a side income then you could always able to choose on which one would fit out into your capability and its true that not all people would be having the same knowledge into various things.This is why it would really differ out.
Earning online though could really be more than on what you do earn with your dayjob and this what makes people would be eager on getting one and would decide on getting full time.