Manuel Gonz�lez Noriega wrote:

i want to comment on Matthew Thomas' 'When semantic markup goes bad' http://mpt.net.nz/archive/2004/05/02/b-and-i

The way i see it, if you need an new html element that is not available,
you use 'span+appropiate identifier'
[snip]

The article isn't about "keep using b and i".
It's about using the right tag for the job.

He speaks about these tags too:
* cite,
* dfn,
* samp,
* var.

Those are sometimes forgotten.

I sympathize with Matthews view.
b and i have their place.

IMHO I don't see what would be wrong with:
<b class="vector">R2</b>

If and only if all these are true:
* You think a "vector" is something special;
* There is no vector-tag;
* Vectors are usually written in bold.

Your stylesheet doesn't change:
.vector{
  font-weight: bold;
}

And if the b tag is deprecated you just use a regular expression to change each b-tag to a span tag.

Remember that stylesheets add something for those browsers that support them. You should write your (x)html in such a way that the stylesheet isn't needed to understand the content.

All of the above is IMHO.


-- Kristof ***************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help *****************************************************



Reply via email to