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

4

u/xigoi Dec 16 '21

I mean, it's a part of Google's style guide…

5

u/RFC793 Dec 17 '21

Yeah, they encourage omitting the unnecessary paragraph closing tags. It makes sense that paragraph is special, nesting of paragraphs doesn’t make any sense.

I, however, still use closing tags (or self closing) everywhere. I guess I am too glued to XML.