the 8051 was old microcontroller with less complex architecture and less peripheral. avr is advanced, high performace controller. i suggest you to starting with avr. but if you want learn step by step and want to learn different controller u can strat with 8051.