Michael Smith wrote:
> The var element is not a monospaced style. It's typically
> rendered in italic (non-monospaced). Which makes it inappropriate
> for marking up programming variables or program arguments.
The var element is not a style element, period. The problem is that
you're using semantic elements (var, code, strong, em) as style
elements. That's just as wrong as using b and i. In fact, it's more
wrong because at least b and i aren't actively misleading.
If the goal is to avoid presentation based markup, then the HTML element
names should be picked based on the appropriate semantic match. When
there is no such match, use <span class="whatever"> and add styling via
CSS.
--
Elliotte Rusty Harold
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim