What genres of plays did William Shakespeare write ?

What genres of plays did William Shakespeare write ?

A. Tragedies
B. Comedies
C. Romances
D. All of the above