Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Because it is not a table, it displays in a tabular fashion (for certain user agents).

I always failed to understand what is hard about the _being_ something vs _being displayed_ as something. I have met so many smart people just failing to grasp this simple dichotomy.

For the sake of public education, here is an example from the article. H1 is for (document) titles, and is so used by auto outliners and Google and Pocket. Document titles are document titles regardless of the way your page is displayed (user agent or current style fashion). If you want to display bigger just use "font-size".



I know, right? I even had a designer implement a table of prices for a page with divs, because "tables are evil". I guess he had only heard of the first half of the admonition "never use tables for layout".




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: