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

No, people remember which elements self-close by remembering which elements can’t have meaningful content. In the days before XHTML, approximately nobody was confused about the distinction of which elements are self-closing and which have content.


Yet you can still apply styles - to an extent - to most of these. Even just margin/padding will affect many of them.




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

Search: