[whatwg] rel/rev for <form> ?
lachlan.hunt at lachy.id.au
Tue Nov 8 20:30:55 PST 2005
Mike Dierken wrote:
>> The use of 'class' for presentation is wrong anyway (and
>> hopefully obsoleted in HTML 5). And yes, although it is named
>> incorrectly, the attribute can take multiple, space-separated, values.
> Not. For. Presentation. ???
> Could you explain? I use that to map to CSS all the time. What am I doing
He meant that the class names used should not be used to describe the
presentation, but rather describe the semantics. It is, however, ok to
use stylesheets to add styles based on the classes.
eg. These are bad practice:
<span class="bold red-border">
<div class="big bold">
These are better:
<h1 class="title"> (or simply <h1>)
More information about the whatwg