One is not better than the other. Both kinds of friendships bring their own merits and flavor to your life. Your real-life friends will bring out a different side of you and your online friends will teach you something else.