The short and most common answer is, in general, yes. However this is not such a simple question to answer and more information is needed to understand how online degrees are regarded.
A few years ago and the answer to this question would most probably have been a firm no. That was because at that time online degrees were relatively new and therefore seen as experimental and unproven. In today's world however online degrees have now been around for a while and many studies have been carried out on them and shown that they are generally just as high a quality and standard as traditional degree courses, therefore making them that much more acceptable.
Unfortunately not all online degrees are seen as equal and there are factors that affect how well regarded your particular degree is. Perhaps the most important factor in having your degree recognised is whether the school or university you got the degree from is accredited or not. This is important as it means that your degree will be seen to measure up to a certain standard and to be of a high quality if it came from an accredited school.
A less important but notable factor in the acceptance of your degree is what subject your online degree is in. Some subjects, such as IT, are more likely to be well regarded if they were earned online due to the very nature of the subject and the methods used in the teaching of it. Whereas courses such as counselling or hypnotherapy tend to be less well accepted if earned online due to the perceived lack of social contact and interaction that would be usually present in a traditional course. However this tends to be less of an issue nowadays as due to the improvements in technology online degree courses often incorporate lots of virtual social interaction and engagement.
One thing to consider is that when you have earned your online degree you will most likely discover that on the certificate it doesn't mention anything about having been taken online. Most people who look at your certificate will just assume that it came from that school or university and was earned in the traditional way, however if they ask you should point out to them how you actually studied the course. In most cases it won't matter how you were taught, it will be the name of the school or university that will be the main interest to the employer and that's why you should learn with a well-regarded school.
Today employers and institutions understand that some students often have to work full-time or look after a family and are therefore unable to go out and earn a traditional degree. They often admire people who got their degrees online while having other commitments as it shows that they are dedicated and determined individuals. To achieve an online degree proves that, rather than taking the easy option, those people that do it are highly organised, hard-working and self-motivated and that should be just the type of person an employer wants.
So to ensure that your online degree is as valid and widely accepted as possible you just need to check the following points:
If you are still worried if your online degree will be accepted you can always first check with possible employers or institutions as to how they regard such degrees before you undertake one. In general online degrees are an acceptable and well-regarded alternative for people who don't have the time or opportunity to attend traditional universities and are rapidly growing in both popularity and validity.