Category Archives: HTML

Don’t use BR for vertical spacing

Use CSS instead. When <br> is used for vertical spacing it drives me crazy. Among my coworkers it is widely known that I don’t approve of <br> abuse. One recently wrote in a source control commit comment, “Removed some nasty … Continue reading

Posted in HTML, Programming | Leave a comment

More Semantics

Focusing on semantics instead of the technical has application beyond CSS. Amazingly, a few hours after posting my last bit on Semantic HTML, a coworker noted the following in a code review: Small lie: .indent16px{ margin-left: 15px; } I don’t … Continue reading

Posted in HTML, Programming | Leave a comment

Semantic HTML

There’s a lot of literature about “semantic HTML” on the web (here’s one person who writes about it a lot). The best short advice I know of to get jump-started on this topic is from a page on W3C.  I’ve … Continue reading

Posted in HTML, Programming | Leave a comment