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.
500
Upvotes
View all comments
Show parent comment
11
u/[deleted] Dec 17 '21
When I started we relied on those quirks to get around browser incompatibilities. Browsers back then had custom browser specific CSS so if you wanted to do something like rounded corners you would have to list every browser's CSS style tag and a regular border at the end as a fallback for older browsers. If a browser didn't recognize a style it just ignored it and went to the next one.