|
Posted by Ben C on 11/14/07 21:36
On 2007-11-14, Jukka K. Korpela <jkorpela@cs.tut.fi> wrote:
> Scripsit John L.:
>
>> richard wrote:
>>
>>> You show <div class="center"> as well as <div id="center">.
>>> It is also not a good idea to use "tag words" as names. If you
>>> insist, use something like "acenter" and "bcenter".
>
> That was clueless, not unexpectedly considering the posting history.
>
>> Using '.center' is fine because <center> is a deprecated
>> presentational element and shouldn't be thought of as a tag at all.
>
> That wasn't much better. You give advice on HTML in public but cannot even
> distinguish between elements and tags. Moreover, using "center" as a class
> name is basically as presentational as <center> or <div align="center">.
> Actually the so-called deprecated markup alternatives are better because
> they are more honest: the say, in HTML, what presentational effect is
> desired, whereas class="center" assigns just a class name, with no meaning
> defined in HTML, and not suggestive of _semantics_ to a human reader.
I'm all in favour of honesty, but <center> and align="center" are
perhaps less likely to be supported in newer and/or future browsers
(surely that's part of the sense of "deprecated"?)
Navigation:
[Reply to this message]
|