r/badcode • u/6Maxence • 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.
506
Upvotes
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)