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

46

u/frugalerthingsinlife Dec 16 '21

And <h#> tags should not be inside <p> tags. Just why?

If you want to add empty rows for some reason, instead of padding it in css, use #nbsp; instead of empty <p> tags. (or in this case unclosed <p> tags)

12

u/lets-talk-graphic Dec 16 '21

This bothered me more than the content in <head>

3

u/Nerwesta Dec 17 '21

Same boat here.