by oneeyedpigeon · 11y ago · 0 comments
<font color="#ff0000">hello, world</font>
is non-semantic because it's referring purely to presentation, rather than meaning. I'm not just being obtuse, this is a real-world requirement since our editors need to be able to mark things up according to meaning, but not randomly screw around with our design. I admit there's a blurry line, exemplified by the W3C's redefinition of the 'b' element.It's always worth asking the question: "semantic for whom"? i.e. who is the consumer. That clears away a lot of fog.