'Hamlet' can certainly be viewed that way. Technically, it's a tragedy, because of the deaths, and the shattered romance of Hamlet and Ophelia. However, the play contains significant comedic elements, much more than you'll read about in the average book, or see in the average performance.
Shakespeare's longest tragedy and longest play is Hamlet.
Pile of dead bodies at the end and no weddings equals tragedy.
It's a revenge tragedy.
William Shakespeare
'Hamlet' is in the general category of "revenge tragedy."
Hamlet is a tragedy by William Shakespeare
tragedy
In Hamlet, Lady Capulet adds comic relief to the tragedy.
William Shakespeare's plays are commonly categorised as Comedies, Histories and Tragedies. Hamlet is a Tragedy.
Yes, Hamlet is the surname of the Prince of Denmark in Shakespeare's tragedy, which is also named Hamlet.
Shakespeare's longest tragedy and longest play is Hamlet.
Pile of dead bodies at the end and no weddings equals tragedy.
Hamlet says it to himself in the play: The Tragedy of Hamlet, Prince of Denmarke
Hamlet was the Prince of Denmark, so obviously was not a girl!
tragedy
It's a revenge tragedy.
William Shakespeare