Hacker News new | past | comments | ask | show | jobs | submit login

This article falls for one of my major designer pet peeves: using heading tags as style tags.

Having a fixed relative ratio of font sizes for h1-h6 makes no sense because heading tags (as all html) are structure, not style. They are used to indicate the relative importance of heading text within a page and/or section, and should have a semantic css class appropriate to their role applied.

Depending on how a page is structured, a h2 may be a section heading, or an article heading, or a page sub-heading, or many other things, and each of those roles may call for very different styling relative to a h1 page heading.




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

Search: