4 ms·
Don't speak ill of people with <font> or <center> infatuation as HN is built on these tags. At the time of writing this comment, there's around 300 <font> tags
by timepiece 12y ago
Don't speak ill of people with <font> or <center> infatuation as HN is built on these tags. At the time of writing this comment, there's around 300 <font> tags on the page and over 100 <center> ones
So, basically watch what you say buddy :)
- Stormcaller 12y ago<font>, I don't think there's an excuse. we know for sure that it is not out of incompetence but it was probably easier to write at the time and nobody bothered to fix it because it doesn't really matter. For the <center>, it is probably not the case here as this is just a text based site but sometimes it is easier to center an image by that tag when your site is partitioned in many margins it is not as easy to center some stuff, or you might just prefer to add a tag. I also like <br>, it really makes more sense to me and easier to write. It doesn't really break anything either. I wonder how many there are, like me, think that <center> and <br> are actually really nice things to have?
- timepiece 12y agoNot many but they're deprecated/obsolete for a reason, don't you think?
- SamReidHughes 12y agoThere's nothing wrong with font tags on HN. You might not realize that the pages served on this site are machine-generated!
- Stormcaller 12y agoI agree. Its just they could add a class to css, and instead of setting font tag to each element, just add the class. But of course, since they are generated in a loop anyway, there's no practical difference.
- Mahn 12y agoJust clicked "view source" on this page out of curiosity. I feel like I just traveled back in time to 1996.
- jkoudys 12y agohacker news is predominantly pre-CSS style code, e.g. the only CSS seems to be basic fonts and the upvote arrow, both of which the site would barely be different if run without CSS. Here's their only stylesheet: https://news.ycombinator.com/news.css?vaRvmIYYFOCsNxY80y43 https://news.ycombinator.com/news.css?vaRvmIYYFOCsNxY80y43