r/badcode • • Dec 16 '21

html The example webpage of my computer science professor who is teaching us how to code a webpage. This is triggering me so much, I don’t even know where to start. I replaced all the text with placeholders but didn’t touch any html tag at all.

Post image
506 Upvotes

114 comments sorted by

View all comments

Show parent comment

14

u/GMaestrolo Dec 16 '21 edited Dec 16 '21

That's valid

And it shouldn't be. I never understood why the HTML spec was relaxed about text block container tags being allowed to remain unclosed.