An assignment for my students will be to create an eBook from a Shakespeare play. I thought I should go through some options of how a play could be marked-up with HTML5 and styled with CSS.
The texts of all of Shakespeare's plays are in the public domain and available from the Project Gutenberg web site as well as some other locations. The quality of these texts is variable.
I have tried various ways to use appropriate HTML, and it was not my intention to reproduce anything like the the First Folio that you see here, but rather make it clear which character is speaking which lines.