Re:Plugging a 1986 Mac Plus into the Modern Web (2013)
by lisper on Monday March 23, 2015 @01:56AM
(#9249655)
> there's quite a lot of value in defining your markup in terms of semantics and then separately defining what you want those semantics to look like
I completely agree. But HTML+CSS does not achieve that goal, at least, it didn't when that post was written.
So, there's a major difference between using font-family and a <font> tag, and a major difference between using display: table* and <table>/<tr>/<td> tags. And for the same reason, you shouldn't use class="sidebar" if what you mean is class="navigation" (or for that matter <nav>). Let alone class="big-red-button" when what you mean is class="delete".
To use an example from that article: sure, <p> is not as semantically significant as <section> or <h1>, but it's a lot more semantic than, say, <br/><br/>, which I've seen used between paragraphs. "This is a paragraph" is more semantically useful than "this has an indent on the left and 1.4x line spacing"; "this is a heading" is more semantically useful than "this is 24pt and bold".