W3C home > Mailing lists > Public > www-html@w3.org > January 2004

HTML Multiclassing for CSS

From: Lenny Domnitser <ldrhcp87@yahoo.com>
Date: Wed, 7 Jan 2004 16:19:10 -0800 (PST)
Message-ID: <20040108001910.12935.qmail@web60507.mail.yahoo.com>
To: www-html@w3.org

(X)HTML should have support for multiclassing, which
can deflate code size. It is especially useful when
dynamically changing style through the DOM (i.e. with
JavaScript.) A sample markup snippet would be:

<li classes="nav-item"><a href="section1">Section
<li classes="nav-item,active">Section 2</li>

The only current way to dynamically add a style class
is to replace the existing one, but now a class can be appended.

Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
Received on Wednesday, 7 January 2004 22:26:34 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:07 UTC